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

From Jim Buttafuoco
Subject Re: pl/perl won't build under 7.1.3
Date
Msg-id 200111261839.fAQIdL230009@server3.spectrumtelecorp.com
Whole thread Raw
In response to pl/perl won't build under 7.1.3  ("-wiseguy" <no-one@all.net>)
Responses Re: pl/perl won't build under 7.1.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Ok,  I believe you.  I am going to try on Solaris 8 and Tru64 now.  I
believe this is a real pain because I don't know of anyone that "ships"
perl with a shared lib.




> "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: "Mark Muffett"
Date:
Subject: Problem with the mailing list?
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: [PATCHES] Version checking when loading psql