[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

rpm: failed dependency even though the dso library is installed, but seems to not be "provided"



Hi everyone,

I have successfully built an openspeedshop rpm and installed it before, but now I'm having a problem with the latest source and spec file when trying to install the latest version of the openspeedshop rpm file.

Specifically, I'm having trouble with a dso that is built in my own tool (OpenSpeedShop, www.openspeedshop.org). When I try to install, rpm installs flag the "so.0" variant to be not provided. I believe the automake option in the makefile is creating libopenss-cli.so which is linked to libopenss-cli.so.0.0.0 and additionally libopenss-cli.so.0 is also linked to libopenss-cli.so.0.0.0.

Another library, libopenss-framework builds and installs successfully. libopenss-framework.so variants also appear to be similar but I don't have a problem with those dsos and rpm installation.

[root@localhost kickstart-files]# ls -lastr /opt/OSS/lib64/libopenss-cli.*
23056 -rw-r--r--. 1 root root 23608899 Sep 27 21:34 /opt/OSS/lib64/libopenss-cli.so.0.0.0 4 -rwxr-xr-x. 1 root root 1541 Sep 27 21:34 /opt/OSS/lib64/libopenss-cli.la 0 lrwxrwxrwx. 1 root root 22 Sep 28 07:27 /opt/OSS/lib64/libopenss-cli.so.0 -> libopenss-cli.so.0.0.0 0 lrwxrwxrwx. 1 root root 22 Sep 28 07:27 /opt/OSS/lib64/libopenss-cli.so -> libopenss-cli.so.0.0.0

[root@localhost kickstart-files]# ls -lastr /opt/OSS/lib64/libopenss-framework.* 8276 -rwxr-xr-x. 1 root root 8470629 Sep 27 21:34 /opt/OSS/lib64/libopenss-framework.so.1.0.0 4 -rwxr-xr-x. 1 root root 1053 Sep 27 21:34 /opt/OSS/lib64/libopenss-framework.la 0 lrwxrwxrwx. 1 root root 28 Sep 28 07:27 /opt/OSS/lib64/libopenss-framework.so.1 -> libopenss-framework.so.1.0.0 0 lrwxrwxrwx. 1 root root 28 Sep 28 07:27 /opt/OSS/lib64/libopenss-framework.so -> libopenss-framework.so.1.0.0


Here is the error I'm seeing:

rpm --install openspeedshop.OSS.x86_64.rpm
error: Failed dependencies:
    libopenss-cli.so.0()(64bit) is needed by openspeedshop-2.0.1-3.x86_64

or when I try to build a live CD:
Error creating Live CD : Failed to build transaction : openspeedshop-2.0.1-3.x86_64 requires libopenss-cli.so.0()(64bit)

I forced an install of OpenSpeedShop and the components on my laptop and now I can use some of the rpm options to query the installed rpm. I had to do rpm --install --nodeps in order to get around the error message:
  openspeedshop-2.0.1-3.x86_64 requires libopenss-cli.so.0()(64bit)

I'm seeing the libopenss-cli.so.0.0.0 does not follow the pattern of the other OpenSpeedShop dsos when I do this query:
        rpm --query --fileprovide openspeedshop-2.0.1-3.x86_64

...
...
/opt/OSS/lib64/libopenss-CustomExperimentPanel.so.0.0.0 libopenss-CustomExperimentPanel.so.0()(64bit) /opt/OSS/lib64/libopenss-ExprInfo.so.0.0.0 libopenss-ExprInfo.so.0()(64bit) /opt/OSS/lib64/libopenss-framework-binutils.so.1.0.0 libopenss-framework-binutils.so.1()(64bit)
/opt/OSS/lib64/libopenss-gui.so.0.0.0   libopenss-gui.so.0()(64bit)
...
/opt/OSS/lib64/libopenss-cli.so.0.0.0 ##### Nothing listed here - no libopenss-cli.so.0 like the other dsos

I think that is the key, but the Makefile.am for libopenss-cli has the same "-export-dynamic -version-info 0:0:0" clause that the other dsos that show provides output that I'd like to see for libopenss-cli: "/opt/OSS/lib64/libopenss-gui.so.0.0.0 libopenss-gui.so.0()(64bit)"

libopenss_cli_la_LDFLAGS = \
        -L$(top_srcdir)/libopenss-message \
        -L$(top_srcdir)/libopenss-framework \
        -L$(top_srcdir)/libopenss-queries \
        @PYTHON_LDFLAGS@ \
        @OPENMP_LDFLAGS@ \
        -export-dynamic -version-info 0:0:0

Does anyone have any experience with this kind of issue?

It seems it could be an autotools usage or rpm spec file issue? I hope this is the correct list to post this.

Thanks,
Jim G

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]