LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ld uses wrong file (https://www.linuxquestions.org/questions/linux-software-2/ld-uses-wrong-file-107223/)

zoomzoom 10-22-2003 01:52 PM

ld uses wrong file
 
Hi,

when I try to compile sth. with gcc/ld, it says: "/sbin/ld: /xy/libc.so.6 not found". Now because of this I want ld to use the file "/lib/libc.so.6" (which exists ;)) instead.

How can I do this?

thx
CU

trickykid 10-22-2003 01:54 PM

Create a symlink or add the path to your ld.so.conf file.. then run ldconfig to update.

Cheers.

zoomzoom 10-22-2003 02:52 PM

cool thank you :)


All times are GMT -5. The time now is 06:01 AM.