Ensembl / WiggleTools

Basic operations on the space of numerical functions defined on the genome using lazy evaluators for flexibility and efficiency
Apache License 2.0
144 stars 25 forks source link

make failed on macOS X 10.9.5 #13

Closed JoseEspinosa closed 8 years ago

JoseEspinosa commented 8 years ago

When trying to make wiggletools I am getting the following error.

cd src; make -e
mkdir -p ../bin
cc -g -Wall -O3 -std=gnu99 -L/Users/jespinosa/software/userApps/kent/src/lib/ -L../lib -L/Users/jespinosa/software/htslib wiggletools.c -lwiggletools /Users/jespinosa/software/userApps/kent/src/lib/local/jkweb.a -lhts -lz -lpthread -lssl -lcrypto -ldl -lgsl -lgslcblas -lm -o ../bin/wiggletools 
Undefined symbols for architecture x86_64:
  "_ti_close", referenced from:
      _lineFileTabixMayOpen in jkweb.a(linefile.o)
      _lineFileClose in jkweb.a(linefile.o)
  "_ti_get_tid", referenced from:
      _lineFileSetTabixRegion in jkweb.a(linefile.o)
  "_ti_index_load", referenced from:
      _lineFileTabixMayOpen in jkweb.a(linefile.o)
  "_ti_iter_destroy", referenced from:
      _lineFileSetTabixRegion in jkweb.a(linefile.o)
      _lineFileClose in jkweb.a(linefile.o)
  "_ti_iter_first", referenced from:
      _lineFileTabixMayOpen in jkweb.a(linefile.o)
  "_ti_open", referenced from:
      _lineFileTabixMayOpen in jkweb.a(linefile.o)
  "_ti_queryi", referenced from:
      _lineFileSetTabixRegion in jkweb.a(linefile.o)
  "_ti_read", referenced from:
      _lineFileNext in jkweb.a(linefile.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[1]: *** [../bin/wiggletools] Error 1
make: *** [Wiggletools] Error 2

Any clue? Thanks in advance!

dzerbino commented 8 years ago

Hello Jose,

This is my fault, I did not know how to contact all WiggleTools users. Please check out the manual and the dependencies, I replaced the Tabix dependency with an HtsLib dependency.

Cheers,

Daniel

JoseEspinosa commented 8 years ago

OK, thanks!