in reply to Re: need help with DB_File
in thread need help with DB_File

slackware 7.1 "out of the box".. tried to compile db 1.85 but got weird errors ):

Replies are listed 'Best First'.
Re: Re: Re: need help with DB_File
by suaveant (Parson) on May 16, 2001 at 22:56 UTC
    Hmm, I have no expeiernce with slackware, but it really does sound like incompatible libraries, or two different version copies on your system...
                    - Ant
      yeah, slackware has multiple versions of db
      from a `locate libdb|egrep so`
      /lib/libdb-3.1.so /lib/libdb.so /lib/libdb.so.2 /lib/libdb.so.3 /lib/libdb1.so.2 /lib/libdb1.so.2.1.3 /lib/libdb2.so.3 /usr/i386-slackware-linux-gnulibc1/lib/libdb.so.1 /usr/i386-slackware-linux-gnulibc1/lib/libdb.so.1.85.4 /usr/lib/libdb1.so /usr/lib/libdb2.so
        hmm, not sure if that is good or not... but what about the .h files, the problem comes from the combination of the two, so you need to look for those as well.
                        - Ant
      yeah, slackware has multiple versions on there... apparently they're supposed to peacefully co-exist (:
      (argv)[luser(/home/luser)] locate libdb|egrep so|egrep -v aout /lib/libdb-3.1.so /lib/libdb.so /lib/libdb.so.2 /lib/libdb.so.3 /lib/libdb1.so.2 /lib/libdb1.so.2.1.3 /lib/libdb2.so.3 /usr/i386-slackware-linux-gnulibc1/lib/libdb.so.1 /usr/i386-slackware-linux-gnulibc1/lib/libdb.so.1.85.4 /usr/lib/libdb1.so /usr/lib/libdb2.so
        hmm, sounds like you are looking at libdb.so.3 and /db2/db.h
        dunno how to fix that, though...
                        - Ant