Re: pl/perl won't build under 7.1.3 - Mailing list pgsql-general

From teg@redhat.com (Trond Eivind Glomsrød)
Subject Re: pl/perl won't build under 7.1.3
Date
Msg-id xuywv0de9ux.fsf@halden.devel.redhat.com
Whole thread Raw
In response to pl/perl won't build under 7.1.3  ("-wiseguy" <no-one@all.net>)
List pgsql-general
"Jim Buttafuoco" <jim@spectrumtelecorp.com> writes:

> Hi,
>
> I "fixed" the Makefile.PL script under src/pl/plperl and
> removed the if ($Config{'useshrplib'} ne 'true') { ... } code.
>
> This will link in the static libperl.a file.  The only down side
> of this is your libplperl.so file is going to be larger.

That's not the only downside, on most architectures it won't
work. Code used like this should be compiled with -fpic, and static
libraries rarely are.

--
Trond Eivind Glomsrød
Red Hat, Inc.

pgsql-general by date:

Previous
From: Holger Krug
Date:
Subject: how to access the transaction id ?
Next
From: "Jim Buttafuoco"
Date:
Subject: Re: pl/perl won't build under 7.1.3