You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Andrew Erlichson <aj...@erlichson.net> on 2004/03/02 21:26:01 UTC
Binary axis c++ release won't install on redhat 7.3, apache 1.3.27
Hi all,
I sent a previous post on getting the cvs sources to build (note my
note said I have redhat linux 8, but it is actually redhat linux 7.3). I
am also trying to the binary release to load on redhat linux 7.3 and am
having some problems there too:
I copied libaxiscpp_mod.so to /etc/httpd/modules (note the directions
say to copy the file to apache/libexec, but all the modules for my
server seem to be in 'modules').
Then I add the following lines to my conf file:
LoadModule axis_module modules/libaxiscpp_mod.so
I then get an error that axis can not find xerces
Syntax error on line 91 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libaxiscpp_mod.so into server:
libxerces-c.so.22: cannot open shared object file: No such file or
directory
I downloaded the xerces source from
http://xml.apache.org/xerces-c/download.cgi/
That pulls down a version 2.5.0. which builds libxerces-c.so.25.0.
Of course, we are looking for 22, not 25, so, not quite sure what to do,
I just copy the libxerces to my /usr/lib and symlink libxerces-c.so.22
--> libxerces-c.so.25.0
Then I get the following error:
Syntax error on line 91 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libaxiscpp_mod.so into server:
libstdc++.so.5: cannot open shared object file: No such file or
directory
But I do have libstdc++ installed..in fact, it seems a whole bunch of
them:
-r-xr-xr-x 1 root root 1144432 Jul 11 2001
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so*
-rw-r--r-- 1 root root 420238 Sep 12 2002
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.a
-r-xr-xr-x 1 root root 426442 Sep 12 2002
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so*
lrwxrwxrwx 1 root root 30 Jan 16 2003
/usr/lib/libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.so*
lrwxrwxrwx 1 root root 30 Mar 4 2003
/usr/lib/libstdc++-libc6.2-2.a.3 -> libstdc++-3-libc6.2-2-2.10.0.a
lrwxrwxrwx 1 root root 31 Mar 4 2003
/usr/lib/libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so*
lrwxrwxrwx 1 root root 20 Jan 16 2003
/usr/lib/libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8*
-rwxr-xr-x 1 root root 1025339 Jul 11 2001
/usr/lib/libstdc++.so.2.7.2.8*
lrwxrwxrwx 1 root root 18 Jan 16 2003
/usr/lib/libstdc++.so.2.8 -> libstdc++.so.2.8.0*
-rwxr-xr-x 1 root root 375773 Jul 11 2001
/usr/lib/libstdc++.so.2.8.0*
lrwxrwxrwx 1 root root 22 Jan 16 2003
/usr/lib/libstdc++.so.2.9 -> libstdc++.so.2.9.dummy*
-rwxr-xr-x 1 root root 5476 Jul 11 2001
/usr/lib/libstdc++.so.2.9.dummy*
Then, in my enterprising fashion, I just symlink libstdc++.so.5 -->
libstdc++.so.2.8.0
And then I finally get a real linking error:
[root@kirk conf]# apachectl configtest
Syntax error on line 91 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libaxiscpp_mod.so into server:
/etc/httpd/modules/libaxiscpp_mod.so: symbol __cxa_pure_virtual, version
CXXABI_1.2 not defined in file libstdc++.so.5 with link time reference
And then I am stuck. Any advice? Where would I find appropriate versions
of xerces and libstdc++?
Thanks in advance,
Andrew
--
Andrew Erlichson
732.549.9664 (voice)
732.549.9679 (fax)
aje@erlichson.net