Graham Dumpleton
graham.dumpleton at gmail.com
Mon May 12 21:44:47 EDT 2008
For startes, in the directory: /opt/local/lib/python2.5/config create a symlink to where the libpython2.5.so file is located. This will allow mod_python to make use of Python shared library. For reference, see section 'Lack Of Python Shared Library' of: http://code.google.com/p/modwsgi/wiki/InstallationIssues This documentation is from mod_wsgi, but it is affected by same issue. Now, this may not help, because your compiler output suggests that required: -L/opt/local/lib/python2.5/config is missing. The configure script has perhaps got a bit confused because it says: checking checking where python libraries are installed... /opt/local/lib/python2.5 Add the symlink, do a 'make distclean', run configure again, and recompile again to see what happens. Graham 2008/5/12 Brian Lyttle <lists at sourcefoundry.co.uk>: > On Sun, May 11, 2008 at 7:39 PM, Graham Dumpleton > <graham.dumpleton at gmail.com> wrote: > > > In what directory are libpython2.5.a and libpython2.5.so on your system? > > > > I just notice this in my /opt/local/lib > > [xyz123:/opt/local/lib] brianly$ ls > libcrypto.a libpython2.5.so.1.0* pkgconfig/ > libpython2.5.so@ libssl.a python2.5/ > > What's with the .1.0* and .so@ files? > > [xyz123:/opt/local/lib] brianly$ ls -las > total 10556 > 3 drwxr-xr-x 4 root root 8 May 11 20:39 ./ > 3 drwxr-xr-x 9 root root 9 May 11 20:48 ../ > 3591 -rw-r--r-- 1 root root 1.6M May 11 20:39 libcrypto.a > 1 lrwxrwxrwx 1 root root 19 May 11 20:15 > libpython2.5.so -> libpython2.5 > .so.1.0* > 6153 -r-xr-xr-x 1 root root 2.9M May 11 20:15 libpython2.5.so.1.0* > 773 -rw-r--r-- 1 root root 257K May 11 20:39 libssl.a > 3 drwxr-xr-x 2 root root 3 May 11 20:39 pkgconfig/ > 29 drwxr-xr-x 21 root root 597 May 11 20:15 python2.5/ > > -Brian > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|