<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Uli,<div><br></div><div>Thanks for the help!</div><div><br></div><div>With otool I found out that libavg pointed to a python version at "/System/Library/Frameworks/Python.framework/Versions/2.6/bin", where the original mac version of python (2.6.1) still was. So after adjusting my PATH such that the old binaries are used instead of the newer one, thinks work out fine again. Although I have no clue why there are 3 folders on my system with python versions (Library/Frameworks/, /System/Library/Frameworks/ and /Library/Python), I am happy things are back to normal now...</div><div><br></div><div>Regards and thanks again,</div><div>Michael</div><div><br><div><div>On Apr 3, 2010, at 12:00 PM, <a href="mailto:libavg-users-request@datenhain.de">libavg-users-request@datenhain.de</a> wrote:</div><br><blockquote type="cite"><div></div><div>Message: 2<br>Date: Fri, 2 Apr 2010 20:01:57 +0200<br>From: Ulrich von Zadow <<a href="mailto:uzadow@libavg.de">uzadow@libavg.de</a>><br>Subject: Re: [libavg-users] Troubleshooting libavg installation on<br><span class="Apple-tab-span" style="white-space:pre">        </span>Snow<span class="Apple-tab-span" style="white-space:pre">        </span>Leopard with Python 2.6.5<br>To: <a href="mailto:libavg-users@datenhain.de">libavg-users@datenhain.de</a><br></div></blockquote><br><blockquote type="cite"><div>Hi Michael,<br><br>we always use the standard version of python on Mac. Still, some ideas:<br><br>- Make sure you start python using the right architecture:<br><br><a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/python.1.html">http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/python.1.html</a><br><br>- If libavg is not compiled for this version of python, strange things <br>might happen. On the mac, libraries are referenced using absolute <br>paths stored in the program that uses them. So, since libavg uses <br>python, there will be an absolute path to a particular python version <br>in avg.so. You can find out which path that is by using otool:<br><br>$ otool -L /Library/Python/2.6/site-packages/libavg/avg.so<br><br>Good luck,<br><br> Uli<br><br>On Apr 2, 2010, at 5:50 PM, Michael Schmitz wrote:<br><br><blockquote type="cite">Dear all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I was succesfully running the latest libavg version for Snow Leopard <br></blockquote><blockquote type="cite">until I installed Python 2.6.5 from python.org (don't ask why....). <br></blockquote><blockquote type="cite">Now, all the Python stuff is under " /Library/Frameworks/ <br></blockquote><blockquote type="cite">Python.framework/Versions/2.6/lib/python2.6/".<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Anyway, libavg isn't working anymore (also after reinstalling <br></blockquote><blockquote type="cite">libavg), running the Test.py shows me:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">./Test.py<br></blockquote><blockquote type="cite">Traceback (most recent call last):<br></blockquote><blockquote type="cite">File "./Test.py", line 41, in <module><br></blockquote><blockquote type="cite"> import avg<br></blockquote><blockquote type="cite">ImportError: dlopen(/Library/Python/2.6/site-packages/libavg/avg.so, <br></blockquote><blockquote type="cite">2): no suitable image found. Did find:<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>/Library/Python/2.6/site-packages/libavg/avg.so: mach-o, but wrong <br></blockquote><blockquote type="cite">architecture<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">A search on the mailing list brought up some mails about 64/32-bit <br></blockquote><blockquote type="cite">issues, so a<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"file /Library/Frameworks/Python.framework/Versions/2.6/bin/python"<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">prints out:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">/Library/Frameworks/Python.framework/Versions/2.6/bin/python: Mach-O <br></blockquote><blockquote type="cite">universal binary with 2 architectures<br></blockquote><blockquote type="cite">/Library/Frameworks/Python.framework/Versions/2.6/bin/python (for <br></blockquote><blockquote type="cite">architecture ppc):<span class="Apple-tab-span" style="white-space:pre">        </span>Mach-O executable ppc<br></blockquote><blockquote type="cite">/Library/Frameworks/Python.framework/Versions/2.6/bin/python (for <br></blockquote><blockquote type="cite">architecture i386):<span class="Apple-tab-span" style="white-space:pre">        </span>Mach-O executable i386<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am running Mac OS 10.6.2 and Python 2.6.5 (r265:79359, Mar 24 <br></blockquote><blockquote type="cite">2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Any hints on that would be great.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Michael<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">libavg-users mailing list<br></blockquote><blockquote type="cite">libavg-users@datenhain.de<br></blockquote><blockquote type="cite">https://mail.datenhain.de/mailman/listinfo/libavg-users<br></blockquote><blockquote type="cite"><br></blockquote><br>--<br>Any technology distinguishable from magic is insufficiently advanced.<br><br>Ulrich von Zadow | +49-172-7872715<br>Jabber: coder@c-base.org<br>Skype: uzadow<br><br><br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>libavg-users mailing list<br>libavg-users@datenhain.de<br>https://mail.datenhain.de/mailman/listinfo/libavg-users<br><br><br>End of libavg-users Digest, Vol 41, Issue 1<br>*******************************************<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; 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; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; 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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- </div><div>Michael Schmitz<br>Universitaet des Saarlandes<br>FR 6.2 Informatik<br>Postfach 15 11 50<br>66041 Saarbruecken<br>Fon +49-681.302.4896<br>Fax +49-681.302.4136<br></div><div><a href="mailto:schmitz@cs.uni-saarland.de">schmitz@cs.uni-saarland.de</a></div><div><a href="http://w5.cs.uni-sb.de/~schmitz">http://w5.cs.uni-saarland.de/~schmitz</a></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></body></html>