Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 15:47:04 -0500
From:      "Thatcher Hubbard" <hubbardj@earthlink.net>
To:        "'Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   ld problems, I think
Message-ID:  <000201befd5f$f8a2eca0$0500a8c0@tellico>

next in thread | raw e-mail | index | archive | help
Hi all,

  I'm having problems with my shared libraries on a recently cvsup'd
3.2-STABLE system.  For some reason, ldconfig and ld dont' seem to want to
find any libraries I've installed under /usr/local/lib.
  Specifically, I've installed, the gif, tiff, jpeg, and png libs from the
ports collection so I can compile and install the new imlib (1.9.5).
Initially, it wouldn't find any of the libraries when I ran the config
script.  After fooling with ldconfig for awhile and deleting config.cache it
found them, but on attempting to build imlib it dies with an errror message
like this : "ld -lgif : no such file or directory".  When I type and
'ld -lgif' it gives me the same message, but if I do an
'ld -L/usr/local/lib -lgif' it complains about undefined functions or such
like.  I have my header files in /usr/local/include, what am I doing wrong
here?  I've gotten this stuff to build before, but my hard drive melted down
last week, so I know it worked at some point.  Any one care to enlighten me
(no pun intended) on the vagaries of the shared library system?

						TIA,
						Thatcher Hubbard



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201befd5f$f8a2eca0$0500a8c0>