Closed leedchou closed 5 months ago
I modified the path of htslib:
static_exe: HTSSRC=/usr/local
static_exe: HTSLIB_INC=$(HTSSRC)/include/htslib
static_exe: HTSLIB_LIB=$(HTSSRC)/lib/libhts.a
A lot of errors encountered like:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-openssl.o): in function `Curl_ossl_session_free':
(.text+0x2f5): undefined reference to `SSL_SESSION_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-krb5.o): in function `krb5_decode':
(.text+0x7e): undefined reference to `gss_unwrap'
/usr/bin/ld: (.text+0xad): undefined reference to `gss_release_buffer'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-krb5.o): in function `krb5_encode':
(.text+0x139): undefined reference to `gss_wrap'
/usr/bin/ld: (.text+0x17f): undefined reference to `gss_release_buffer'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-krb5.o): in function `krb5_auth':
(.text+0x32a): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/bin/ld: (.text+0x335): undefined reference to `gss_import_name'
/usr/bin/ld: (.text+0x356): undefined reference to `gss_release_name'
/usr/bin/ld: (.text+0x3f6): undefined reference to `gss_display_name'
/usr/bin/ld: (.text+0x421): undefined reference to `gss_release_buffer'
/usr/bin/ld: (.text+0x47c): undefined reference to `gss_release_buffer'
/usr/bin/ld: (.text+0x591): undefined reference to `gss_release_buffer'
/usr/bin/ld: (.text+0x60e): undefined reference to `gss_release_name'
/usr/bin/ld: (.text+0x619): undefined reference to `gss_release_buffer'
/usr/bin/ld: (.text+0x63c): undefined reference to `gss_release_name'
/usr/bin/ld: (.text+0x647): undefined reference to `gss_release_buffer'
/usr/bin/ld: (.text+0x775): undefined reference to `gss_release_name'
/usr/bin/ld: (.text+0x780): undefined reference to `gss_release_buffer'
Figured out. I disabled libcurl when compiling htslib and glimpse, and that worked for me. So I am gonna close it.
Hi all,
I encountered this error when building a docker image that compiles static_exe:
Have you ever build an image that compiles GLIMPSE2_static successfully?
Best