[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dblibs



Le Fri, Jul 02, 1999 at 09:52:17AM -0500, Kermit Tensmeyer écrivait:
>   /lib/libdb.so. => libdb-2.0.7.so
>   /usr/lib/libdb.so => libdb-2.0.7
>   /usr/lib/libdb2.so => libdb2.so.2.4.14

/lib/libdb.so.2 -> libdb1-2.1.1.so
/lib/libdb.so.3 -> libdb-2.1.1.so
/lib/libdb1.so.2 -> libdb1-2.1.1.so

/usr/lib/libdb.so -> /lib/libdb.so.3
/usr/lib/libdb.so.1 -> libdb.so.1.85.4
/usr/lib/libdb1.so -> /lib/libdb1.so.2
/usr/lib/libdb2.so -> libdb2.so.2.4.14
/usr/lib/libdb2.so.2 -> libdb2.so.2.4.14

It seems that you are not running the latest potato ...

>   didn't find it /lib but no-matter...

/lib/libdb-2.1.1.so

>  I'm building perl5.005.03 and perl5.005.057, for use with mod-perl
> 1.20 and sybase.

perl-5.005_5.005.03 is in Incoming !

>  As debian was installed a number of programs are installed which have 
> a dependency on the 1.85 library. When I replace the symbolic link 
>   /lib/libdb.2.so => libdb.2.7.5, a number of programs broke

You should never do that ! Of course they'll break, you change the library
without recompiling the programs, that will never work !

>   perl expects to find -ldb and /usr/include/db.h to have the same
> version number and that version number > 2.4.6.

Yes and that's what it does find on my system. But the Configure script
is not perfect though. Look at the perl-5.005_5.005.03-1.diff.gz file
in Incoming to see what has been changed in the Configure script.

>   How can I provide that functionality (have -ldb of release 2.7.5)
> without breaking the current system which requires -ldb be 1.8.5?

glibc 2.1 provides libdb 2.4.14

HTH,
-- 
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/


Reply to: