LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

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????

CU
 
Old 10-29-2003, 06:21 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 AM.

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