LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-09-2004, 12:30 PM   #1
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
grip library dependency - can't resolve


can anyone help me with this compile problem? grip won't make, and i can't find what i need to satisfy the dependency. the only thread on LQ with libd1 is one where finegan mentions it once as part of some other thing, and the grip mailing list hasn't sent me the confirmation email yet for me to ask them there.

i searched my hard drive with find and locate (after an updatedb) for 'ldb1' and came up with nothing. so it looks like it's not even on my system for me to change the compile path. i'm stumped.

here's the error message:

/usr/lib/gcc-lib/i486-slackware-linux/3.3.2/../../../../i486-slackware-linux/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
make[2]: *** [grip] Error 1
make[2]: Leaving directory `/home/sero/dload/progs/grip-3.0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sero/dload/progs/grip-3.0.7'
make: *** [all-recursive-am] Error 2

many thanks!

>edit: i'm upgrading gnome now through the dropline-installer to see if that fixes it...

Last edited by synaptical; 02-09-2004 at 12:38 PM.
 
Old 02-09-2004, 02:25 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The db1 library is a standard library which probably *is* installed but not properly configured. Try doing a ldconfig -v | grep db1 and look at the output. If you don't get any output but do have libdb1.* files in /usr/lib you could try creating a couple of symlinks.
First ls -l /usr/lib | grep db1 to see what db1-related stuff you have there. If you have libdb1.so.2 (or any other version) you can create links named what the program expects:
cd /usr/lib
ln -s libdb1.so.2 libdb1.so
ln -s libdb1.so.2 libdb.so


Then run ldconfig as root and try building your app again. If it still doesn't work you probably have a pretty serious problem since libdb1 usually comes with (g)libc or gettext, both critical parts to a functional development system.


Håkan
 
  


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
Error: Unable to resolve GL/GLX symbols - please check your GL library installation. Dquest Linux - General 8 11-02-2005 06:31 AM
Library Dependency H*ll springshades Linux - Software 1 07-18-2005 07:57 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 10:03 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 05:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 10:18 PM


All times are GMT -5. The time now is 12:44 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