Hi,

I was wondering if anyone else had seen an error like this:
[Fri Dec 12 00:31:25 2003] [error] [client 172.21.1.77] [AxKit] [Error]
Load of 'Apache::AxKit::Language::XSP' failed with: AxKit::load_module
failed: Can't load
'/web/perl582/lib/site_perl/5.8.2/i386-linux-thread-multi/auto/Apache/Request/Request.so'
for module Apache::Request: libapreq.so: cannot open shared object file:
No such file or directory at
/web/perl582/lib/5.8.2/i386-linux-thread-multi/DynaLoader.pm line 229.

Where under Perl 5.8.2 AxKit 1.62 and libapreq-0.31_03, there seems to
be a problem where by libapreq.so can not be found.

I fixed this by changing:
./Cookie/Makefile.PL
./Request/Makefile.PL

to something like this:
...
    #grr, must trick ExtUtils::Liblist
    #    system "touch $root/libapreq.a";
        WriteMakefile(
          @mm_args,
          'INC' => "-I../c ". $src->inc,
          'TYPEMAPS' => $src->typemaps,
          'MYEXTLIB' => $root.'/libapreq$(LIB_EXT)',
         # 'LIBS' => "-L$root  -lapreq",
           );
   #    unlink "$root/libapreq.a"
....


So that it finds the static archive and links that at build time.

Has anyone else seen this and had another way of fixing it?


Cheers,

Piers Harding.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to