I have encountered a problem with the Python and zlib in the optware
v4 branch.
When trying to import symbols from zlib I get:
python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from zlib import GZipFile
ImportError: /opt/lib/libz.so: undefined symbol: __udivsi3
I have checked the LD_LIBRARY_PATH and it uses the proper zlib library
installed with ipkg.
Package info:
ipkg info zlib
Package: zlib
Version: 1.2.3-2
Status: install user installed
Section: libs
Architecture: arm
maintainer: NSLU2 Linux <
nslu2-linux@...>
MD5Sum: d9d8878662f89b096cf1bb37db58c452
Size: 61767
Filename: zlib_1.2.3-2_arm.ipk
Source:
http://easynews.dl.sf.net/sourceforge/libpng/zlib-1.2.3.tar.bz2ipkg info python25
Package: python25
Version: 2.5.2-2
Depends: readline, bzip2, openssl, libdb, zlib, sqlite, ncursesw
Status: install user installed
Section: misc
Architecture: arm
maintainer: Brian Zhou<
bzhou@...>
MD5Sum: beb14e92c2d781c06f4daa882dfce14a
Size: 14007183
Filename: python25_2.5.2-2_arm.ipk
Source:
http://www.python.org/ftp/python/2.5.2//Python-2.5.2.tar.bz2Description: Python is an interpreted, interactive, object-oriented
programming language.