LinuxQuestions.org
Review your favorite Linux distribution.
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 10-06-2003, 06:20 PM   #1
MOCKBA
Member
 
Registered: Oct 2003
Location: Moscow
Distribution: Ubuntu
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
ld options help needed


ld program failed to find a library. I have an option like -ldb-4.1, I have db-4.1 unde /usr/local/BerkeleyDB4.1/lib. How can I tell ld to look for the library in /usr/local/BerkeleyDB4.1/lib?
 
Old 10-06-2003, 06:39 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Rep: Reputation: 55
I believe you want to enter the line:

/usr/local/BerkeleyDB4.1/lib

at the end of /etc/ld.so.conf

HTH
 
Old 10-06-2003, 07:21 PM   #3
MOCKBA
Member
 
Registered: Oct 2003
Location: Moscow
Distribution: Ubuntu
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thank you, it worked. Is there something similar for include files?
 
Old 10-06-2003, 08:48 PM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Rep: Reputation: 55
Ya got me there. Can you give me an example?
 
  


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 are my other options? JiggaJerry Fedora 15 03-21-2005 03:53 PM
A cluster options?? JonChristmas Linux - General 1 09-26-2004 05:16 PM
Disapearing Options? noloco Linux - Newbie 1 02-19-2004 10:06 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM
options? Bullzeye Debian 1 08-27-2003 05:14 AM

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

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