I am using -rpath-link with ld when creating a shared library that needs some symbols from other shared library that is not in a default place (for example, if I am creating it as part of my build process).
My question is, why isn't the -L option allowed to have this functionality? why does ld need an extra option to do this?