linux-l: Probs beim Linken

Philipp Grau phgrau at ns.tfh-wildau.de
Mi Aug 12 10:10:50 CEST 1998


Hallo Belugs,

ich habe da ein Problem beim linken von Programmen:

Wenn ich mit "gcc [bla fasel] -L/usr/lib -lfoobar"
die Lib foobar an mein Programm linken will motzt der
Linker:

/usr/bin/ld: cannot open -lfoobar No such file or directory

Ein "ls /usr/lib/libfoobar*" sagt aber:

libfoobar.so.0 libfoobar.so.0.2.0

Wenn ich jetzt ein "ln -s libfoobar.so.0.2.0 libfoobar.so"
mache geht es! Ist das eine Sache die ich mit ldconfig, oder 
gcc-Parametern irgendwie beeinflussen kann??

Any hints are welcome!

Philipp

-- 
      Ph. Grau <phgrau at wi-bw.tfh-wildau.de> Technische FH Wildau
                     Wildau, Brandenburg, Germany





Mehr Informationen über die Mailingliste linux-l