Paul Eyking
eyking at cs.dal.ca
Thu Nov 22 19:22:12 EST 2007
> Hi Graham, > > First off, thank you for the quick replies. To answer your question > about the Python installation, it may have been MacPorts that > installed the odd version of Python you noticed. > > I attempted to install mysqldb (python-mysql) via MacPorts and > noticed that it attempted to install Python25. However, I ran the > following command on both my MacBook, and that of a friend, and we > both had identical results. > > Last login: Thu Nov 22 20:08:53 on ttys000 > eyk at Pauls-Computer~$ cd /usr/bin/ > eyk at Pauls-Computer/usr/bin$ ls -l | grep python > lrwxr-xr-x 1 root wheel 72 22 Nov 18:53 python - > > ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/ > python > lrwxr-xr-x 1 root wheel 79 29 Oct 22:35 python-config - > > ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/ > python-config > lrwxr-xr-x 1 root wheel 75 29 Oct 22:35 python2.5 - > > ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/ > python2.5 > lrwxr-xr-x 1 root wheel 82 29 Oct 22:35 python2.5- > config -> ../../System/Library/Frameworks/Python.framework/Versions/ > 2.5/bin/python2.5-config > lrwxr-xr-x 1 root wheel 73 29 Oct 22:35 pythonw - > > ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/ > pythonw > lrwxr-xr-x 1 root wheel 76 29 Oct 22:35 pythonw2.5 - > > ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/ > pythonw2.5 > eyk at Pauls-Computer/usr/bin$ > > Is this not the 'out-of-the-box' Python installation that comes with > Leopard? > > Cheers, > > Paul > > > On 22-Nov-07, at 7:47 PM, Graham Dumpleton wrote: > >> On 23/11/2007, Paul Eyking <eyking at cs.dal.ca> wrote: >>> Here is the output from otool: >>> >>> eyk at Pauls-Computer~/Sources/mod_python-3.3.1$ otool -L /usr/libexec/ >>> apache2/mod_python.so >>> /usr/libexec/apache2/mod_python.so: >>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, >>> current >>> version 111.0.0) >>> /Library/Frameworks/Python.framework/Versions/2.5/Python >>> (compatibility version 2.5.0, current version 2.5.0) >>> /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current >>> version 1.0.0) >> >> What about my other question: >> >> Are you using the standard Python 2.5 that comes with the box or some >> other version you have installed separately? >> >> Of for that matter, do you have any other versions of Python >> installed? >> >> On a Leopard system there shouldn't be a >> '/Library/Frameworks/Python.framework', which suggests you have a >> conflicting version of Python installed. Did you perhaps do an OS >> upgrade rather than a fresh install and so still have an older Python >> 2.5 on the system from Tiger? >> >> Graham >> >>> On 22-Nov-07, at 7:30 PM, Graham Dumpleton wrote: >>> >>>> On 23/11/2007, Paul Eyking <eyking at cs.dal.ca> wrote: >>>>> Hey all, >>>>> >>>>> I saw the previous posts to this mailing list from the archives in >>>>> October. I followed all of those instructions and (think) I've >>>>> solved >>>>> the issue regarding the module not being installed as a 4-way >>>>> universal, however, now I'm getting a different error, has anyone >>>>> seen >>>>> this? >>>>> >>>>> eyk at Pauls-Computer~$ sudo apachectl configtest >>>>> httpd: Syntax error on line 113 of /private/etc/apache2/ >>>>> httpd.conf: >>>>> Cannot load /usr/libexec/apache2/mod_python.so into server: >>>>> dlopen(/ >>>>> usr/libexec/apache2/mod_python.so, 10): Symbol not found: >>>>> _PyObject_GenericGetAttr\n Referenced from: /usr/libexec/apache2/ >>>>> mod_python.so\n Expected in: dynamic lookup\n >>>> >>>> What do you get when you run: >>>> >>>> otool -L /usr/libexec/apache2/mod_python.so >>>> >>>> Are you using the standard Python 2.5 that comes with the box or >>>> some >>>> other version you have installed separately? >>>> >>>> Graham >>> >>> >
|