Rod Evans wrote:


I'd have thought things could be simpler by adding:

        -L usr/local/mysql/lib -L /usr/local/lib

to the link-edit command line (LDFLAGS?).

And don't forget, LD_LIBRARY_PATH is recognized by the runtime linker (ld.so.1) too. Thus you are forcing all commands executed within this environment to
search for their runtime dependencies in the LD_LIBRARY_PATH directories.

There again, perhaps you need the LD_LIBRARY_PATH to execute commands as
part of your build ... what do I know :-)


Isn't that why you also set the RPATH? In this example it would be ...

-L usr/local/mysql/lib -L /usr/local/lib -R /usr/local/mysql/lib -R /usr/local/lib


_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to