Do you have a directory: /usr/lib64 with the mysql libraries under there ? Try this:
$ find /usr/lib* -type f | grep -i libmysql to see if there is libmysqlclient.a in some /usr/lib* directory. Is there a mysql-devel package that can be installed ? --Hiram ----- Original Message ----- From: "董珊" <[email protected]> To: [email protected] Sent: Tuesday, March 30, 2010 8:28:01 PM GMT -08:00 Tijuana / Baja California Subject: [Genome] Problem on installing Kent source tree Hello, I have followed the file below to install kent source tree. * http://genome-test.cse.ucsc.edu/~kent/src/unzipped/product/README.building.source<http://genome-test.cse.ucsc.edu/%7Ekent/src/unzipped/product/README.building.source> * but in step 5, I met a problem 5. To continue building the CGI binaries $ cd kent/src/hg $ make compile r...@dongshan:/usr/local/jksrc/kent/src/hg# make compile cd lib && make make[1]: Entering directory `/usr/local/jksrc/kent/src/hg/lib' make[1]: `../../lib/x86_64/jkhgap.a' is up to date. make[1]: Leaving directory `/usr/local/jksrc/kent/src/hg/lib' cd protein/lib && make make[1]: Entering directory `/usr/local/jksrc/kent/src/hg/protein/lib' make[1]: `../../../lib/x86_64/jkpbap.a' is up to date. make[1]: Leaving directory `/usr/local/jksrc/kent/src/hg/protein/lib' ( cd cartReset && echo cartReset && make compile) cartReset make[1]: Entering directory `/usr/local/jksrc/kent/src/hg/cartReset' gcc cartReset.o ../../lib/x86_64/jkhgap.a ../../lib/x86_64/jkweb.a -lm /usr/lib/mysql/libmysqlclient.a -lsocket -lnsl -lz gcc: /usr/lib/mysql/libmysqlclient.a: No such file or directory make[1]: *** [compile] Error 1 make[1]: Leaving directory `/usr/local/jksrc/kent/src/hg/cartReset' make: *** [cartReset.compile] Error 2 so, I think there must be a problem in step 3 3. Create the following shell environment variables: MYSQLINC=/usr/include/mysql MYSQLLIBS="/usr/lib/mysql/libmysqlclient.a -lz" export MYSQLINC MYSQLLIBS I have install mysql and use these two command to find the position: r...@dongshan:/usr/local/jksrc/kent/src/hg# mysql_config --libs -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient r...@dongshan:/usr/local/jksrc/kent/src/hg# mysql_config --include -I/usr/include/mysql But there is no file in '/usr/lib/mysql', I don't know why. Could you please tell me which package should I install? I have installed mysql-client-5.1, mysql-server (5.1.37-1ubuntu5.1), mysql-clien(5.1.37-1ubuntu5.1), mysql-common(5.1.37-1ubuntu5.1), libdbd-mysql-perl(4.011-1ubuntu1), mysql-server-5.1, mysql-server-core-5.1, libmysqlclient16, libmysqlclient-dev(5.1.37-1ubuntu5.1), libmysqld-dev(5.1.37-1ubuntu5.1). Thank you very much in advance! Best regards! Shan _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
