Dealing with unversioned shared libraries

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Mon Nov 28 22:17:00 GMT 2005


On Tue, 29 Nov 2005 08:38:19 +1030
"Paul A. Hoadley" <paulh at 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




More information about the freebsd-ports mailing list