Have you run ldconfig after installing glib? ldconfig updates your system
on the locations of various libraries. ld.so.conf
tells it which directories to look in. If you do not have /usr/local/lib (
or wherever you installed glib into ) as an entry in your ld.so.conf
file, you should add that entry, and then ( as root ) run ldconfig.
Hope that helps,
Patrick
> I ran ./configure to install gtk+-1.1.12 and the error reported that it
> couldn't find glib-1.1.12 which was needed for the installation. But I
> had already installed glib.1.1.12 in /usr/local I think (which is the
> default set by a variable $prefix in the connfiguration file)
> I'd already uninstalled the old versions and have tried installing gtk
> using >
> ./configure --with-glib=/downloads/glib-1.1.12 without susccess.
> -What must i do to make gtk find the correct version.
> -What is ld.so.conf? does it matter?
> -Also how do we link libraries? Is it automated with a script or is it
> done manually?
--
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental. Any
resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader. The question of the existence of
the reader is left as an exercise for the second god coefficient. (A
discussion of non-orthogonal, non-integral polytheism is beyond the scope
of this article.) --Note: This sig is pirated from somewhere.. maybe from fortune, dunno.