Ask Your Question

Installation problem due missing shared object dependencies

asked 2016-10-24 13:08:11 -0600

rigon gravatar image

Installation problem due missing shared object dependencies

I have been creating a package for fedora. It is a java application bundled with JRE using the javapackager tool (from the Oracle JDK).

The package is built with no problems. But when I try to install it with this command:

sudo dnf install mypackage-1.0-1.x86_64.rpm

I got the following error:

Error: nothing provides needed by mypackage-1.0-1.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)

Using the --allowerasing doesn't help...

I think this error is related somehow with some missing shared object dependencies. One of the many files added is jre/lib/amd64/

If I run:

ldd /usr/java/jdk1.8.0_102/jre/lib/amd64/

I got: (0x00007fffd57f0000) => not found => /lib64/ (0x00007f7921f52000) => /lib64/ (0x00007f7921c44000) => not found => not found => /lib64/ (0x00007f7921881000) => /lib64/ (0x00007f792160e000) => /lib64/ (0x00007f79213f1000) => /lib64/ (0x00007f79211e9000)
/lib64/ (0x000055b6cf331000)

Which seems to be exactly my problem: => not found

Any ideas how to overcome this? Thanks!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-10-27 11:31:39 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Try installing the lame oracle crap with this command.

rpm -ivh --nodeps mypackage-1.0-1.x86_64.rpm

If it was proper rpm packaging you could filter the package requires during build.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-10-24 13:08:11 -0600

Seen: 607 times

Last updated: Oct 27 '16