ld and libraries troubles (newbie).
lewiz
purple at lewiz.info
Mon Jul 7 17:55:58 PDT 2003
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!
>
> 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.
--
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 at lewiz.net | jab:lewiz at jabber.org | url:http://lewiz.net |-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030708/11c73f91/attachment.bin
More information about the freebsd-ports
mailing list