Re: dlopen error
- From: Gianni Mariani <gi3nospam@xxxxxxxxxx>
- Date: Sun, 27 May 2007 08:15:14 +1000
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 & );
.
- References:
- dlopen error
- From: Marialisa . Raucci
- dlopen error
- Prev by Date: Re: Installing UNIX application on PC
- Next by Date: Re: Overloading of symbols in static library
- Previous by thread: Re: dlopen error
- Next by thread: Overloading of symbols in static library
- Index(es):
Relevant Pages
|
|