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
>
>