Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 09:35:03 -0700
From:      Steven Schlansker <stevenschlansker@gmail.com>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: Installing bacula-server with PostgreSQL 9.2
Message-ID:  <6534BBBF-4D98-4FCB-A9AC-4564B0373E08@gmail.com>
In-Reply-To: <533CF8EB.7090403@FreeBSD.org>
References:  <413DCEA9-DE6D-4834-B9F1-6C08C7BE5F2C@likeness.com> <533CF8EB.7090403@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 2, 2014, at 11:00 PM, Matthew Seaman <matthew@FreeBSD.org> wrote:

> On 03/04/2014 02:11, Steven Schlansker wrote:
>> [steven@d0028:~]% sudo pkg install -f bacula-server
>> Updating repository catalogue
>> The following 2 packages will be installed:
>>=20
>>        Installing postgresql90-client: 9.0.17
>>        Installing bacula-server: 5.2.12_3
>>=20
>> The installation will require 11 MB more space
>>=20
>> Oh no!  I=92m running postgresql92-client!
>=20
> The dependency on postgresql90 is "baked into" the compiled package, =
and
> it is not possible to use that package with a different version of
> postgresql. Apart from anything else, any binaries are linked against
> the specific ABI versions of shlibs provided by the postgresql client
> package. 'pkg set -o' is not an answer in this case,

That=92s very unfortunate!  I would expect a binary built against libpq =
9.0
to work fine when linked with libpq 9.3, but can=92t say that I know =
exactly
how good PostgreSQL is about binary compatibility.

>=20
> If you want to use a different version of postgresql, then you're =
going
> to have to compile anything that links against the postgresql shlibs
> yourself (ie. that depends on postgresql90-client).


That would be okay if a little unfortunate, except the port seems broken =
in 10.0-R as well :(

make[3]: don't know how to make /usr/include/openssl/pq_compat.h. Stop

make[3]: stopped in =
/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/cats
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/bacula-server


>  It is possible to
> run your own repo with just stuff that depends on postgresql and pull
> down anything else from pkg.FreeBSD.org, but you will find your local
> repo ends up containing more than locally built pkgs than is strictly
> necessary -- ie. everything that those postgresql consuming pkgs =
depend
> upon, even if those dependencies are themselves completely independent
> of postgresql.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6534BBBF-4D98-4FCB-A9AC-4564B0373E08>