On Tue, 2005-03-22 at 13:19 -0500, Tom Lane wrote:
> Tim Bowden <tim.bowden@westnet.com.au> writes:
> > I'm trying to compile 8.0.1 on a 64bit Ubuntu system and get the following error:
> > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fpic -shared
-Wl,-soname,libplperl.so.0 plperl.o spi_internal.o SPI.o -L../../../src/port -L/usr/local/lib
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a-L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
-Wl,-rpath,/usr/lib/perl/5.8/CORE-o libplperl.so.0.0
> > /usr/bin/ld: cannot find -lperl
>
> Is there a libperl.so or libperl.a in /usr/lib/perl/5.8/CORE? If not,
> but you see one in some related directory, then our configure script
> messed up (or Ubuntu is using a whacked-out Perl setup). If there's
> none to be found anywhere, you have an incomplete Perl installation.
Jackpot. apt-get install libperl-dev did the trick. Thanks Tom and
Geff. Your assistance is much appreciated.
Tim Bowden