Re: [gtk-list] Re: Problems installing GLIB and GTK
- From: Robert_Gasch/PeopleSoft peoplesoft com
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Problems installing GLIB and GTK
- Date: Fri, 9 Apr 1999 11:57:23 +0200
Chances are you've installed glib and set your PATH
correctly, but your LD_LIBRARY_PATH is still wrong. If this
variable is set you should do something like
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
otherwise try (this works for me):
LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/X11R6/lib
export LD_LIBRARY_PATH
You want to place the /usr/local/lib (or whereever your glib/gtk
libraries are) *before* the rest of the LD_LIBRARY_PATH so
that the newly installed libraries are detected first ...
This usually solves this stuff for me
--> R
"Daniel Cohen" <daniel.cohen@matteus.se> on 04/09/99 11:38:06 AM
Please respond to gtk-list@redhat.com
To: gtk-list@redhat.com
cc: (bcc: Robert Gasch/PeopleSoft)
Subject: [gtk-list] Re: Problems installing GLIB and GTK
Ok. Now I get this error. I could not find the earlier post about it.
config... /usr/local/bin/glib-config checking for GLIB - version >= 1.2.1...
no *** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
*** rpm-erase-nodeps gtk gtk-devel
What do I do know?
-----Original Message-----
From: Robert_Gasch/PeopleSoft@peoplesoft.com
[mailto:Robert_Gasch/PeopleSoft@peoplesoft.com]
Sent: den 9 april 1999 11:10
To: gtk-list@redhat.com
Subject: [gtk-list] Re: Problems installing GLIB and GTK
Have you done a
make install
after compiling glib? If so, it seems that the location of
glib-config (usually /usr/local/bin) is not in your path,
thus the system can't find it. Try the following
PATH=$PATH:/usr/local/bin; export PATH
to add the proper location to your path (here shown as
/usr/local/bin). That should get you going ... the same
thing that applies to executables with PATH, applies
to libraries with LD_LIBRARY_PATH (there was a post
about the LD_LIBRARY_PATH bit a few days ago) ...
Greetings
--> R
"Daniel Cohen" <daniel.cohen@matteus.se> on 04/09/99 09:39:20 AM
Please respond to gtk-list@redhat.com
To: "Gtk List" <gtk-list@redhat.com>
cc: (bcc: Robert Gasch/PeopleSoft)
Subject: [gtk-list] Problems installing GLIB and GTK
I have installed GLIB. And the files are at the right places but I get these
error messages when I trie to install
GTK.
checking for glib-config... no
checking for GLIB - version >= 1.1.12... no
*** The glib-config script installed by GLIB could not be found *** If GLIB
was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set
the GLIB_CONFIG environment variable to the *** full path to glib-config.
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.1.12... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter case,
you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
checking for thread-safe xlibs... no
Could someone please help me. I am no expert at Linux so maybe its something
simple but I dont know what.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]