Shared object "libexpat.so.0" not found...
Scott Runkel <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Organization | Hypix Media, Inc. |
| Message-ID | <001901c2457d$a66a2d40$6d01a8c0@scottrunkel2> |
Hi,
I'm still trying to get all of the basic Perl headers set up to use SOAP::Lite.
I think I'm getting closer. I believe my client's site is hosted on freebsd 4.4
running Apache. Currently, here's what I'm getting in my error log when I try to
run a test app called temp.pl from within the cgi-bin, via my browser:
Can't load '/usr/local/lib/site_perl/auto/XML/Parser/Expat/Expat.so' for module
XML::Parser::Expat: Shared object "libexpat.so.0" not found at
/usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
at /usr/local/lib/perl5/site_perl/5.6.1/SOAP/Parser.pm line 9
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Parser.pm line 9.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Parser.pm line 9.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP/Server.pm line 8.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP/Server.pm line 8.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP/CGI.pm line 7.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP/CGI.pm line 7.
Compilation failed in require at
/usr/local/etc/httpd/vhosts/guardian.rentalaps.net/cgi-bin/temp.pl line 12.
BEGIN failed--compilation aborted at
/usr/local/etc/httpd/vhosts/guardian.rentalaps.net/cgi-bin/temp.pl line 12.
I can sort of puzzle out what this is telling me (can't find libexpat.so.0), but
really I have no clue how to fix it. Any suggestions at all would be greatly
appreciated. TIA. The temp.pl file contains:
#!/usr/bin/perl5 -w
# -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
BEGIN { unshift @INC,
'/usr/local/lib/perl5/site_perl/5.6.1/SOAP/Transport/HTTP'; }
use SOAP::Lite;
use CGI;
use SOAP::Transport::HTTP
print SOAP::Lite
-> uri('http://www.soaplite.com/Temperatures')
-> proxy('http://services.soaplite.com/temper.cgi')
-> c2f(37.5)
-> result;
-SR
Scott Runkel
Director of Technology
503-356-9979
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.