Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion default Berkeley database 4 in Slackware 14rc
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kees Theunissen  
View profile  
 More options Sep 27 2012, 11:34 pm
Newsgroups: alt.os.linux.slackware
From: Kees Theunissen <theun...@rijnh.nl>
Date: Fri, 28 Sep 2012 05:34:52 +0200
Local: Thurs, Sep 27 2012 11:34 pm
Subject: Re: default Berkeley database 4 in Slackware 14rc
Frank Boehm wrote:
> Hello,

> Installed Slackware 14rc, compiled some Programs and got an erroy by a
> program using Berkeley database. Different versions included and
> linked.

> You will install db42-4.2.52-i486-3, db44-4.4.20-i486-3,
> db48-4.8.30-i486-2.

> /usr/include
> lrwxrwxrwx   1 root root      9 Sep  1 16:01 db.h -> db48/db.h
> lrwxrwxrwx   1 root root      4 Sep  1 16:01 db4 -> db44/
>                                              ^^^^^^^^^^^

Strange timestamps above: Sep  1 16:01
Those symlinks are created by the /install/doinst.sh scripts in the
packages. But according to the timestamps below you installed the
packages on Sep 27 at 15:30 (db42), 15:31 (db44) and 15:33 (db48).

> drwxr-xr-x   2 root root   4096 Mar  5  2006 db42/
> drwxr-xr-x   2 root root   4096 Aug 15 05:15 db44/
> drwxr-xr-x   2 root root   4096 Aug 23 18:11 db48/

> /usr/lib
> -rw-r--r-- 1 root root     781 Mar  5  2006 ../lib/libdb-4.2.la
> lrwxrwxrwx 1 root root      17 Sep 27 15:30 ../lib/libdb-4.2.so -> /lib/libdb-4.2.so*
> -rw-r--r-- 1 root root 1534736 Aug 15 05:15 ../lib/libdb-4.4.a
> -rw-r--r-- 1 root root     800 Aug 15 05:15 ../lib/libdb-4.4.la
> lrwxrwxrwx 1 root root      17 Sep 27 15:31 ../lib/libdb-4.4.so -> /lib/libdb-4.4.so*
> -rw-r--r-- 1 root root 2011314 Aug 23 18:11 ../lib/libdb-4.8.a
> -rw-r--r-- 1 root root     927 Aug 23 18:11 ../lib/libdb-4.8.la
> lrwxrwxrwx 1 root root      17 Sep 27 15:33 ../lib/libdb-4.8.so -> /lib/libdb-4.8.so*
> lrwxrwxrwx 1 root root      11 Sep 27 15:33 ../lib/libdb-4.a -> libdb-4.8.a
> lrwxrwxrwx 1 root root      12 Sep 27 15:33 ../lib/libdb-4.so -> libdb-4.8.so*

> lrwxrwxrwx 1 root root 11 Sep 27 15:33 ../lib/libdb.a -> libdb-4.8.a
> lrwxrwxrwx 1 root root 12 Sep 27 15:33 ../lib/libdb.so -> libdb-4.8.so*

> To compile my program I can link db4 to db48 and not db44
> or I can set the version to be used with configure.

> At the moment I think I have found a bug in the default Berkeley
> settings or is there a reason for linking include db4 to db44
> and all of the other defaults to db48?

Yes, this looks like bugs in both the db44 and db48 packages. Most
symlinks created in the /install/doinst.sh scripts in both packages
replace each other with different targets (4.4 vs 4.8 variants).
The final result depends on the order in which the packages are
installed. So I think most of the symlinks in the db44 package should
be removed (compare /install/doinst.sh in the db42 package).
The db48 package should create a symlink /usr/include/db4 -> db48.

I think you should report this to Patric.

Still wondering from where you got those "Sep  1 16:01" timestamps
in /usr/include. Did you reinstall the packages between cutting/pasting
the different directory listings above?

Regards,

Kees.

--
Kees Theunissen.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.