Re: pl/perl won't build under 7.1.3

From: "Jim Buttafuoco" <jim(at)spectrumtelecorp(dot)com>
To: teg(at)redhat(dot)com (Trond Eivind Glomsrd), "-wiseguy" <no-one(at)all(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: pl/perl won't build under 7.1.3
Date: 2001-11-26 17:07:38
Message-ID: 200111261707.fAQH7c026854@server3.spectrumtelecorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)all(dot)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
>
>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-11-26 17:10:46 Re: pl/perl won't build under 7.1.3
Previous Message Holger Krug 2001-11-26 16:48:14 how to access the transaction id ?