hi, I'm trying to package perl-axkit, from axkit.org. I have successfully build perl-axkit and upload it.
When i'm trying to run it under apache/mod_perl as described on: http://www.axkit.org/wiki/view/AxKit/QuickStart apache output an error on loading the shared library libapreq.so from Apache/Request/Request.so Apache::Request is built against libapreq.so which both are provided by perl-apache. # openpkg rpm -ql perl-apache |grep libapreq.so /opkg/lib/perl/vendor_perl/5.8.8/i686-linux/auto/libapreq/libapreq.so But at run time apache/mod_perl does'nt find libapreq.so. # ldd /opkg/lib/perl/vendor_perl/5.8.8/i686-linux/auto/Apache/Request/Request.so |grep found libapreq.so => not found My huggly solution, is moving: # mv /opkg/lib/perl/vendor_perl/5.8.8/i686-linux/auto/libapreq/libapreq.so /opkg/lib/ and restart apache. After his, perl-axkit work fine ! Did you have any idea how to make my huggly solution in a cleaner way? perhaps building Apache::Request static ? or by moving libapreq.so under %l_prefix/lib ? Below the detail of error: apache/log/errog.log [Mon Mar 5 23:58:03 2007] [warn] [client 127.0.0.1] [AxKit] Caught an exception [Mon Mar 5 23:58:03 2007] [error] [client 127.0.0.1] [AxKit] [Error] Load of 'Apache::AxKit::Language::Sablot' failed with: AxKit::load_module failed: Can't load '/opkg/lib/perl/vendor_perl/5.8.8/i686-linux/auto/Apache/Request/Request.so' for module Apache::Request: libapreq.so: cannot open shared object file: No such file or directory at /opkg/lib/perl/5.8.8/i686-linux/DynaLoader.pm line 230.\n at /opkg/lib/perl/site_perl/5.8.8/i686-linux/mod_perl.pm line 14\nCompilation failed in require at /opkg/lib/perl/vendor_perl/5.8.8/i686-linux/Apache/AxKit/Language/Sablot.pm line 9.\nBEGIN failed--compilation aborted at /opkg/lib/perl/vendor_perl/5.8.8/i686-linux/Apache/AxKit/Language/Sablot.pm line 9.\nCompilation failed in require at (eval 32) line 1.\n ______________________________________________________________________ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org