Giter Site home page Giter Site logo

Linker error on Linux about crisp HOT 2 OPEN

mys721tx avatar mys721tx commented on August 12, 2024 3
Linker error on Linux

from crisp.

Comments (2)

seb-mueller avatar seb-mueller commented on August 12, 2024

I get the same error.
To go around it I tried to downgrade gcc with a conda environment:

conda create -n gcc gcc=11 zlib libzlib ncurses but not luck, I get the following error even though zlib and ncurses are installed:

gcc -g -Wall -O2  -o samtools bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target
.o phase.o bam2depth.o -Lbcftools  libbam.a -lbcf -lcurses  -lm -lz
/home/user/software/conda/envs/gcc/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lcurses: No such file or directory
/home/user/software/conda/envs/gcc/bin/../lib/gcc/x86_64-conda-linux-gnu/11.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lz: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:44: samtools] Error 1
make[1]: Leaving directory '/home/user/software/tmp/crisp/samtools'
make: *** [Makefile:10: all] Error 2

I'm a bit stuck now..

from crisp.

anrongming avatar anrongming commented on August 12, 2024

I have also encountered the same problem, I would like to ask if anyone has solved this problem

from crisp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.