[libavg-users] Troubleshooting libavg installation on Snow Leopard with Python 2.6.5

Michael Schmitz schmitz at cs.uni-saarland.de
Fri Apr 2 17:50:52 CEST 2010


Dear all,

I was succesfully running the latest libavg version for Snow Leopard until I installed Python 2.6.5 from python.org (don't ask why....). Now, all the Python stuff is under " /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/".

Anyway, libavg isn't working anymore (also after reinstalling libavg), running the Test.py shows me:

./Test.py
Traceback (most recent call last):
 File "./Test.py", line 41, in <module>
   import avg
ImportError: dlopen(/Library/Python/2.6/site-packages/libavg/avg.so, 2): no suitable image found.  Did find:
	/Library/Python/2.6/site-packages/libavg/avg.so: mach-o, but wrong architecture


A search on the mailing list brought up some mails about 64/32-bit issues, so a 

"file /Library/Frameworks/Python.framework/Versions/2.6/bin/python"

prints out:

/Library/Frameworks/Python.framework/Versions/2.6/bin/python: Mach-O universal binary with 2 architectures
/Library/Frameworks/Python.framework/Versions/2.6/bin/python (for architecture ppc):	Mach-O executable ppc
/Library/Frameworks/Python.framework/Versions/2.6/bin/python (for architecture i386):	Mach-O executable i386

I am running Mac OS 10.6.2 and Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)  [GCC 4.0.1 (Apple Inc. build 5493)] on darwin

Any hints on that would be great.

Thank you!

Michael



More information about the libavg-users mailing list