Subject: Re: pkg/34736: perl5 fails to build on fedora core 5 linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ben Collver <collver@peak.org>
List: pkgsrc-bugs
Date: 10/06/2006 21:55:04
The following reply was made to PR pkg/34736; it has been noted by GNATS.

From: Ben Collver <collver@peak.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34736: perl5 fails to build on fedora core 5 linux
Date: Fri, 6 Oct 2006 14:53:35 -0700

 I forgot to mention that my PREFIX=/pkg
 
 My problem appears to be a linking issue in miniperl.  It links to
 libperl.so, but does not have the build directory in the search path.
 
 
 # cd work/perl-5.8.8
 # ./miniperl -w -Ilib -MExporter -e '<?>'
 ./miniperl: error while loading shared libraries: libperl.so: cannot
 open shared object file: No such file or directory
 
 
 Here is a crude workaround that makes my build succeed.
 
 
 # cp libperl.so /pkg/lib
 # ./miniperl -w -Ilib -MExporter -e '<?>'
 # echo $?
 0
 # rm makefile x2p/makefile
 # cd ../..
 # bmake
 
 
 Ben