Re: PL/perl should fail on configure, not make - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: PL/perl should fail on configure, not make
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: PL/perl should fail on configure, not make  (Tom Lane <[email protected]>)
Responses Re: PL/perl should fail on configure, not make
List pgsql-hackers
Re: Tom Lane 2013-01-09 <[email protected]>
> Item: there is not a test for perl.h, as such, in configure.  There
> probably should be, just because we have comparable tests for tcl.h
> and Python.h.  However, adding one won't fix your problem on
> Debian-based distros, because for some wacko reason they put the
> headers and the shlib .so symlink in different packages, cf
> http://packages.debian.org/squeeze/amd64/perl/filelist
> http://packages.debian.org/squeeze/amd64/libperl-dev/filelist
> I am unfamiliar with a good reason for doing that.  (I can certainly
> see segregating the .a static library, or even not shipping it at
> all, but what's it save to leave out the .so symlink?)

Because the .so symlink is only needed at build time. At runtime, you
need the .so.5.14 file. Hence .so.* -> $pkg, .h .a .so -> $pkg-dev.

Christoph
-- 
[email protected] | http://www.df7cb.de/



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Extra XLOG in Checkpoint for StandbySnapshot
Next
From: Hannu Krosing
Date:
Subject: Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"