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