Re: PL/Perl in 7.1.1

From: Justin Clift <justin(at)postgresql(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Jeff Patterson <jpat(at)sonic(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Perl in 7.1.1
Date: 2001-05-17 15:42:55
Message-ID: 3B03F17F.E08B7707@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Guys,

If this works, can someone let me know?

I'll put it on the techdocs site to let people work around this.

:-)

Regards and best wishes,

Justin Clift

Peter Eisentraut wrote:
>
> Jeff Patterson writes:
>
> > I recently upgraded from 7.0.3 to 7.1. Everything went fine until I went to
> > install plperl using createlang. It throws the following error message:
> >
> > ERROR: Load of file /usr/local/pgsql/lib/plperl.so failed: /usr/lib/perl5/5.6.0/i686-linux/auto/Opcode/Opcode.so: undefined symbol: Perl_save_vptr
>
> Here's a wildish guess: Get out your PostgreSQL sources, go to the
> directory src/backend/port/dynloader, file linux.h and change
>
> dlopen(f, 2)
>
> to
>
> dlopen(f, RTLD_LAZY | RTLD_GLOBAL)
>
> and rebuild the backend. (If you don't have Linux you can still make a
> similar change in the respective *.h file.)
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

In response to

Browse pgsql-general by date

  From Date Subject
Next Message danw 2001-05-17 17:26:56 outer join fails with error - solaris only
Previous Message jacky_shu 2001-05-17 15:13:11 NEED Postgresql ODBC driver.