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

Re: [cobalt-users] Installing libraries: libJudy.so and libdb-3.3.so



Sorry to keep responding to my own post, but I'm still chipping away at this on my own and the problems keep changing.

On Monday, October 28, 2002, at 10:05  AM, Parker Morse wrote:
[snip]
I have two problems with dependencies from the RPM. Here's my check:

[root morse]# rpm -i --test bogofilter-0.7-1.i386.rpm
error: failed dependencies:
        libdb-3.3.so   is needed by bogofilter-0.7-1
        libJudy.so   is needed by bogofilter-0.7-1

Here are my problems:

(1) I have installed Judy (with some interesting, but not crippling, problems) and it's there:

/usr/include/Judy.h (linked to /opt/Judy/usr/include/Judy.h)
/usr/lib/libJudy.a (linked to /opt/Judy/usr/lib/libJudy.a)
/usr/lib/libJudy.so (linked to /opt/Judy/usr/lib/libJudy.so)

Per Gerald's suggestion, there is also now

/lib/libJudy.so (linked to /opt/Judy/usr/lib/LibJudy.so)

But the rpm still fails that dependency. How can I find out where it's looking for libJudy.so, so I can put a link there?

Still an issue - that is, I'm still getting the same failed dependencies on the bogofilter RPM - but see below for expansion.

(2) I have found an RPM including libdb-3.3.so, but that one has problems as well:

I gave up on RPMs for this one. Instead I found a source tarball of the (no longer current) 3.3.11 version of Berkeley DB at <http://www.sleepycat. com/> and was able to successfully build that. This installs files into /usr/local/BerkeleyDB.3.3/lib/; I made symbolic links as follows:

/usr/lib/libdb-3.so (links to /usr/local/BerkeleyDB.3.3/lib/libdb-3.so)
/usr/lib/libdb-3.3.so (links to /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so)
/lib/libdb-3.so (links to /usr/local/BerkeleyDB.3.3/lib/libdb-3.so)
/lib/libdb-3.3.so (links to /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so)
/lib/libdb.so (links to /usr/local/BerkeleyDB.3.3/lib/libdb.so)

However, the RPM STILL fails those two dependencies.

I know I'm right and it's wrong. :-) How do I prove it?

pjm