Help with Manual removal of libapreq2
Hi All, I'm trying to remove libapreq2 via make clean without a whole lot of success. Below is what I get back from make clean (and Request.so still exists afterwards) Any ideas? The long story is I decided to run the Ubuntu update to bring one of our dev servers up to date. Now I keep getting an error with Request.so and I'm thinking it might have something to do with the fact that I installed libapreq2 manually (as Ubuntu didn't have the lastest version at the time) and the update installed a latter version. So I'm trying to remove it all and reinstall the Ubuntu version, I've even gone as far as uninstall Apache2,mod_perl, libapreq etc from Ubuntu and then running the make clean, but Request.so is still in there. Ths is the error I get no matter what is installed or uninstalled, if that makes any difference Can't load '/usr/local/lib/perl/5.8.8/auto/APR/Request/Request.so' for module APR::Request: libaprutil-0.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225 TIA -Chris Output from make clean Making clean in glue make[1]: Entering directory `/home/analog/libapreq2-2.08/glue' rm -rf .libs _libs cd perl; make clean make[2]: Entering directory `/home/analog/libapreq2-2.08/glue/perl' make[2]: *** No rule to make target `clean'. Stop. make[2]: Leaving directory `/home/analog/libapreq2-2.08/glue/perl' make[1]: [perl_clean] Error 2 (ignored) rm -f *.lo make[1]: Leaving directory `/home/analog/libapreq2-2.08/glue' Making clean in module make[1]: Entering directory `/home/analog/libapreq2-2.08/module' Making clean in apache2 make[2]: Entering directory `/home/analog/libapreq2-2.08/module/apache2' rm -rf .libs _libs test -z mod_apreq2.la || rm -f mod_apreq2.la rm -f ./so_locations rm -f *.o rm -f *.lo make[2]: Leaving directory `/home/analog/libapreq2-2.08/module/apache2' Making clean in . make[2]: Entering directory `/home/analog/libapreq2-2.08/module' rm -rf .libs _libs cd t/c-modules make clean make[3]: Entering directory `/home/analog/libapreq2-2.08/module/t/c-modules' make[3]: *** No rule to make target `clean'. Stop. make[3]: Leaving directory `/home/analog/libapreq2-2.08/module/t/c-modules' make[2]: [cmodules_clean] Error 2 (ignored) rm t/c-modules/Makefile t/c-modules/*/Makefile t/c-modules/apache_httpd_test.h rm: cannot remove `t/c-modules/Makefile': No such file or directory rm: cannot remove `t/c-modules/*/Makefile': No such file or directory rm: cannot remove `t/c-modules/apache_httpd_test.h': No such file or directory make[2]: [cmodules_clean] Error 1 (ignored) MAKE=make /usr/bin/perl t/TEST -clean Can't open perl script t/TEST: No such file or directory make[2]: [test_clean] Error 2 (ignored) rm -rf t/htdocs t/logs t/modules t/TEST t/core t/core.* t/cgi-bin/test_cgi t/cgi-bin/.libs t/.libs t/conf/extra.conf t/conf/ssl/ca t/conf/ssl/httpd-passphrase.pl rm -f test_cgi test_cgi rm -f *.o rm -f *.lo make[2]: Leaving directory `/home/analog/libapreq2-2.08/module' make[1]: Leaving directory `/home/analog/libapreq2-2.08/module' Making clean in library make[1]: Entering directory `/home/analog/libapreq2-2.08/library' test -z libapreq2.la || rm -f libapreq2.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o rm -f *.lo make[1]: Leaving directory `/home/analog/libapreq2-2.08/library' Making clean in include make[1]: Entering directory `/home/analog/libapreq2-2.08/include' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/analog/libapreq2-2.08/include' Making clean in . make[1]: Entering directory `/home/analog/libapreq2-2.08' test -z apreq2-config || rm -f apreq2-config rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/analog/libapreq2-2.08'
Re: Help with Manual removal of libapreq2
On May 14, 2007, at 10:18 AM, cfaust-dougot wrote: Hi All, I'm trying to remove libapreq2 via make clean without a whole lot of success. Below is what I get back from make clean (and Request.so still exists afterwards) Any ideas? The long story is I decided to run the Ubuntu update to bring one of our dev servers up to date. Now I keep getting an error with Request.so and I'm thinking it might have something to do with the fact that I installed libapreq2 manually (as Ubuntu didn't have the lastest version at the time) and the update installed a latter version. So I'm trying to remove it all and reinstall the Ubuntu version, I've even gone as far as uninstall Apache2,mod_perl, libapreq etc from Ubuntu and then running the make clean, but Request.so is still in there. Ths is the error I get no matter what is installed or uninstalled, if that makes any difference Can't load '/usr/local/lib/perl/5.8.8/auto/APR/Request/Request.so' for module APR::Request: libaprutil-0.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl/5.8/ DynaLoader.pm line 225 AFAIK , libapreq2 will only install mod_apreq2.a mod_apreq2.la mod_apreq2.so in the modules dir of apache2 that its configured against ( on my systems, thats /usr/local/apache2 ) , and the perl docs/libs . there shoudln't ever be a physical Request.so file That error looks like your code is creating an APR::Request object, but you haven't had 'use APR::Request' in your code yet. that kind of error tends to create messages like that. I'd try just tossing in a use line before that error gets thrown, and see if it fixes things. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RE: Help with Manual removal of libapreq2
Thanks Jonathan, I think that helped get me closer. I removed the Request.so (don't know where it came from if it shouldn't have been there), now I get Can't locate loadable object for module APR::Request which is coming from use APR::Request (); in my startup.pl Am i just missing something stupid? APR::Request should be there by way of installing libapreq2, shouldn't it? Thanks -Chris AFAIK , libapreq2 will only install mod_apreq2.a mod_apreq2.la mod_apreq2.so in the modules dir of apache2 that its configured against ( on my systems, thats /usr/local/apache2 ) , and the perl docs/libs . there shoudln't ever be a physical Request.so file That error looks like your code is creating an APR::Request object, but you haven't had 'use APR::Request' in your code yet. that kind of error tends to create messages like that. I'd try just tossing in a use line before that error gets thrown, and see if it fixes things.
Re: Help with Manual removal of libapreq2
On Mon, 14 May 2007 10:18:24 -0400 cfaust-dougot [EMAIL PROTECTED] wrote: Hi All, I'm trying to remove libapreq2 via make clean without a whole lot of success. Below is what I get back from make clean (and Request.so still exists afterwards) Any ideas? make clean doesn't uninstall an install program. It removes object files from the build area and reverts the build to a clean state as in the way it was when you unpacked it. - Frank Wiles [EMAIL PROTECTED] http://www.wiles.org -
Re: Help with Manual removal of libapreq2
On Mon, 14 May 2007 11:40:46 -0400 cfaust-dougot [EMAIL PROTECTED] wrote: Thanks Jonathan, I think that helped get me closer. I removed the Request.so (don't know where it came from if it shouldn't have been there), now I get Can't locate loadable object for module APR::Request which is coming from use APR::Request (); in my startup.pl Am i just missing something stupid? APR::Request should be there by way of installing libapreq2, shouldn't it? Thanks You need Request.so for that. Your install issues sound like it might be a perl or gcc difference between what you used to build mod_perl and libapreq2. - Frank Wiles [EMAIL PROTECTED] http://www.wiles.org -
RE: Help with Manual removal of libapreq2
Thanks Guys, Everything is working now (but I still have no idea how they got that way). I removed the entire APR/* dir out of the perl dir and everything was good. So I must have had 2 versions of libapreq installed and the wrong one was being found via @INC??? I don't know, but its working!!! Thanks! -Chris From: Frank Wiles [mailto:[EMAIL PROTECTED] Sent: Mon 5/14/2007 1:25 PM To: cfaust-dougot Cc: Jonathan Vanasco; modperl@perl.apache.org Subject: Re: Help with Manual removal of libapreq2 On Mon, 14 May 2007 11:40:46 -0400 cfaust-dougot [EMAIL PROTECTED] wrote: Thanks Jonathan, I think that helped get me closer. I removed the Request.so (don't know where it came from if it shouldn't have been there), now I get Can't locate loadable object for module APR::Request which is coming from use APR::Request (); in my startup.pl Am i just missing something stupid? APR::Request should be there by way of installing libapreq2, shouldn't it? Thanks You need Request.so for that. Your install issues sound like it might be a perl or gcc difference between what you used to build mod_perl and libapreq2. - Frank Wiles [EMAIL PROTECTED] http://www.wiles.org http://www.wiles.org/ -