LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 01: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, 02: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, 02: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 02:10 AM.
 
Old 03-21-2007, 02: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, 02: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-22-2007, 12:13 AM   #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


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
what is difference between /usr/bin/7za /usr/bin/7z fakie_flip Linux - Software 9 08-14-2006 10: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 10: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 02:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 11:57 AM
/usr/local/kde/bin in PATH aeshley Linux - Newbie 2 05-23-2002 05:04 AM


All times are GMT -5. The time now is 05:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration