Skip to content

Undefined symbols in libidzebra-2.0.so.0.0.2 #69

@hughmcmaster

Description

@hughmcmaster

Debian's shared library dependency parser has identified about 100 undefined symbols in libidzebra-2.0.so.

The symbols appear in none of the libraries linked at build time. A quick hack to add -lyaz -lyaz_icu -lxml2 is enough to resolve the symbols from the external shared libraries.

atoi_n
diagbib1_str
icu_chain_assign_cstr
icu_chain_destroy
icu_chain_next_token
icu_chain_token_display
icu_chain_token_sortkey
icu_chain_xml_config
nmem_create
nmem_destroy
nmem_intdup
nmem_malloc
nmem_reset
nmem_strdup
nmem_strdupn
nmem_transfer
odr_createmem
odr_destroy
odr_extract_mem
odr_getbuf
odr_getoidbystr
odr_getoidbystr_nmem
odr_intdup
odr_malloc
odr_nullval
odr_oiddup_nmem
odr_setbuf
odr_strdup
oid_oidcmp
oid_oidlen
oid_oid_to_dotstring
p_query_rpn
readconf_line
wrbuf_alloc
wrbuf_cstr
wrbuf_destroy
wrbuf_grow
wrbuf_iconv_reset
wrbuf_iconv_write
wrbuf_printf
wrbuf_puts
wrbuf_puts_escaped
wrbuf_rewind
wrbuf_write
wrbuf_write_escaped
wrbuf_xmlputs
wrbuf_xmlputs_n
xcalloc_f
xfree_f
xmalloc_f
xmalloc_trav_f
xmlDocGetRootElement
xmlFreeDoc
xmlParseFile
xrealloc_f
xstrdup_f
yaz_fclose
yaz_filepath_comp
yaz_filepath_resolve
yaz_fopen
yaz_get_esn
yaz_iconv
yaz_iconv_close
yaz_iconv_error
yaz_iconv_open
yaz_is_abspath
yaz_log
yaz_log_module_level
yaz_log_xml_errors
yaz_matchstr
yaz_oid_attset_bib_1
yaz_oid_recsyn_explain
yaz_oid_recsyn_grs_1
yaz_oid_recsyn_soif
yaz_oid_recsyn_summary
yaz_oid_recsyn_sutrs
yaz_oid_recsyn_xml
yaz_oid_std
yaz_oid_varset_variant_1
yaz_pqf_create
yaz_pqf_destroy
yaz_pqf_scan
yaz_snprintf
yaz_sort_spec
yaz_string_to_oid_nmem
yaz_string_to_oid_odr
yaz_timing_create
yaz_timing_destroy
yaz_timing_get_real
yaz_timing_get_sys
yaz_timing_get_user
yaz_timing_start
yaz_timing_stop
yaz_tok_cfg_create
yaz_tok_cfg_destroy
yaz_tok_move
yaz_tok_parse_buf
yaz_tok_parse_destroy
yaz_tok_parse_string
z_RPNQuery
z_SortKeySpecList

The yaz libraries are detected correctly; however, you can see from the configure summary that key libraries are missing from the linked library list.

Can you please have a look at this?

ZEBRA Package:              idzebra
  ZEBRA Version:              2.2.8
  Source code location:       .
  C Preprocessor:             gcc -E
  C Preprocessor flags:       -Wdate-time -D_FORTIFY_SOURCE=2
  C Compiler:                 gcc
  C Compiler flags:           -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/hugh/idzebra/idzebra=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
  Linker flags:               -Wl,-z,relro -Wl,-z,now
  Linked libs:                -ldl -lm -lz -lbz2 -lcrypt 
  Host System Type:           x86_64-pc-linux-gnu
  Install path:               /usr
  Automake:                   ${SHELL} '/home/hugh/idzebra/idzebra/config/missing' automake-1.18
  Archiver:                   ar
  Ranlib:                     ranlib
  YAZ Version:                5.35.1
  YAZ Include:                -I/usr/include/libxml2 -DYAZ_HAVE_ICU=1 -DYAZ_POSIX_THREADS=1 -DYAZ_HAVE_XML2=1 -DYAZ_HAVE_XSLT=1 -DYAZ_HAVE_EXSLT=1 
  YAZ La Lib:                 -lyaz_server -lyaz_icu -lpthread -lyaz -lexslt -lxslt -lxml2 -licui18n -licuuc -licudata 
  YAZ Lib:                    -lyaz_server -lyaz_icu -lpthread -lyaz -lexslt -lxslt -lxml2 -licui18n -licuuc -licudata 
  Bugreport:                  [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions