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 04-21-2008, 09:15 AM   #1
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Rep: Reputation: 0
Question "db 1.85 compatibility mode" issue - db42-4.2.52-20.2 and db1-1.85-89 installed


Hello -

I am trying to install gnome-libs 1.4.1.2. When I run ./configure, I get the following error:

checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for umode_t... no
checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
checking for __db185_open in -ldb-3... no
configure: error: Your db library is missing db 1.85 compatibility mode


"rpm -qa |grep db" shows the following versions installed:

db42-4.2.52-20.2
db-4.3.29-15.2
db-utils-4.3.29-15.2
db41-4.1.25-91.2
db-devel-4.3.29-15.2
db1-1.85-89


I am running SuSE Linux Enterprise Desktop 10.1 sp1.

Any help would be greatly appreciated. Thanks.

- Joe
 
Old 04-21-2008, 10:09 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://linuxfromscratch.org/pipermai...er/030268.html
... there was a mess-up with a header file. Could be your issue. Possibly you just need a more recent db...
 
Old 04-21-2008, 10:17 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Try this: 'db1-devel-1.85-99.i586.rpm'
http://rpm.pbone.net/index.php3/stat....i586.rpm.html
 
Old 04-21-2008, 10:52 AM   #4
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
Try this: 'db1-devel-1.85-99.i586.rpm'
http://rpm.pbone.net/index.php3/stat....i586.rpm.html


None of the links on that page work. They keep saying "failed to change to directory"
 
Old 04-21-2008, 10:56 AM   #5
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
I am looking through hints.linuxfromscratch.org... this looks promising, but I don't know what it means...


The gnome hint gives the following instructions (specific to db-3.3.11).

cd build_unix/
../dist/configure \
--prefix=/usr \
--enable-compat185 \
--enable-static \
--enable-shared
make docdir=/usr/doc/Berkeley-DB all install
cd /usr/lib/ && ln -s libdb-3.3.a libdb.a
sed 's/^DB185/DB/' /usr/include/db_185.h >
/usr/include/db_185.h.new mv /usr/include/db_185.h.new
 
Old 04-21-2008, 11:02 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Well, the link in your post #4 works fine now.
 
Old 04-21-2008, 11:08 AM   #7
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
Well, the link in your post #4 works fine now.

Yes, I can get to the search page, but when it lists download sites, none of them work.

Thanks though.
 
Old 04-21-2008, 11:11 AM   #8
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
I just added db-4.6.21... did not fix issue.
 
Old 04-22-2008, 07:44 AM   #9
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
Tried the following...

cd build_unix/
../dist/configure \
--prefix=/usr \
--enable-compat185


Did this for db4.6.21. I still get the same error with gnome-libs...
 
Old 04-22-2008, 08:20 AM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
knudfl is suggesting that you install the development package as well. I hope that means he knows for a fact that the compatibility mode is in there.

I found a different package:
db1-devel-1.85-89 RPM for i586 ... but it's for SuSE 9.3 Cannot find any rpms for later SUSE releases, certainly none for SLED ... suggests that the latest packages are in the repos.

Note: have you tried the SLED repos?
If you are trying to maintain SLED without the paid support, you should consider a migration to openSUSE instead. It's a pain, I know - in NZ, Novell have a habit of handing out free SLED DVDs for installfests and SFD. This is nasty as the migration to openSUSE is non-trivial.

db-4.3.27-3.1 RPM for i686 is another SuSE 9.3 rpm - it features:
Quote:
* Thu Nov 15 2001 - ro@suse.de
- added patch 3.3.11.1
Fix a bug in DB 1.85 compatibility mode that could cause
DB 1.85 applications to fail to compile
The API notes say
Quote:
--enable-compat185
To compile or load Berkeley DB 1.85 applications against this release of the Berkeley DB library, enter --enable-compat185 as an argument to configure. This will include Berkeley DB 1.85 API compatibility code in the library.
This suggests you need
./configure --enable-compat185
 
Old 04-22-2008, 09:11 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Found a better address for suse 10.1 db1-devel-1.85-99.i586.rpm
http://download.opensuse.org/distrib...rce/suse/i586/
 
Old 04-22-2008, 10:15 AM   #12
jrella
LQ Newbie
 
Registered: Apr 2008
Location: new key PSEXESVC.exe
Posts: 21

Original Poster
Rep: Reputation: 0
It worked! I was able to get the db1-devel package, installed it, and got right by the db compatibility error! Woohoo!

I now have some other issues, but I will see if I can't work through them before I post anything.

Thanks knudfl and Simon Bridge for your help. As for SLED, I ordered the software with the support subscription, but it has not yet arrived. I am working on an eval copy until then.
 
Old 04-22-2008, 10:23 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You can normally enable the support subscription for the evaluation copy. Tell Novell about this.
 
  


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 "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Why my wireless card "atheros" run only as an acces point in "Master" mode. jardiamj Linux - Wireless Networking 3 11-11-2007 12:12 AM
"Server certificate not installed" - obscure TLS issue (fix) gracecourt Linux - Security 1 05-30-2007 04:09 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
why I can't issue "tcpshow"? ( I already have installed it) ycli00 Linux - Networking 1 03-03-2004 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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