Code Monkey home page Code Monkey logo

Comments (3)

mgijsbertihodenpijl avatar mgijsbertihodenpijl commented on August 22, 2024

Issue solved by changing the line into
LIBBWA_LIBS =

cd bwa/bwa-0.07.15
make clean
make
and the build of bwa is executed with success.

Is this option needed ?

Martijn

from sparkbwa.

mgijsbertihodenpijl avatar mgijsbertihodenpijl commented on August 22, 2024

Now the make fails during linking.

cp ./bwa/bwa-0.7.15/.o build
gcc -shared -o build/libbwa.so build/
.o
Undefined symbols for architecture x86_64:
"_gzclose", referenced from:
_bamlite_gzclose in bamlite.o
_main_maxk in maxk.o
_err_gzclose in utils.o
(maybe you meant: _bamlite_gzclose, _err_gzclose )
"_gzdopen", referenced from:
_bamlite_gzopen in bamlite.o
_main_mem in fastmap.o
_main_maxk in maxk.o
_main_pemerge in pemerge.o
_err_xzopen_core in utils.o
"_gzerror", referenced from:
_bamlite_gzread in bamlite.o
_kseq_read in utils.o
_ks_getuntil2 in utils.o
_err_gzread in utils.o
"_gzopen", referenced from:
_bamlite_gzopen in bamlite.o
_main_maxk in maxk.o
_main_pemerge in pemerge.o
_err_xzopen_core in utils.o
(maybe you meant: _bamlite_gzopen)
"_gzread", referenced from:
_bamlite_gzread in bamlite.o
_kseq_read in utils.o
_ks_getuntil2 in utils.o
_err_gzread in utils.o
(maybe you meant: _err_gzread, _bamlite_gzread )
"_zError", referenced from:
_bamlite_gzclose in bamlite.o
_err_gzclose in utils.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libbwa.so] Error 1

from sparkbwa.

mgijsbertihodenpijl avatar mgijsbertihodenpijl commented on August 22, 2024

Changed Makefile.common
LIBBWA_LIBS = -lz

Now the build fails on wget spark :)

I will close this issue and make a dockerfile for setup with linux.

from sparkbwa.

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.