Re: dlopen error



Marialisa.Raucci@xxxxxxxxx wrote:
hi

I've tried to open a library with che following codes:

void *h=dlopen(c_path.c_str(),RTLD_NOW);
the path it's correct.

the library is compiled using the following Makefile.am

AM_CPPFLAGS = -I${top_srcdir}/src -I.

lib_LTLIBRARIES = libgal.la

libgal_la_SOURCES = st_gal.cc
libgal_la_LDFLAGS = -lga -L/home/minerva/stshell/galib247/ga -avoid-
version -lstdc++

BUT when I load the library I get this error:

../../build/lib/libgal.so: undefined symbol:
_ZneI22st_list_const_iteratorEiRKT_S3_
even If I add -rdynamic in the main executables (as suggested by
many) I get the same error.
Thanks for your time, and I really appreciate any advice offered.


c++filt _ZneI22st_list_const_iteratorEiRKT_S3_


int operator!=<st_list_const_iterator>(st_list_const_iterator const&, st_list_const_iterator const&)


It appears that a global "operator !=" template is undefined.

If you have one of these templates in your headers somewhere, it may be the problem.

template <typename T>
int operator!=( const T &, const T & );
.



Relevant Pages

  • Re: Re-creating Template from Already-Merged Document
    ... If revealing the field codes in the document displays the mergefields, ... be NO mergefields in the document created by executing the merge. ... > several years worth of templates created and saved within the MS Office ...
    (microsoft.public.word.mailmerge.fields)
  • Re: dlopen error
    ... I've tried to open a library with che following codes: ... At a glance, this doesn't seem to me to have anything to do with ... headers and did not link against libdl. ...
    (comp.unix.programmer)
  • Re-creating Template from Already-Merged Document
    ... several years worth of templates created and saved within the MS Office ... I still have numerous already-merged documents made and ... saved from the original templates and, as such, I can see the merge field ... codes, formatting, etc., but I can't figure out if there ...
    (microsoft.public.word.mailmerge.fields)
  • dlopen error
    ... I've tried to open a library with che following codes: ... BUT when I load the library I get this error: ... even If I add -rdynamic in the main executables (as suggested by ...
    (comp.unix.programmer)
  • Re: Word docs printing scripts
    ... On Feb 21, 2:26 pm, Lene Fredborg ... "Field codes". ... macros and templates for Microsoft Word ...
    (microsoft.public.word.docmanagement)