Re: Compiling 8.0.1 on Ubuntu AMD_64 - Mailing list pgsql-novice

From Tom Lane
Subject Re: Compiling 8.0.1 on Ubuntu AMD_64
Date
Msg-id 10618.1111515574@sss.pgh.pa.us
Whole thread Raw
In response to Compiling 8.0.1 on Ubuntu AMD_64  (Tim Bowden <tim.bowden@westnet.com.au>)
Responses Re: Compiling 8.0.1 on Ubuntu AMD_64
List pgsql-novice
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.

Another possibility is that you have only libperl.a and need libperl.so,
but offhand I'd not expect that particular error message if that were
the issue.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Celia McInnis"
Date:
Subject: Re: timestamp group by bug???
Next
From: Jack Miller
Date:
Subject: dump & create with a cron job