Tuc at T-B-O-H.NET wrote:
> <snip>
> himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf
> work/bdftopcf-1.0.1/bdftopcf:
>       libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x28080000)
>       libc.so.5 => /lib/libc.so.5 (0x280e6000)
> 
>       WHY when the cc step is stating -L/usr/local/lib is it bring the
> Xfont from /usr/X11R6/lib?
> 

Because /usr/X11R6 is a symlink to /usr/local, and both appear in the
library path hints, so the first one listed gets used when resolving the
library paths at runtime.

(Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r')

-- 
Fuzzy love,
-CyberLeo
Furry Peace! - http://www.fur.com/peace/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to