I am trying to install axtchain on my computer through the UCSC genome brower and I have MYSQL installed but I keep getting a error involving MYSQL library.
Here is what I have done.
##edited .bashrc to include
MACHTYPE=x86_64
export MACHTYPE
export MYSQLINC="/usr/local/mysql/include"
export MYSQLLIBS="/usr/local/mysql/lib -mysqlclient -pthread "
I got these directories using the 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.
MY GOAL was to install the hg folder and then the mousestuff folder so i can get axtchain
I was able to get part of it set up but then ran into the following error.
Last login: Mon Sep 23 10:57:18 on ttys000
155-99-166-194:~ rebeccabruders$ cd /Users/rebeccabruders/scripts/kent
155-99-166-194:kent rebeccabruders$ cd src
155-99-166-194:src rebeccabruders$ cd hg
155-99-166-194:hg rebeccabruders$ make
cd lib && make
make[1]: `../../lib/x86_64/jkhgap.a' is up to date.
cd cartReset && echo cartReset && make
cartReset
gcc cartReset.o ../../lib/x86_64/jkhgap.a ../../lib/x86_64/jkweb.a -pthread -L/lib -lssl -lcrypto -lpng -lm -L/usr/local/mysql/lib -mysqlclient -pthread -lstdc++ -lrt
ld: library not found for -lrt
collect2: ld returned 1 exit status
make[1]: *** [compile] Error 1
make: *** [cartReset.bins] Error 2
155-99-166-194:hg rebeccabruders$
I dont get where the -LRT is coming from since it isnt in my directory. Any help would be much appreciated.
Here is what I have done.
##edited .bashrc to include
MACHTYPE=x86_64
export MACHTYPE
export MYSQLINC="/usr/local/mysql/include"
export MYSQLLIBS="/usr/local/mysql/lib -mysqlclient -pthread "
I got these directories using the 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.
MY GOAL was to install the hg folder and then the mousestuff folder so i can get axtchain
I was able to get part of it set up but then ran into the following error.
Last login: Mon Sep 23 10:57:18 on ttys000
155-99-166-194:~ rebeccabruders$ cd /Users/rebeccabruders/scripts/kent
155-99-166-194:kent rebeccabruders$ cd src
155-99-166-194:src rebeccabruders$ cd hg
155-99-166-194:hg rebeccabruders$ make
cd lib && make
make[1]: `../../lib/x86_64/jkhgap.a' is up to date.
cd cartReset && echo cartReset && make
cartReset
gcc cartReset.o ../../lib/x86_64/jkhgap.a ../../lib/x86_64/jkweb.a -pthread -L/lib -lssl -lcrypto -lpng -lm -L/usr/local/mysql/lib -mysqlclient -pthread -lstdc++ -lrt
ld: library not found for -lrt
collect2: ld returned 1 exit status
make[1]: *** [compile] Error 1
make: *** [cartReset.bins] Error 2
155-99-166-194:hg rebeccabruders$
I dont get where the -LRT is coming from since it isnt in my directory. Any help would be much appreciated.
Comment