Skip site navigation (1) Skip section navigation (2)

Re: PL/perl should fail on configure, not make

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/perl should fail on configure, not make
Date: 2013-01-09 15:30:03
Message-ID: kck2do$6no$ (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
* Christoph Berg wrote:

> Re: Tom Lane 2013-01-09 <9802(dot)1357702675(at)sss(dot)pgh(dot)pa(dot)us>

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

That was Tom's point, I believe -- Debian does not do it that way.

- perl-base has /usr/lib/
- perl has the headers and a dependency on perl-base
- libperl-dev has the symlink /usr/lib/ >

So by installing "perl", you get enough to satisfy configure, but there 
is still no usable -lperl.


In response to


pgsql-hackers by date

Next:From: Fujii MasaoDate: 2013-01-09 15:56:30
Subject: segmentation fault in pg_basebackup
Previous:From: Andres FreundDate: 2013-01-09 15:18:51
Subject: Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al. emulation for frontend'ish environs

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group