You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for all your help, I am kojix2 and I am creating htslib bindings for Ruby and Crystal.
Curiously, I noticed that two functions are not included in the shared library: bam_aux_first and bam_aux_next. Since these are not macro functions and HTSLIB_EXPORT is declared, I expected them to be included in the shared library.
I downloaded the 1.16 release and followed the instructions to compile on Ubuntu.
autoreconf -i
./configure
make
make install
When the nm command is executed,
nm libhts.so.3 | grep aux
bam_aux_first and bam_aux_next are not found.
0000000000010ed0 t __do_global_dtors_aux00000000001025b8 d __do_global_dtors_aux_fini_array_entry0000000000046770 t aux_parse0000000000051870 T bam_aux2A00000000000518a0 T bam_aux2Z0000000000050510 T bam_aux2f0000000000050480 T bam_aux2i00000000000519e0 T bam_auxB2f0000000000051910 T bam_auxB2i00000000000518e0 T bam_auxB_len000000000004b7c0 T bam_aux_append000000000004f850 T bam_aux_del000000000004b8b0 T bam_aux_get0000000000050220 T bam_aux_update_array0000000000050100 T bam_aux_update_float000000000004fd20 T bam_aux_update_int000000000004fa70 T bam_aux_update_str000000000008e040 t cram_encode_aux.constprop.000000000000114d0 t kf_betai_aux.part.00000000000042670 t sam_format_aux10000000000041e60 t skip_aux
Why are these functions not available from the shared library?
How can I add these functions to the shared library?
The text was updated successfully, but these errors were encountered:
I wrote up to the above and checked 1.16 just to be sure, and found that bam_aux_first and bam_aux_next do not exist.
I see that htslib is still under active development.
Sorry for the trouble. I will close this issue.
Yes, PR #1354 was merged a couple of weeks after the 1.16 release. (There's also a followup that will add another related function that I still need to get back to.)
Hi!
Thanks for all your help, I am kojix2 and I am creating htslib bindings for Ruby and Crystal.
Curiously, I noticed that two functions are not included in the shared library:
bam_aux_first
andbam_aux_next
. Since these are not macro functions andHTSLIB_EXPORT
is declared, I expected them to be included in the shared library.htslib/htslib/sam.h
Lines 1638 to 1639 in eab0ee1
htslib/htslib/sam.h
Lines 1650 to 1651 in eab0ee1
I downloaded the 1.16 release and followed the instructions to compile on Ubuntu.
When the nm command is executed,
bam_aux_first
andbam_aux_next
are not found.Why are these functions not available from the shared library?
How can I add these functions to the shared library?
The text was updated successfully, but these errors were encountered: