cannot find -lText
rakeshchoyal92 opened this issue · comments
While trying to build the library (make) inside Ab3P-master It says -lText not found. I am pasting the entire compilation detail here
ubuntu@entity:~/ncbi/Ab3P-master$ make
make programs
make[1]: Entering directory '/home/ubuntu/ncbi/Ab3P-master'
make library
make[2]: Entering directory '/home/ubuntu/ncbi/Ab3P-master'
cd lib; make
make[3]: Entering directory '/home/ubuntu/ncbi/Ab3P-master/lib'
make[3]: 'libAb3P.a' is up to date.
make[3]: Leaving directory '/home/ubuntu/ncbi/Ab3P-master/lib'
make[2]: Leaving directory '/home/ubuntu/ncbi/Ab3P-master'
make make_wordSet
make[2]: Entering directory '/home/ubuntu/ncbi/Ab3P-master'
g++ -g -o make_wordSet make_wordSet.o -L./lib -lAb3P -L/home/ubuntu/ncbi/NCBITextLib-master/lib/lib -lText
/usr/bin/ld: cannot find -lText
collect2: error: ld returned 1 exit status
Makefile:10: recipe for target 'make_wordSet' failed
make[2]: *** [make_wordSet] Error 1
make[2]: Leaving directory '/home/ubuntu/ncbi/Ab3P-master'
Makefile:20: recipe for target 'programs' failed
make[1]: *** [programs] Error 2
make[1]: Leaving directory '/home/ubuntu/ncbi/Ab3P-master'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2
Any help on how to overcome this Issue?
Also for my own record:
You need to finish the first two steps mentioned in NCBITextLib
1. Download NCBITextLib.git
git clone https://github.com/ncbi-nlp/NCBITextLib.git
2. Building a library
cd ./lib
make
3. Define NCBITEXTLIB variable
in the file Makefile in the main directory and the Library directory, to point to where NCBITextLib is located,with absolute path