Hi all,
I'm back for my yearly attempt at making an OpenSpeedShop liveCD to
distribute at the SuperComputing conference.
I'm having trouble with a dso that is built in my own tool
(OpenSpeedShop,
www.openspeedshop.org), but 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
libopenss-cli.so.0 which is also linked to libopenss-cli.so.0.0.0.
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:
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 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?
I'm not really sure what list this should be sent to, as it seems it
could be an autotools usage or rpm spec file issue, but I'm starting
here because it seems liveCD issues usually touch many of the autotools,
rpm mechanisms. And the people on this list have been so helpful in
the past.
Thanks,
Jim G