mysqltcl

Sam Lawrance boris at brooknet.com.au
Wed Feb 16 22:04:04 PST 2005


(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)





More information about the freebsd-ports mailing list