[csw-maintainers] Python 3.3 in 64 bits

Dagobert Michelsen dam at opencsw.org
Thu Jan 10 18:39:22 CET 2013


Hi Maciej,

Am 10.01.2013 um 18:36 schrieb Maciej (Matchek) Bliziński <maciej at opencsw.org>:
> 2013/1/10 Dagobert Michelsen <dam at opencsw.org>:
> >> Of course, of the modules that require shared objects (e.g. the socket
> >> module), none work.
> >
> > Why? The 64 bit version of course uses 64 bit ints, sounds ok to me.
> 
> The 64-bit version doesn't look in the right place when trying to load shared objects.
> 
> >> import socket
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/opt/csw/lib/python3.3/socket.py", line 47, in <module>
>     import _socket
> ImportError: ld.so.1: python3.3: fatal: /opt/csw/lib/python3.3/lib-dynload/_socket.so: wrong ELF class: ELFCLASS32
> 
> The shared object it should load is in /opt/csw/lib/amd64/python3.3/lib-dynload/_socket.so.

Indeed. That means it doesn't honour $libdir which it should, right? Maybe you can bring
this to upstream attention?


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20130110/2fe99f82/attachment.html>


More information about the maintainers mailing list