LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2006, 04:09 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
cannot find libdb-4.4.so


guys i need your opinion, i use slack10.2 to install my apache 1.3.34 (package from the slacksite) but when i was about to start it,(running etc/rc.d/rc.httpd start) here was the message:

error: cannot find standard object file: libdb-4.4.so
/usr/sbin/apachectl

i already looked at the site, (http://sourceforge.net/projects/libdb/).

but the version located at the site is 0.3,,
 
Old 03-09-2006, 04:42 AM   #2
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
I guess you are trying to install Apache from current? Apache in 10.2 is linked against db 3.3. Install the package from 10.2, and the db3 package (should not be necessary, since it is also in aaa_elflibs). If you upgraded to -current, install the db4 package.
 
Old 03-09-2006, 02:11 PM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
where can i get that libdb?
 
Old 03-09-2006, 02:34 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
http://slackware.it/en/pb/package.ph...-4.4.20-i486-1
 
Old 03-09-2006, 02:41 PM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
1. hmm is this the thing i needed?

2. how will i install this? using installpkg ..right?
 
Old 03-09-2006, 03:27 PM   #6
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
exact error mesage: libdb

root@darkstar:/etc/rc.d# /etc/rc.d/rc.httpd start

/usr/sbin/httpd: error while loading shared libraries: libdb-4.4.so: cannot open s hared object file: No such file or directory

/usr/sbin/apachectl start: httpd could not be started

root@darkstar:/etc/rc.d#


guys that was the exact error message... any suggestions?
 
Old 03-09-2006, 06:03 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,686

Rep: Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801
have you run ldconfig after installation??
 
Old 03-10-2006, 04:07 AM   #8
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
no, not yet.. i stopped when that error message came out.. m still in the process of finding the solution here and in google.
 
Old 03-10-2006, 09:17 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,686

Rep: Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801Reputation: 1801
well, perhaps that's the problem, you haven't run ldconfig to tell your system that you have installed a new library. usually ldconfig will be executed at boot time, but in case you have just installed a new library, it's wise to call it again, since you are going to use the new library right away
 
Old 03-23-2006, 05:42 AM   #10
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
how will i do that? pls help
 
Old 03-23-2006, 10:53 AM   #11
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Code:
ldconfig
 
Old 03-23-2006, 01:53 PM   #12
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by jong357
Code:
ldconfig

i have already restarted my X but still, apache does not start
 
Old 03-23-2006, 03:46 PM   #13
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
mistake on using package build number

Package apache-1.3.33-i486-1 upgraded with new package ./apache-1.3.34-i486-2.tgz. i have committed a mistake... the package that i upgraded was for the CURRENT slack, it should be (-1).tgz NOT (-2).tgz NOW my apache has been started.. ( i got the right package using gftp)

lesson learned: don't just install package with same filenames ....check for its version.

Last edited by ic_torres; 03-23-2006 at 03:48 PM.
 
  


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
Trying to download/install libdb.so.3. stakhous Linux - Software 1 04-24-2004 06:22 PM
libdb-3.1.so glock19 Linux - Software 1 10-10-2003 02:04 PM
problem with libdb.so.3 vova Linux - Software 1 09-14-2003 04:44 AM
rpm and libdb-3.31.so ctwarchol Linux - General 4 10-05-2001 09:58 AM
error while loading shared libraries: libdb.so.3: HELP PLEASE! eddiek Linux - Software 1 09-30-2001 04:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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