[issue14216] ImportError: No module named binascii
Qian Liu
report at bugs.python.org
Thu Mar 8 06:26:42 CET 2012
Qian Liu <liuq0011 at e.ntu.edu.sg> added the comment:
Hi, Eric Araujo,
Thanks for your help. I run "make -s" and found the following message. It
seems that binascii cannot be built correctly. What should I do? Many
thanks.
libpython2.7.a(posixmodule.o)(.text+0x47e1): In function `posix_tmpnam':
./Modules/posixmodule.c:7370: warning: the use of `tmpnam_r' is dangerous,
better use `mkstemp'
libpython2.7.a(posixmodule.o)(.text+0x46c7): In function `posix_tempnam':
./Modules/posixmodule.c:7317: warning: the use of `tempnam' is dangerous,
better use `mkstemp'
building dbm using gdbm
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Python build finished, but the necessary bits to build these modules were
not found:
_sqlite3 bsddb185 dl
imageop sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.
*Failed to build these modules:*
*binascii zlib*
Best regards,
Qian Liu
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14216>
_______________________________________
More information about the Python-bugs-list
mailing list