[Wylug-help] ld needs lib_nonshared.a

Andreas Erbe phyae at phys-irc.leeds.ac.uk
Fri Apr 22 15:05:07 BST 2005


> Solution
> Anyone know how to use the environment to force ld to find lib_nonshared.a
> ? (so I can at least get to the next hurdle ;) ) 

Hm, cant you use ld -l/mnt/rw/discs/disc0/part2/lib/lib_nonshared.a 
otheroptions (or ld -L/mnt/rw/discs/disc0/part2/lib/ otheropt)?

Your error message 

> "can't find /usr/lib/lib_nonshared.a"

apparently indicates that it searches the wrong directory - is 
$LD_LIBRARY_PATH only used for shared lib's? 

Good luck, 

Andreas. 



More information about the Wylug-help mailing list