linker wiredness?

soralx at cydem.org soralx at cydem.org
Tue May 9 11:16:26 UTC 2006


[root at soralx /geda-gschem-20060123]# rm ./conftest
[root at soralx /geda-gschem-20060123]# cc -o conftest -g -O2 conftest.c -lstroke
/usr/bin/ld: cannot find -lstroke
>>>            ^^^^^^^^^^^^^^^^^^^^  -- why???            <<<
[root at soralx /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
[root at soralx /geda-gschem-20060123]# cc -o conftest -g -O2 conftest.c -L/usr/local/lib -lstroke
[root at soralx /geda-gschem-20060123]# ll ./conftest           
-rwxr-xr-x  1 root  1000  5594 May  9 04:06 ./conftest*

Am I missing something here?

P.S.: plz CC to me, as I'm not following -questions.

Timestamp: 0x44607809
[SorAlx]  ridin' VN1500-B2


More information about the freebsd-questions mailing list