undefined symbol: _ZNSt8ios_base4InitC1Ev loading library

M

milkyway

Now got this far: when module loaded by server - but - get a linkng
error. According to the searches has something to do with g++ or gcc -
but not sure ..

Hints are appreciated.

Thanks.

=========================================
system info:
Linux 2.6.4-52
gcc 3.3.3


==========================================
mod_gsoap Apache SOAP Server Error


mod_gsoap:
/home/develop/TEST/GSOAP/gsoap/mod_gsoap/apache_gsoap.0.0.5/example/calculator/.libs/libCalculator.so:
undefined symbol: _ZNSt8ios_base4InitC1Ev loading library
/home/develop/TEST/GSOAP/gsoap/mod_gsoap/apache_gsoap.0.0.5/example/calculator/.libs/libCalculator.so
Please see the documentation at WebWare for details.


Content headers of the request

Accept: text/html, image/jpeg, image/png, text/*, image/*, */*
Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5
Accept-Encoding: x-gzip, x-deflate, gzip, deflate
Accept-Language: en, US
Cache-control: no-cache
Connection: Keep-Alive
Host: localhost
Pragma: no-cache
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like
Gecko)
 
U

Ulrich Eckhardt

Crossposting without follow up is a bad idea, set it to colda, which is
closest, I think.
Now got this far:

Now? In what context? Do you refer to a previous posting? Why not give a
hint?
when module loaded by server - but - get a linkng
error. According to the searches has something to do with g++ or gcc -
but not sure ..

The runtime linker can't find that symbol which is part of the C++
standardlibrary (std::ios_base::Init). Setup your system properly and it
will find them, see 'man ld.so' and read the FAQ for the newsgroups you
post to.

Uli
 
F

Flash Gordon

milkyway said:
Now got this far: when module loaded by server - but - get a linkng
error. According to the searches has something to do with g++ or gcc -
but not sure ..

Hints are appreciated.

<snip>

The only thing standard C has to say about this is that if you use an
object or function of a given name from another translation unit it has
to be defined with external linkage.

Problems with you linker, SOAP or C++ (which is what g++ compiles) or
any system specific stuff are off topic in comp.lang.c
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top