I could be wrong, but I thought the way x86 compatibility works in amd64 is that
you need an ELF32 executable, plus all its dependencies in ELF32.
I run Ubuntu, and since my python is ELF64, I thought that's why it failed to
> % file =python
> /usr/bin/python: symbolic link to `python2.5'
> % file =python2.5
> /usr/bin/python2.5: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for
GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
Some additional info about my environment that may be relevant:
% ldd _actions.so
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7efb000)
libc.so.6 => /lib32/libc.so.6 (0xf7dac000)
% sudo apt-get install ia32-libs lib32nss-mdns
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
lib32nss-mdns is already the newest version.
AFAICT, all the dependencies from _actions.so are met.
But I still get the following error:
% bash pkg.depotd
Traceback (most recent call last):
line 92, in <module>
import pkg.server.config as config
line 32, in <module>
import pkg.server.catalog as catalog
line 34, in <module>
import pkg.indexer as indexer
line 98, in <module>
import pkg.manifest as manifest
line 29, in <module>
import pkg.actions as actions
line 110, in <module>
from _actions import _fromstr
wrong ELF class: ELFCLASS32
Does anyone successfully manage to run the latest pkg.depotd on amd64 Linux? If
so, what is it about my environment that's broken?