Synopsis: ld(1) can't find libs in /usr/local/lib but ldconfig(8) can

State-Changed-From-To: open->suspended
State-Changed-By: vwe
State-Changed-When: Thu Aug 12 21:01:25 UTC 2010
State-Changed-Why: 
Oscar,
the answer to your problem is in the output you were quoting:
"SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");"
Just give ld(1) the additional search path using -L and you're done.
The optimal place to set -L is in your makefile. It often works that way.
AFAICT there's no ld.so.conf support for fbsd. 


Responsible-Changed-From-To: freebsd-bugs->vwe
Responsible-Changed-By: vwe
Responsible-Changed-When: Thu Aug 12 21:01:25 UTC 2010
Responsible-Changed-Why: 
track

http://www.freebsd.org/cgi/query-pr.cgi?pr=144313
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to