[opensuse] obscure lib- dependancy
![](https://seccdn.libravatar.org/avatar/898103d5a7c5ab5de5d7101122d14af9.jpg?s=120&d=mm&r=g)
Hi all, I'm trying to use a "foreign" binary lib onto my suse machine. when i put the lib on exactly the same place (/usr/lib64/....) the relevant applications, like openvpn and pkcs11-tools, works without a hitch. So far so good. next i tried to build a simple package around it, in order to get it installed on other machines aswell; but then i ran into something strange. Even on the machine where the lib is perfectly working, the installer complains about a dependancy, eventhough ldd indicates that all seems OK. In my spec-file i dont specify any dependencies (perhaps i should?), and just extract the lib to the appropriate place (either /usr/lib or /usr/lib64) Ofcourse i can force it, when doing a manual installation, but that won't work when installing automatically (autoyast/kiwi) I tried it on 12.1 and 12.3 with same behaviour Any suggestions? ====================================================================== /usr/lib64/libaetpkss.so: /usr/lib64/libcrypto.so.0.9.8: no version information available (required by /usr/lib64/libaetpkss.so) linux-vdso.so.1 => (0x00007fffe0de4000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8f70649000) librt.so.1 => /lib64/librt.so.1 (0x00007f8f70440000) libqdbm.so.14 => /usr/lib64/libqdbm.so.14 (0x00007f8f701f3000) libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f8f6fe61000) libz.so.1 => /lib64/libz.so.1 (0x00007f8f6fc48000) libpcsclite.so.1 => /usr/lib64/libpcsclite.so.1 (0x00007f8f6fa3d000) libm.so.6 => /lib64/libm.so.6 (0x00007f8f6f7e6000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8f6f5cf000) libc.so.6 => /lib64/libc.so.6 (0x00007f8f6f23f000) /lib64/ld-linux-x86-64.so.2 (0x00007f8f70de0000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8f6f022000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f8f6ee12000) liblzo2.so.2 => /lib64/liblzo2.so.2 (0x00007f8f6ebf1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f8f6e9ed000) ---------------------------------------------------------------- rpm -ivh sasilib-2335-1.x86_64.rpm error: Failed dependencies: libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by sasilib-2335-1.x86_64 libqdbm.so.14()(64bit) is needed by sasilib-2335-1.x86_64 ----------------------------------------------------------------- zypper install sasilib-2335-1.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) needed by sasilib-2335-1.x86_64 Solution 1: do not install sasilib-2335-1.x86_64 Solution 2: break sasilib-2335-1.x86_64 by ignoring some of its dependencies ==================================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/bff0c215e01f23fcee6fe49e65fae458.jpg?s=120&d=mm&r=g)
On Thu, Oct 31, 2013 at 12:22:56PM +0100, Hans Witvliet wrote:
Hi all,
I'm trying to use a "foreign" binary lib onto my suse machine.
when i put the lib on exactly the same place (/usr/lib64/....) the relevant applications, like openvpn and pkcs11-tools, works without a hitch. So far so good. next i tried to build a simple package around it, in order to get it installed on other machines aswell; but then i ran into something strange. Even on the machine where the lib is perfectly working, the installer complains about a dependancy, eventhough ldd indicates that all seems OK.
In my spec-file i dont specify any dependencies (perhaps i should?), and just extract the lib to the appropriate place (either /usr/lib or /usr/lib64)
rpm -ivh sasilib-2335-1.x86_64.rpm error: Failed dependencies: libcrypto.so.0.9.8(OPENSSL_0.9.8)(64bit) is needed by sasilib-2335-1.x86_64
We do not have symbol versions in our openssl, so this symbol is not provided. It was not rebuilt from source? If it works anyway, use AutoReqProv: no and manually specify the lib dependencies. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
El 31/10/13 08:22, Hans Witvliet escribió:
Hi all,
I'm trying to use a "foreign" binary lib onto my suse machine.
Other than what Marcus already said, I have very bad news for you, I have looked into the guts of this thing and libcrypto is not binary compatible across distributions at all, the message you got is the best case scenario in which the application simply does not start. Why it is not compatible ? well.. distributions use different build options that result in different libraries. -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/898103d5a7c5ab5de5d7101122d14af9.jpg?s=120&d=mm&r=g)
From: Cristian Rodríguez <crrodriguez@opensuse.org> To: opensuse@opensuse.org Subject: Re: [opensuse] obscure lib- dependancy Date: Thu, 31 Oct 2013 12:29:12 -0300 El 31/10/13 08:22, Hans Witvliet escribió:
Hi all,
I'm trying to use a "foreign" binary lib onto my suse machine.
Other than what Marcus already said, I have very bad news for you, I have looked into the guts of this thing and libcrypto is not binary compatible across distributions at all, the message you got is the best case scenario in which the application simply does not start. Why it is not compatible ? well.. distributions use different build options that result in different libraries. -----Original Message----- Cristian, Marcus, tnx for looking into it & responding. @Marcus, no we don't have the source. If we complain long & loud enough they are willing to produce another binary (at 30,000 euro's) for just one distro and one arch. @Cristian, Reading you message back: the lib itself seems (!) to works, but i only gets complaints when installing the sasi-lib with my home-made binary-rpm. Odd not? Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Hans Witvliet
-
Marcus Meissner