Re: compile error - Mailing list pgsql-general

From Soma Interesting
Subject Re: compile error
Date
Msg-id 5.0.2.1.0.20010402173749.02a71008@pop.telus.net
Whole thread Raw
In response to Re: compile error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: compile error
List pgsql-general
At 06:38 PM 4/2/2001 -0400, you wrote:
>Soma Interesting <dfunct@telus.net> writes:
> > Judging by the mailing list archives, lots of people have ran into this,
> > but none received answers.
>
>You must not have looked in the right threads.
>
>If you're building interfaces/perl5 by hand (ie, not letting
>src/interfaces/Makefile do it for you) then you need to say
>
>         perl Makefile.PL POLLUTE=1
>
>which is what the Makefile does (at least in recent releases).
>
>This is fixed in 7.1, but earlier releases need the "POLLUTE=1".
>
>                         regards, tom lane

Thanks, Tom. One last hurdle (yeah right),

I copied plperl.so into the same folder as plpgsql.so (/usr/lib/pgsql/lib).
Then ran createlang --PGLIB=/usr/lib/pgsql/lib plperl database_name and got
no errors.

I then wrote a hello world plperl function and called it but got this error:

ERROR:  Load of file /usr/lib/pgsql/lib/plperl.so failed: libperl.so:
cannot open shared object file: No such file or directory.


pgsql-general by date:

Previous
From: Stephen Davies
Date:
Subject: How to display constraints?
Next
From: Tom Lane
Date:
Subject: Re: compile error