Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: default Berkeley database 4 in Slackware 14rc

22 views
Skip to first unread message
Message has been deleted

Kees Theunissen

unread,
Sep 27, 2012, 11:34:52 PM9/27/12
to
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.

Message has been deleted
0 new messages