Alan McKinnon wrote:
Hi,
I thought I had a fairly good understanding of how shared libs and lib
seelction works in Linux - good enough to know what compile options to
use, etc. But it seems that was a wrong assumption.
I'm trying to get a third party binary app (Sybase database ASE-15) to
run on Gentoo and it's proving to be ... difficult. Previously, it
would run if lib-compat was installed, but no more - I get mysterious
seg fault errors.
My system is currently ~x86 and up to date, especially glibc-2.5. Sybase
expects 2.3.something and while I understand that it needs compatible
libraries installed, I find I don't know enough to determine exactly
which libs will be used on my system.
libcompat provides libc5 and libc6 libraries NOT glibc libs. I'm betting
your issue is that glibc 2.5 is not 2.3. If you've got another Gentoo
box still on 2.3 I'd use it or I think you can install glibc 2.3 in a
limited way, but you're on your own for that one.
I'd also use ldd on the binary and see what libs it's expecting. Here's
a snip of one for Apache.
nms01 ~ # ldd /usr/sbin/apache2
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /lib/libz.so.1 (0xb7f8d000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f59000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7e58000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7e45000)
kashani
--
gentoo-user@gentoo.org mailing list