Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-29-2003, 08:53 AM   #1
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
Unhappy having toolchain trouble (gcc/ld/glibc)


I have trouble with setting up a working toolchain on my system.
I compiled gcc/ld and glibc on the same pc, but in a non-standard dir (/xyz)

Now, if I use command line options to tell ld/gcc to use the libdir /lib instead of /xyz/lib, everything works and compiles fine. But when I try to use ldconfig to change this behavior PERMANENTLY, it doesn't work.
Threre is no ldconfig error message. It simply quits and doesn't work. (strange?!? )

Does anyone know how to set up ldconfig/ld/gcc/glibc to use the dir /lib instead of /xyz/lib????

Old 10-29-2003, 06:21 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,661

Rep: Reputation: 229Reputation: 229Reputation: 229
"how to set up ldconfig/ld/gcc/glibc to use the dir /lib instead of /xyz/lib????"

Try making /xyz/lib a symbolic link to /lib.

Be prepared. Create a LifeBoat CD.

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i install gcc glibc etc. amolgupta Linux - Software 1 05-29-2005 02:19 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
gcc glibc compatibility shanenin Linux - Software 2 05-17-2004 09:56 PM
gcc 3.4.0 and glibc ralam Linux From Scratch 8 05-06-2004 12:19 PM
bulding a gcc toolchain with uclibc behmjose Programming 1 02-29-2004 09:54 PM

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration