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

Hmm, I have no expeiernce with slackware, but it really does sound like incompatible libraries, or two different version copies on your system...
                - Ant

Replies are listed 'Best First'.
lots of Re's: need help with DB_File
by strfry() (Monk) on May 16, 2001 at 23:02 UTC
    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
        sorry about the repost; had inet connection problems
        anyway, there's
        /usr/include/db.h /usr/include/db1/db.h /usr/include/db2/db.h /usr/include/db3/db.h
        funky, IMHO
lots of Re's: need help with DB_File
by strfry() (Monk) on May 16, 2001 at 23:10 UTC
    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
        hmm, i think i got it.
        i'll just either build the latest DB, and put it somewhere safe, for File_DB to use... or point it at /usr/include/db1 and hope i can fool it into using the 1.85 libs (:

        thanks!