Re: getting libperl.so

From: Karl DeBisschop <kdebisschop(at)h00a0cc3b7988(dot)ne(dot)mediaone(dot)net>
To: pgsql-general(at)hub(dot)org
Subject: Re: getting libperl.so
Date: 2000-05-18 05:37:53
Message-ID: 392381B1.F87DEF5@h00a0cc3b7988.ne.mediaone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Tom Lane wrote:
> >
> > > Travis Bauer <trbauer(at)indiana(dot)edu> writes:
> > > > compile plperl.so. But I can't because appearantly libperl.so is not
> > > > configured properly on my machine. I'm using Mandrake 7.0, and the only
> > > > copy of libperl.so that I can find is in: /usr/lib/apache (thanks to the
> > > > mod-perl rpm).
> > >
> > > Probably your main perl installation is not using a shared libperl?
> > >
> > > You may have to pull down the perl source distribution and
> > > configure/compile/install it yourself. Should be pretty painless,
> > > really (certainly nothing to fear if you can build Postgres from
> > > source ;-)). Don't forget to say "yes" when the configure script asks
> > > you if you want a shared libperl. You can probably default all the
> > > other answers, except maybe for the location you want the perl directory
> > > tree placed ...
> > >
> > > regards, tom lane
> > >
> > > PS: be careful not to lose any Perl modules you may have installed
> > > that don't come with the source distribution.

or 'ar -a libperl.a' into a directory then gcc the resulting .o files
into a single libperl.so

You will have to run ldconfig and tweak the makefile because perl
won't know that .so is available, but I've used this just fine on
RedHat, which also doesn't include a shared libperl.

Karl DeBisschop
www.infoplease.com

Browse pgsql-general by date

  From Date Subject
Next Message Karl DeBisschop 2000-05-18 05:39:31 Re: getting libperl.so
Previous Message Tom Lane 2000-05-18 03:18:54 Re: pg_dump return failed sanity check