arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
309 stars 118 forks source link

lumpy-sv compilation error #295

Open SarahRQazi opened 5 years ago

SarahRQazi commented 5 years ago

Hi,

I have downloaded lumpy-sv from github. When I run make command. It gives me this output

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking shared library type... plain .so
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gmtime_r... yes
checking whether fdatasync is declared... yes
checking for fdatasync... yes
checking for library containing log... -lm
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for curl_easy_pause in -lcurl... yes
checking for CCHmac... no
checking for library containing HMAC... no
configure: WARNING: S3 support not enabled: requires SSL development files
configure: creating ./config.status
config.status: creating config.mk
config.status: creating htslib.pc.tmp
config.status: creating config.h
config.status: config.h is unchanged
CFLAGS=" -DBGZF" make -C lib/htslib --no-print-directory CFLAGS="-DBGZF_MT"
make[1]: Nothing to be done for 'all'.
[ -d bin ] || mkdir -p bin
make --no-print-directory -C src/filter/
cc -I../../lib/htslib/ -o lumpy_filter filter.c ../../lib/htslib/libhts.a -lcrypto -lcurl -lpthread -lz
/usr/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
Makefile:3: recipe for target 'all' failed
make[1]: *** [all] Error 1
Makefile:68: recipe for target 'lumpy_filter' failed
make: *** [lumpy_filter] Error 2

I have installed ocl-icd-opencl-dev and when I check in /usr/bin I see ld. Do not know where am I making mistake. Can you please help me. I am using ubuntu 18.04.

zlskidmore commented 5 years ago

I had the same issue

"cannot find -lcrypto"

running apt-get install libssl-dev solved the issue for me

ryanlayer commented 5 years ago

Thanks Zachary!

On Fri, May 10, 2019 at 9:12 PM Zachary Skidmore notifications@github.com wrote:

I had the same issue

"cannot find -lcrypto"

running apt-get install libssl-dev solved the issue for me

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/295#issuecomment-491474697, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEUGUMA7RHQQUWFVRLG5KLPUY2R3ANCNFSM4G2GFCRA .