[issue18024] dbm module fails to build on SLES11SP1 using 2.7.5 source

Kristofer Wempa report at bugs.python.org
Mon May 20 22:47:05 CEST 2013


Kristofer Wempa added the comment:

Some more information:

The libndbm.so is not a library but some sort of ld script.  It has the following content:

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /usr/lib/libgdbm.so /usr/lib/libgdbm_compat.so )

What I think is happening is that the build is finding the one in /usr/lib instead of /usr/lib64 and then it's trying to load the incomptaible /usr/lib/libgdbm.so.  I was also able to circumvent the problem by setting LDFLAGS to "-L/usr/lib64 -L/lib64".  This put the 64-bit library directories earlier on the link line.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18024>
_______________________________________


More information about the Python-bugs-list mailing list