Comment 1 for bug 4727

Revision history for this message
In , Ron Lee (ron-debian) wrote : Re: Bug#322448: libapache-request-perl: Apache::Request fails with unresolved dynamic load

Hi,

You'll have to forgive my initial incredulity here, but this
patch appears to be some 2+ years old. Why exactly has no one
run into this and/or reported it before now?

thanks,
Ron

On Wed, Aug 10, 2005 at 10:34:26AM -0700, Jeffrey W. Baker wrote:
> Package: libapache-request-perl
> Version: 1.1-0.1
> Severity: grave
> Tags: patch
> Justification: renders package unusable
>
>
> The package is unusable because it is linked incorrectly. The error
> message is:
>
> Can't load '/usr/lib/perl5/auto/Apache/Request/Request.so' for module
> Apache::Request: libapreq.so: cannot open shared object file: No such
> file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.\n at
> /usr/lib/perl5/mod_perl.pm line 14
>
> Here is a patch:
>
> Index: Cookie/Makefile.PL
> ===================================================================
> RCS file: /home/cvs/httpd-apreq/Cookie/Makefile.PL,v
> retrieving revision 1.5
> diff -u -r1.5 Makefile.PL
> --- Cookie/Makefile.PL 3 Apr 2001 19:24:08 -0000 1.5
> +++ Cookie/Makefile.PL 31 Jul 2003 11:31:06 -0000
> @@ -27,7 +27,7 @@
> @mm_args,
> 'INC' => "-I../c ". $src->inc,
> 'TYPEMAPS' => $src->typemaps,
> - 'LIBS' => "-L$root -lapreq",
> + 'OBJECT' => "Cookie.o $root/libapreq.a",
> 'dynamic_lib' => {
> 'OTHERLDFLAGS' => $src->otherldflags,
> },
> Index: Request/Makefile.PL
> ===================================================================
> RCS file: /home/cvs/httpd-apreq/Request/Makefile.PL,v
> retrieving revision 1.5
> diff -u -r1.5 Makefile.PL
> --- Request/Makefile.PL 3 Apr 2001 19:24:09 -0000 1.5
> +++ Request/Makefile.PL 31 Jul 2003 11:31:06 -0000
> @@ -27,7 +27,7 @@
> @mm_args,
> 'INC' => "-I../c ". $src->inc,
> 'TYPEMAPS' => $src->typemaps,
> - 'LIBS' => "-L$root -lapreq",
> + 'OBJECT' => "Request.o $root/libapreq.a",
> 'dynamic_lib' => {
> 'OTHERLDFLAGS' => $src->otherldflags,
> },
>
> -- System Information:
> Debian Release: 3.1
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.5-SLES9_SP1_BRANCH_2004111114454891_lustre.1.4.0smp
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
>
> Versions of packages libapache-request-perl depends on:
> ii libapache-mod-perl 1.29.0.3-7 integration of perl with the Apach
> ii perl 5.8.7-4 Larry Wall's Practical Extraction
> ii perl-base [perlapi-5.8.7] 5.8.7-4 The Pathologically Eclectic Rubbis
>
> libapache-request-perl recommends no packages.
>
> -- no debconf information
>
>