Undefined symbol error
James William Pye
pgsql at jwp.name
Mon Feb 13 15:04:07 GMT 2006
On Thu, Feb 09, 2006 at 04:54:27PM -0800, Adrian Klaver wrote:
> Mention was made of a README in the be/ subdirectory
> but I found none so I used the instructions on the web site.
Hrm, I must have forgotten it in the package's MANIFEST.in. Sorry.
> ERROR: could not load library
> "/usr/local/pgsql/lib/python24-dev.so": /usr/local/pgsql/lib/python24-dev.so:
> undefined symbol: forkpty
Hrm, in FreeBSD, forkpty is in -lutil, so I'm not positive the attached patch
will work for you, but you can give it a shot. Apply it against setup.py in the
'be' directory. Sadly, it may still be missing other dependencies. :(
Also, would you mind sending me your Python config/Makefile file, if you have
one? (It should be at "lib/python2.4/config/Makefile"; that is the 'lib'
directory in the prefix that you installed Python 2.4 into.)
--
Regards, James William Pye
-------------- next part --------------
? lutil.patch
Index: setup.py
===================================================================
RCS file: /cvsroot/python/be/setup.py,v
retrieving revision 1.22
diff -r1.22 setup.py
140a141
> LIBS.append('util')
More information about the Python-general
mailing list