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 200111261707.fAQH7c026854@server3.spectrumtelecorp.com
Whole thread Raw
In response to pl/perl won't build under 7.1.3  ("-wiseguy" <no-one@all.net>)
List pgsql-general
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.

Let me know if this works for you also.

Jim

PS. Running on RedHat Linux version 4.x to 7.2 with the above hack.




> "-wiseguy" <no-one@all.net> writes:
>
> > Hi:
> >
> > Why won't pl/perl build under the install for postgresql 7.1.3?  My
perl
> > installation only has libperl in the archive format (libperl.a) and
the perl
> > makefile calls for libperl.so...building perl form scratch is not an
option.
> > Is there a quick hack to allow pl/perl to build using libperl.a?
>
> You need a dynamic library for dynamic extensions, you can't use a
> static library.
>
> --
> Trond Eivind Glomsrød
> Red Hat, Inc.
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>



pgsql-general by date:

Previous
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: pl/perl won't build under 7.1.3
Next
From: kdebisschop
Date:
Subject: Re: pl/perl won't build under 7.1.3