Can I stop linking the same library twice?

Philipp Thomas Philipp.Thomas2@gmx.net
Tue Dec 15 12:39:00 GMT 2009


On Sun, 13 Dec 2009 23:36:43 +0000, you wrote:

>What could you do if the system supplies a library, but it's not the latest 
>release, and you need the latest?

Either explicitely link in the static version of said library or
install the dynamic library somewhere else and link it in by passing
the path to ld via -L and then adding said library to the users
LD_LIBRARY_PATH.

Philipp



More information about the Gcc-help mailing list