LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2007, 10:33 PM   #1
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Rep: Reputation: 15
updating /usr/bin/ld path ???


I want to set the path /usr/bin/ld looks at on mac OS X 10.4.9, and I don't know what I need to change.

Thanks for any help in advance!
 
Old 03-21-2007, 12:19 AM   #2
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
You mean that is different than in gnu/linux?
Not in /etc/ldconfig or /usr/etc/ldconfig ?
 
Old 03-21-2007, 01:03 AM   #3
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Original Poster
Rep: Reputation: 15
well, I didn't know if it was different than in gnu/linux, I've never altered the path /usr/bin/ld looked at. but no, those directories don't exist on my macbook.
 
Old 03-21-2007, 01:05 AM   #4
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Excuse my "altered" memory : /etc/ld.so.conf

EDIT:
Or: /usr/etc/ld.so.conf
Or: /sbin/ld/etc/ld.so.conf

Last edited by runnerfrog; 03-21-2007 at 01:10 AM.
 
Old 03-21-2007, 01:11 AM   #5
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Original Poster
Rep: Reputation: 15
lol no problem.

nope, there's no ld.so.conf or ld.conf file anywhere on my machine. perhaps it's a .cshrch file?
 
Old 03-21-2007, 01:30 AM   #6
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
So I screwed up because I didn't read or payed any freaking attention.

Something like:

Quote:
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
is located in your user or in your system profile: like /etc/profile.
 
Old 03-21-2007, 11:13 PM   #7
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Original Poster
Rep: Reputation: 15
thanks a ton! the /etc/profile did the trick. just had to modify it to look under another directory
 
  


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
what is difference between /usr/bin/7za /usr/bin/7z fakie_flip Linux - Software 9 08-14-2006 09:22 PM
Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs HellSpawn Linux - Software 2 06-04-2006 09:18 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM
/usr/local/kde/bin in PATH aeshley Linux - Newbie 2 05-23-2002 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:55 PM.

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