Re: Compiling and installing gtk+



Your best bet is to edit the file /etc/ld.so.conf to include the path that 
includes the  glib-2.0.3 libraries that you just built and installed.  If you 
used the tarball and didn't tell it anything different, it would have 
installed in /usr/local/lib.  So make sure that /etc/ld.so.conf includes a 
line showing /usr/local/lib.  The advice about LD_LIBRARY_PATH is useful if 
you do not have root access or otherwise cannot modify /etc/ld.so.conf.

After you have updated /etc/ld.so.conf, and in general whenever you have 
installed a new library, it is wise to run /sbin/ldconfig (as root).  This 
rebuilds the cache that the loader searches when it tries to link shared 
libraries.

The usual sequence is:
	1.  ./configure
	2.  make
	3.  su to root
	4.  make install
	5.  /sbin/ldconfig
	6.  exit the su to root so you're back being yourself again

HTH,


-- 
--Jeff

Jeff Trefftzs <trefftzs tcsn net>
http://www.tcsn.net/trefftzs			Home Page
http://gug.sunsite.dk/gallery.php?artist=68	Gimp Gallery
http://trefftzs.topcities.com/home.html		Photo galleries






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]