Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 00:14:50 +0200
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        "Paul A. Hoadley" <paulh@logicsquad.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Dealing with unversioned shared libraries
Message-ID:  <20051129001450.14e813f5@it.buh.tecnik93.com>
In-Reply-To: <20051128220819.GA8650@bigbird.logicsquad.net>
References:  <20051128220819.GA8650@bigbird.logicsquad.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Nov 2005 08:38:19 +1030
"Paul A. Hoadley" <paulh@logicsquad.net> wrote:

> Hello,
> 
> I am trying to update the textproc/refdb port.  The RefDB port depends
> on one or more of the database/libdbi-drivers shared libraries, and
> hence indirectly on database/libdbi.
> 
> RefDB 0.9.6 (the latest version) needs the latest version of libdbi
> (libdbi-0.8.1).  It won't build under previous versions of libdbi.  As
> far as I can see (though I have only a rudimentary familiarity with
> the shared library system), the shared libraries installed by
> database/libdbi and database/libdbi-drivers aren't versioned.  That
> is, database/libdbi installs:
> 
> -rw-r--r--   1 root   wheel    41852 Nov 14 18:26 libdbi.a
> lrwxr-xr-x   1 root   wheel       11 Nov 14 18:26 libdbi.so@ ->
> libdbi.so.0 -rwxr-xr-x   1 root   wheel    47133 Nov 14 18:26
> libdbi.so.0*
> 
> And, for example, selecting the MySQL backend for
> database/libdbi-drivers installs:
> 
> -rwxr-xr-x  1 root  wheel  23156 Nov 14 18:27 libmysql.so*
> 
> in /usr/local/lib/dbd.  Is there a way I can specify the dependence on
> libdbi-0.8.1, and the corresponding libdbi-drivers?

LIB_DPENDS=PORTNAME>=PORTVERSION_PORTREVISION_PORTEPOCH:${PORTSDIR}/Category/Port
 (i.e. BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple)


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

You say you are lying.  But if everything you say is a lie, then you
are telling the truth.  You cannot tell the truth because everything
you say is a lie.  You lie, you tell the truth ... but you cannot, for
you lie.
		-- Norman the android, "I, Mudd", stardate 4513.3





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