Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 06:59:01 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg: Can't install pgAdmin3
Message-ID:  <53ABB6A5.4050001@FreeBSD.org>
In-Reply-To: <lofcfo$h4l$1@ger.gmane.org>
References:  <lo6roc$nf$1@ger.gmane.org> <F9D47E26F1CB4140BC37ED2EC70D8CC8@gmail.com> <lofcfo$h4l$1@ger.gmane.org>

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

On 25/06/2014 21:46, Walter Hurry wrote:
> On Tue, 24 Jun 2014 19:22:13 -0700, Patrick wrote:
>=20
>> On Sunday, June 22, 2014 at 8:12, Walter Hurry wrote:
>>> I have switched (mostly) to binary packages. However, I cannot instal=
l
>>> databases/pgadmin3 using 'pkg install pgadmin3'.
>>>
>>> The reason is that it tries to install postgresql92-client first, whi=
ch
>>> fails as I already have postgresql93-client installed.
>>>
>>> Why is pkg unable to use the existing postgresql93-client? pgadmin3
>>> builds and installs quite happily from the port.
>>>
>>> Incidentally, I have the same problem with psycopg2.
>> =20
>> You'll probably have to build your own binaries using Poudriere if
>> you're not going to go with current defaults. Or just make install fro=
m
>> the ports tree would be the simpler solution.
>>
> Thanks for the reply. Yes, I have built and installed the binaries from=
=20
> ports. But my question remains: What is lacking in the architecture of =

> pkg that it cannot cope with this?

If you're installing using binary packages then you have two choices:

  1) Use the packages from the official repository, understanding that
this means installing postgresql-9.2, as that's the default version used
in ports.

  2) Use postgresql-9.3, understanding that this means you will have to
compile your own version of any package that depends on postgresql
client, and you'll need to add the right DEFAULT_VERSIONS setting into
make.conf to do so.

Basically, it all boils down to "does the package contain binaries that
link against libpq.so.5 or to libpq.so.4" (or equivalently any of the
other shlibs in the postgresql client packages) ?  This is a fundamental
limitation and it derives from the way that ELF shared library support
works.  Different ABI versions of shared libraries are not interchangeabl=
e.

	Cheers,

	Matthew

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



--DPHGTc1qpk32hxGTNJCIreu1xkMBPLjkS
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/

iQJ8BAEBCgBmBQJTq7atXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT5+EP/3tfSWoqseAP6iR8SwIb74xT
FHIu5ZU34rwHpxAQge8SkAnmJCXD4LguWtzs9YqzbWLphkksxpIgc3yW40s3KRik
Rrs9eauEdp7Mbzi4Nrjj9QqskAl/1YDzUWcds+5gxec3jd7zCCXonBiKdak7pA1/
jcjCYYf231xnv4UvJjqb/XNyzL5bW9YzQPt1fdnLSasx17ExsKoMh1yPp00EzeI9
9XgWptEmKBz+CdjkDNbB0j06qUQhP6OwudbD/3gSQ9MrKBD+dXcszkvc3bqmtCmO
65FZfm2xOoiUDlDX7rwfHvtucIUS40x7OARIOY8k8LZTNr7LZsh476o2YxeAT3cx
bT+cKsJuQttzY5TeRizu3skHki17SYQQk4a5AYGCeL7DyA70lWVrc7A+ZmjJ4MiS
ZBvdg6weNhQxOhEEjiwADXrbxTZxlUDZ/S0kwTm2ujh82ijWe659HswZKDb3Oe6b
OwXJkzdHvK5Gut6WdTkfTtyGkVvlyvB4sSDU6S3+qixMZMYJM0VhF28JsYhSJlUa
zwEL7cEGLpIqkrVAShG2W3/6wULf/yjdS3C6gdPQbFlqIsUM7atN5uCL3OGFJtKy
XlDPItxDzSVrAtt6RbiEuMKBU6kzN3aJgGuq9cRpb2LuxJYXkCcN0E73cg0/7P0E
V6l0DIAti16De73fZjJ+
=jV0J
-----END PGP SIGNATURE-----

--DPHGTc1qpk32hxGTNJCIreu1xkMBPLjkS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ABB6A5.4050001>