Installing RPM rebuild and failed dependency

B

Brent L Johnson

I'm running Redhat9 and I want to install Python2.3. I downloaded
the src RPM file and following the directions
(i.e. rpmbuild --rebuild python2.3-2.3.3-2pydotorg.src.rpm).

This runs configure, compiled and dumps all the rpms in my
main RPM directory. I've got BerkeleyDB installed in
/usr/local/BerkeleyDB.4.2.

When I try and install the built RPM I get the following error:
error: Failed dependencies:
libdb-4.2.so is needed by python2.3-2.3.3-2pydotorg

That file is located in /usr/local/BerkeleyDB.4.2/lib but the
RPM install apparently cant find it. I tried creating a
symbolic link in /usr/lib to the libdb-4.2.so file and
I still get the same error.

Any ideas?

Thanks,

- Brent
 
C

Christian Haugan Toldnes

Brent said:
Any ideas?

install the source rpm, edit the spec file and make sure python is built
against the local db4 library and knows where it is.

Why can't you use the db4 packages included in RH9?


c
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top