Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 18:38:02 -0400
From:      Brandon Allbery <allbery.b@gmail.com>
To:        Michael Ross <gmx@ross.cx>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: pkg question - Difference pkg vs port
Message-ID:  <CAKFCL4UX1Z-UsJYix8RR1eSkU38j04UE3WOt7d-Wz4yZX9J9OQ@mail.gmail.com>
In-Reply-To: <op.xlmsddjrg7njmm@michael-think>
References:  <op.xlmsddjrg7njmm@michael-think>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 3, 2014 at 5:52 PM, Michael Ross <gmx@ross.cx> wrote:

> This is the exact same output I get when I install with ``pkg install
> py27-MySQLdb'',
> yet the pkg version does not accept mysql56, but insists on mysql55,
> the fact that both use libmysqlclient.so.18 notwithstanding.
>
> How do I handle this?, i. e. how do I, can I, manually change the
> dependency
>         mysql55-client-5.5.39
> to
>         mysql56-client-5.6.20
> ?
>
> I have to use mysql56, does this mean I have to install the python module
> via the port?
>

A package can (currently?) only be built against a single version of a
dependency; if it was built against mysql55-client, it can't be also built
for mysql56-client. You'll need to use the port, which can be built against
anything that provides the necessary build time dependency.

(It might be possible to force the package to install, but this is asking
for trouble in the future.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKFCL4UX1Z-UsJYix8RR1eSkU38j04UE3WOt7d-Wz4yZX9J9OQ>