Please note Step 3 in src/produce/README.building.source: > 3. Create the following shell environment variables: > MYSQLINC=/usr/include/mysql > MYSQLLIBS="/usr/lib/mysql/libmysqlclient.a -lz" > export MYSQLINC MYSQLLIBS > Your setting may vary depending upon where your > mysql is installed. The above example is typical. > If your system does not have this set of include files > or this static client.a file, you may need to install > the mysql-devel package to obtain the mysql development > environment. (http://dev.mysql.com/downloads/) > With that package installed, this command: > mysql_config --libs > will display the appropriate libraries to link with > for your system configuration. And: > mysql_config --include > will display the appropriate MYSQLINC directory. > The -lz requires a link to the libraries installed in the > zlib-devel rpm.
Have you verified you have the mysql-devel package installed ? Try this command: $ rpm -qa | grep -i mysql to see what mysql packages you have installed. You need to find the libmysqlclient.a file on your installation. To find files in a package, for example: $ rpm -ql MySQL-devel-community-5.0.67-0.rhel5 Use the actual name of mysql-devel on your system. --Hiram Daofeng Li wrote: > Hi Hiram, > > Thanks for your fast response. > i just want to compile the kent source while encounter such problem like: > gcc: /usr/lib64/mysql/libmysqlclient.a: No such file or directory > make[1]: *** [dnadust.exe] Error 1 > make[1]: Leaving directory `/home/bo/kent/src/dnaDust' > make: *** [utils] Error 2 _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
