Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 17:05:00 +1100
From:      Sam Lawrance <boris@brooknet.com.au>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        ports@freebsd.org
Subject:   Re: mysqltcl
Message-ID:  <1108620300.677.43.camel@dirk.no.domain>
In-Reply-To: <031e01c514b3$81e42040$7702a8c0@officeeagle>
References:  <D092F82A556664A2F9A9F06C@utd49554.utdallas.edu> <1108514045.686.27.camel@dirk.no.domain> <223BF64DCA8FD436A0BC6F52@utd49554.utdallas.edu> <1108602813.677.31.camel@dirk.no.domain> <031e01c514b3$81e42040$7702a8c0@officeeagle>

next in thread | previous in thread | raw e-mail | index | archive | help
(cc'ed back to ports, hope that's ok)

On Wed, 2005-02-16 at 23:42 -0600, Paul Schmehl wrote:
> > How
> > exactly do the dependencies fail to install?
> 
> During the install I would see something like this:
> Looking for /usr/local/lib/tcl - not found
> Verifying install for /usr/local/lib/tcl84
> 
> Then it would move on to the next port, but nothing would get installed.

Dependencies are installed with the 'install' target which works only
once. tcllib is probably not being installed because it needs cleaning
out. Be sure to run

	# make clean

in your port directory before you build to make sure dependencies are
cleaned out.

> Here's what I don't understand.  If I write:
> LIB_DEPENDS+=    libtcl.so:${PORTSDIR}/devel/tcllib
> it fails.  Yet, if I write it like this:
> LIB_DEPENDS+=    tcl:${PORTSDIR}/devel/tcllib
> it succeeds.  So, it ignores the first part (lib) and the last part (so)? 
> Or it assumes them?

That's right. You're not providing a filename, you're providing a
library name and version number.

Here's a sample output line from ldconfig -r:

        604:-lds.1 => /usr/local/lib/libds.so.1
              ^^^^
              This is the part it searches for, hence the format of the
              first part of the LIB_DEPENDS tuple.
              It can be matched with either 'ds' (no version specified)
              or 'ds.1' (major version 1)





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