<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Maciej,<div><br><div><div>Am 10.01.2013 um 18:36 schrieb Maciej (Matchek) BliziĆski <<a href="mailto:maciej@opencsw.org">maciej@opencsw.org</a>>:</div><blockquote type="cite"><div dir="ltr">2013/1/10 Dagobert Michelsen <<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>>:<br>>> Of course, of the modules that require shared objects (e.g. the socket<br>>> module), none work.<br>
><br>> Why? The 64 bit version of course uses 64 bit ints, sounds ok to me.<br><br>The 64-bit version doesn't look in the right place when trying to load shared objects.<br><br>>> import socket<br>Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br> File "/opt/csw/lib/python3.3/socket.py", line 47, in <module><br> import _socket<br>ImportError: ld.so.1: python3.3: fatal: /opt/csw/lib/python3.3/lib-dynload/_socket.so: wrong ELF class: ELFCLASS32</div></blockquote><blockquote type="cite"><div dir="ltr">
<br>The shared object it should load is in /opt/csw/lib/<b>amd64/</b>python3.3/lib-dynload/_socket.so.</div></blockquote><div><br></div><div>Indeed. That means it doesn't honour $libdir which it should, right? Maybe you can bring</div><div>this to upstream attention?</div><br></div><div><br></div><div>Best regards</div><div><br></div><div> -- Dago</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><span class="Apple-style-span" style="font-size: 12px; ">-- </span></div><div><span class="Apple-style-span" style="font-size: 12px; ">"You don't become great by trying to be great, you become great by wanting to </span><span class="Apple-style-span" style="font-size: 12px; ">do something,</span></div><div><span class="Apple-style-span" style="font-size: 12px; ">and then doing it so hard that you become great in the process." - xkcd #896</span></div></span>
</div>
<br></div></body></html>