Ideally, the Python library loaded should be the same as the one that _csnd.so links against at run-time. Is it safe to assume that /Library/Frameworks is preferred even if /System/Library/Frameworks was used at link time (i.e. are the library paths hardcoded into the binaries) ? On Monday 08 May 2006 20:23, Anthony Kozar wrote: > Yes, finding Python on OS X is further complicated by the fact that Apple > has changed how they provide Python with pretty much every release. > > Here is what I *think* is correct, but I am not sure: > > 10.4 Full MacPython distro as a framework in /Systems/Library/Frameworks > > 10.3 Python 2.3? framework in /Systems/Library/Frameworks (no IDE though) > > 10.2 Commandline Python 2.2 only in /usr/bin > > 10.1 & 10.0 No Python installed by default > > On my 10.2 system I also have installed a MacPython 2.3.5 framework and that > went into /Library/Frameworks. I think that the normal linking order on OS > X finds /Library/Frameworks before it finds /System/Library/Frameworks, so > that may be the prefered order. > > I do not think I have ever seen a python library named like this: > > > "/usr/lib/libpython2.4.dylib", > > but I may not have ever installed a commandline python with headers and > libraries. > > A reasonable search path might be > > /Library/Frameworks/Python.framework/Versions/Current/Python > /System/Library/Frameworks/Python.framework/Versions/Current/Python > /usr/local/lib/libpython.dylib > /opt/local/lib/libpython.dylib > /sw/lib/libpython.dylib > /usr/lib/libpython.dylib > > where libpython.dylib is replaced by whatever the python library is called > when installed as a "standard Unix" package instead of a Mac framework. > (But users who install Python via Fink or Darwin Ports like I did on my 10.1 > computer may not have any library at all). > > I have not exhaustively checked all of these facts ... ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net