Or instead of modifying gcc's setup, just use:
-I/usr/pkg/include
Also add:
-Wl,-R/usr/pkg/lib
Or you can use LD_LIBRARY_PATH environment variable. See ld-elf.so(1) man
page.
Or setup your /var/run/ld-elf.so.hints ELF hints file using ldconfig and
/etc/ld-elf.so.conf. See ldconfig(8) man page. And see /etcv/rc.d/ldconfig
man page and settings from /etc/defaults/rc.conf.
I don't think you should use the ldconfig way though.
Jeremy C. Reed
echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'