Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 01:55:21 +0100
From:      lewiz <purple@lewiz.info>
To:        Joshua Oreman <oremanj@www.get-linux.org>
Cc:        ports@freebsd.org
Subject:   Re: ld and libraries troubles (newbie).
Message-ID:  <20030708005521.GA18650@lewiz.org>
In-Reply-To: <20030708005147.GC40769@webserver.get-linux.org>
References:  <20030708004340.GB18537@lewiz.org> <20030708005147.GC40769@webserver.get-linux.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 07, 2003 at 05:51:47PM -0700, Joshua Oreman wrote:
> > For some reason it does not find libexpat (ld: cannot find -lexpat),
> > which is available in /usr/local/lib.  I created a symlink to /usr/lib
> > and it worked, but then failed when make got to libintl.a (in
> > /usr/local).  I've done my best to read the Porter's Handbook
> > (especially the chapter on Dependencies) but this has been of little
> > help.  Any pointers in the right direction would be greatly appreciated!
>=20
> DON'T depend on symlinking libraries, since when the port installs the
> end user might not have those symlinks.

Hehe, I know.  Sorry, I didn't make it clear that was a temporary
work-around.

> Add -L/usr/local/lib to the link line in the Makefile. Make a patch
> to do this.

Is that the only way to solve this issue?  I was expecting there to be
some option for the port Makefile?

  Thanks very much,

-lewiz.

--=20
Chism's Law of Completion:
	The amount of time required to complete a government project is
precisely equal to the length of time already spent on it.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |-

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/ChZ5Itq0KFQv7T8RAqZgAKCDwTZt44pdzxM6udkbo50v6uYpTgCdHVko
vJLIubWmpiBiGAHRNFifQsA=
=zmhH
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--



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