Hi everybody, i'm trying to compile mysqldb on the atv2 i alredy istalled python2.5 mysql5.0.45 zlib1.2.3, i put threadsafe = False in site.cfg but when i try to compile it i can't because of this error:
AppleTV:~/MySQL-python-1.2.3 root# python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.darwin-10.5-arm-2.5/MySQLdb
running build_ext
building '_mysql' extension
arm-apple-darwin9-gcc -undefined dynamic_lookup -dynamiclib build/temp.darwin-10.5-arm-2.5/_mysql.o -L/usr/local/arm-apple-darwin/lib/ -L/private/var/root/mysql/lib/mysql -lmysqlclient -lz -lm -o build/lib.darwin-10.5-arm-2.5/_mysql.dylib
ld: library not found for -lm
collect2: ld returned 1 exit status
error: command 'arm-apple-darwin9-gcc' failed with exit status 1
Somebody could help me please? wich library is missing???
The library for -lm would be libm. It seems to be a math library.
Log in to post a comment.
Hi everybody, i'm trying to compile mysqldb on the atv2 i alredy istalled
python2.5 mysql5.0.45 zlib1.2.3, i put threadsafe = False in site.cfg but when
i try to compile it i can't because of this error:
AppleTV:~/MySQL-python-1.2.3 root# python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.darwin-10.5-arm-2.5/MySQLdb
running build_ext
building '_mysql' extension
arm-apple-darwin9-gcc -undefined dynamic_lookup -dynamiclib
build/temp.darwin-10.5-arm-2.5/_mysql.o -L/usr/local/arm-apple-darwin/lib/
-L/private/var/root/mysql/lib/mysql -lmysqlclient -lz -lm -o
build/lib.darwin-10.5-arm-2.5/_mysql.dylib
ld: library not found for -lm
collect2: ld returned 1 exit status
error: command 'arm-apple-darwin9-gcc' failed with exit status 1
Somebody could help me please? wich library is missing???
The library for -lm would be libm. It seems to be a math library.