Installing MySQL-python-0.9.2 on Solaris 2.9
Eduardo Castro
ecastro at calarts.edu
Tue Apr 22 14:06:26 EDT 2003
Hi, has anyone had problems installing MySQL-python-0.9.2 on Solaris 2.9?
I am getting the following error when I run 'setup.py build'
ld: fatal: library -lmysqlclient: not found
This is part of the error messages:
building '_mysql' extension
skipping _mysql.c (build/temp.solaris-2.9-sun4u-2.2/_mysql.o up-to-date)
gcc -shared build/temp.solaris-2.9-sun4u-2.2/_mysql.o -L/usr/lib/mysql
-L/usr/local/lib/mysql -L/usr/loca/mysql/lib -L/usr/local/mysql/lib/mysql
-L/usr/local/mysql/include -L/usr/bin
-Wl,-R/usr/local/lib:/usr/openwin/lib:/usr/dt/lib -lmysqlclient -lz -o
build/lib.solaris-2.9-sun4u-2.2/_mysql.so
ld: fatal: library -lmysqlclient: not found
ld: fatal: File processing errors. No output written to
build/lib.solaris-2.9-sun4u-2.2/_mysql.so
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Thanks
Eduardo Castro
California Institute of the Arts.
More information about the Python-list
mailing list