Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One error occurred when using make in the :~/Software/CESAR2.0/kent/src dictionary. #19

Open
lirui-max opened this issue Jan 30, 2023 · 1 comment

Comments

@lirui-max
Copy link

One error occurred when using make in the :~/Software/CESAR2.0/kent/src dictionary.

cd axtChain && echo axtChain && make
axtChain
make[2]: Entering directory '/home/chenmx/Software/CESAR2.0/kent/src/hg/mouseStuff/axtChain'
/home/chenmx/miniconda/bin/x86_64-conda-linux-gnu-cc -O -g -o ../../../../bin//axtChain axtChain.o ../../../lib/x86_64/jkhgap.a ../../../lib/x86_64/jkweb.a -lpthread /usr/lib/x86_64-linux-gnu/libssl.a -lcrypto ../../../htslib/libhts.a -lm -lz
/home/chenmx/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: ../../../lib/x86_64/jkweb.a(htmshell.o):/home/chenmx/Software/CESAR2.0/kent/src/lib/../inc/htmshell.h:163: multiple definition of htmlRecover'; ../../../lib/x86_64/jkweb.a(cheapcgi.o):/home/chenmx/Software/CESAR2.0/kent/src/lib/../inc/htmshell.h:163: first defined here /home/chenmx/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: ../../../lib/x86_64/jkweb.a(portimpl.o):/home/chenmx/Software/CESAR2.0/kent/src/lib/../inc/htmshell.h:163: multiple definition of htmlRecover'; ../../../lib/x86_64/jkweb.a(cheapcgi.o):/home/chenmx/Software/CESAR2.0/kent/src/lib/../inc/htmshell.h:163: first defined here
/home/chenmx/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lcrypto: No such file or directory
/home/chenmx/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lz: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [../../../inc/userApp.mk:31: ../../../../bin//axtChain] Error 1
make[2]: Leaving directory '/home/chenmx/Software/CESAR2.0/kent/src/hg/mouseStuff/axtChain'
make[1]: *** [makefile:54: axtChain.all] Error 2
make[1]: Leaving directory '/home/chenmx/Software/CESAR2.0/kent/src/hg/mouseStuff'
make: *** [makefile:22: userApps] Error 2

image

@MichaelHiller
Copy link
Contributor

Looks like libcrypto and zlib is not installed.

Pls google this error with the operation system that you use. There are a lot of pages with solutions, e.g. for Ubuntu
sudo apt-get install zlib1g-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants