Re: PostgreSQL 8.2.5 compile problem

From: Madison Kelly <linux(at)alteeve(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.2.5 compile problem
Date: 2007-11-16 05:34:55
Message-ID: 473D2BFF.3060003@alteeve.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Madison Kelly <linux(at)alteeve(dot)com> writes:
>> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
>> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic
>> -shared -Wl,-soname,libplperl.so.0 plperl.o spi_internal.o SPI.o
>> -L/usr/local/lib -L/usr/lib/perl/5.8/CORE -L../../../src/port
>> /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -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
>
>> After this error, I searched for 'libplperl.so.0.0' but couldn't find
>> it (I did updatedb first).
>
> It's complaining about the lack of libperl.so ... the other one is what
> it wants to build.
>
>> The 'configure' step seemed to be okay:
>
> AFAICT, our configure just believes what perl's ExtUtils::Embed and
> Config modules tell it ... it doesn't actually test the results. So I'm
> thinking either libperl.so isn't installed, or it isn't where those
> modules say it is --- which would be a Perl misconfiguration.
>
> regards, tom lane

Doh!

Was missing the libperl-dev package. Thanks! :)

Madi

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2007-11-16 05:47:22 Re: Common criteria evaluation?
Previous Message Willem Buitendyk 2007-11-16 04:09:46 Re: Bulk Load Ignore/Skip Feature