Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: mod_perl install with IBM HTTP server issues

by ARiccela (Novice)
on Jun 12, 2009 at 12:52 UTC ( #770945=note: print w/replies, xml ) Need Help??


in reply to Re^2: mod_perl install with IBM HTTP server issues
in thread mod_perl install with IBM HTTP server issues

@almut-I did find the envvars file and it did have the LD_LIBRARY_PATH defined. But, upon reinstall I did export the path found in envvars after starting the server just to make sure:
export LD_LIBRARY_PATH="/usr/IBM/HTTPServer/lib:/usr/IBM/HTTPServer/gs +k7/lib:$LD_LIBRARY_PATH"
Install of mod_perl2 seemed to run fine, then got this prompt:
CPAN: YAML loaded ok (v0.68) CPAN.pm: Going to build G/GO/GOZER/mod_perl-2.0.4.tar.gz no conflicting prior mod_perl version found - good. Next we need to know where the 'apxs' script is located. Please provide a full path to 'apxs' executable (press Enter if you don't have it installed): /usr/IBM/HTTPServer/bin +/apxs
Install continues, a whole boatload of script runs past my eyes but I catch the following:
LD_RUN_PATH="/usr/IBM/HTTPServer/lib:/lib64" gcc -shared -O2 -g -pipe + -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param +=ssp-buffer-size=4 -m64 -mtune=generic APR.o modperl_error.o modperl_ +bucket.o modperl_common_util.o modperl_common_log.o -o ../../../blib +/arch/auto/APR/APR.so \ -L/usr/IBM/HTTPServer/lib -laprutil-1 -ldl -lpthread -lexpa +t -L/usr/IBM/HTTPServer/lib -L/usr/IBM/HTTPServer/lib -lapr-1 -lrt -l +crypt -lpthread -ldl \ /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libaprutil- +1.so when searching for -laprutil-1 /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libaprutil- +1.so when searching for -laprutil-1 /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libaprutil- +1.so when searching for -laprutil-1 /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libexpat.so + when searching for -lexpat /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libexpat.so + when searching for -lexpat /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libexpat.so + when searching for -lexpat /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libapr-1.so + when searching for -lapr-1 /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libapr-1.so + when searching for -lapr-1 /usr/bin/ld: skipping incompatible /usr/IBM/HTTPServer/lib/libapr-1.so + when searching for -lapr-1 chmod 755 ../../../blib/arch/auto/APR/APR.so cp APR.bs ../../../blib/arch/auto/APR/APR.bs ...
And then of course at the end, install abends:
/usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /root/.cpan/build/mod_perl-2.0.4-mN +k2wE/t/TEST -clean APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_US +ER= APACHE_TEST_APXS= \ /usr/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /root/.cpan/build/mod_perl-2.0.4-mN +k2wE/t/TEST -bugreport -verbose=0 [ error] You are using mod_perl response handlers [ error] but do not have a mod_perl capable Apache.
Did you give it the correct source code that this server was built from? I believe I did point to the correct IBM directory for this. Looking at this problem I'm having, I have to ask is this an issue with Perl and the mod_perl2 install, or an IBM/Apached issue? Am I seeking help in the right forum? If not, I apologize, but do appreciate the help I've gotten here.

Replies are listed 'Best First'.
Re^4: mod_perl install with IBM HTTP server issues
by Anonymous Monk on Jun 14, 2009 at 02:41 UTC
    The "incompatible lib..." text implies you built a 64-bit mod_perl on a system where IHS is 32-bit. Try export CC="gcc -m32" (this can happen when the Apache build was created on a system where "gcc" is 32-bit and you build your mod wheree "gcc" defaults to 64-bit.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://770945]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2023-05-30 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?