Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Apr 2014 07:00:11 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Installing bacula-server with PostgreSQL 9.2
Message-ID:  <533CF8EB.7090403@FreeBSD.org>
In-Reply-To: <413DCEA9-DE6D-4834-B9F1-6C08C7BE5F2C@likeness.com>
References:  <413DCEA9-DE6D-4834-B9F1-6C08C7BE5F2C@likeness.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--W9n38u3h9sePOhgoxEScMblumGJiKQuC8
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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!

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,

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

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--W9n38u3h9sePOhgoxEScMblumGJiKQuC8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTPPj0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATLPoQAK6daVlG0O9gpRLOrXOz+DXh
AFF3l7gQT2MjzRWEAjlbtxaM76izu8xqemvVleA/Tw+6EyRKsayv2wFN0CL4g1/p
6zVS1MO6Lz486f/1F43//Sxbm8TmatgLzoq/3WXGMiWbu8LAUxyX3xRCERCNelOJ
UAobdUL93VToLOCqfoo/+/f0tYiu9P9HqCgsGQx8PyXddLrQI/fj13S0xem6fFgo
0I5hr5ojJ+ieGGzYIi/jShypqq6dWjLlJhsH196Xn8BbY+g5RdBXQX8ISp3A8/fW
o0Slg1OtMDY7j6PYpu0MhlyAnTiRIMaNIsrzmcNrEMGnUvXazyQ0JQwKO3xfIYp5
pylh5kxYbQ2pTav+oQh6P9Xooc2PCcIxBnMeCSYThZxJMLPap7DQshB9xkpbonKc
CH+9FEpsuP/Q4b3IbB/Zg6YgzYlEHRFF4hEzUZ+QadRPv8kz1VL4cP8CXPwKjDd1
jmWP584TbS+fmri2gOM7mWY/xmsXUmHi4TK629lQKoQIu/PJVcfZAtW+GoOMcW0Q
7yrqSO00LoIyIkB7ksb+SEDsAPI0upc1CGTtmDY1GH7e3oUch2XdVB5ATxsoQ7bQ
pG9QjB5AkaH8yx65zvNUZoDAFxEFtdLOOoQP3gy3NPkK6Lxs0db/G+ziyaJ9rABE
XbesxdwCryvO4J7b0+a9
=pwqO
-----END PGP SIGNATURE-----

--W9n38u3h9sePOhgoxEScMblumGJiKQuC8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?533CF8EB.7090403>