[EMAIL PROTECTED] /geda-gschem-20060123]# rm ./conftest
[EMAIL PROTECTED] /geda-gschem-20060123]# cc -o conftest -g -O2 conftest.c 
/usr/bin/ld: cannot find -lstroke
           ^^^^^^^^^^^^^^^^^^^^  -- why???            <<<
[EMAIL PROTECTED] /geda-gschem-20060123]# ldconfig -r|grep stroke
        441:-lstroke.0 => /usr/local/lib/libstroke.so.0
        442:-lgstroke.0 => /usr/local/lib/libgstroke.so.0
[EMAIL PROTECTED] /geda-gschem-20060123]# cc -o conftest -g -O2 conftest.c 
-L/usr/local/lib -lstroke
[EMAIL PROTECTED] /geda-gschem-20060123]# ll ./conftest -rwxr-xr-x 1 root 1000 5594 May 9 04:06 ./conftest*

Am I missing something here?

FreeBSD's linker doesn't add /usr/local/lib to the search path by default, unlike some other operating systems. The "-L/usr/local/lib" flag is therefore required...


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to