LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2003, 09:08 PM   #1
FirstTimeUser
LQ Newbie
 
Registered: Jul 2003
Location: usa
Distribution: redhat 9.0
Posts: 6

Rep: Reputation: 0
Unhappy grep: /usr/lib/libglib-2.0.la: No such file or directory


Hello world,

This time iwas trying to install pygtk-2.0.0, and got such message

Quote:
grep: /usr/lib/libglib-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libglib-2.0.la: No such file or directory
libtool: link: `/usr/lib/libglib-2.0.la' is not a valid libtool archive
make[2]: *** [_gtk.la] Error 1
make[2]: Leaving directory `/home/sashko/_rpms/nikotine/pygtk-2.0.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sashko/_rpms/nikotine/pygtk-2.0.0'
make: *** [all] Error 2
To tell the truth, it is not the first time when I see that, trying to compile something. Not having time to investigate I just was swiching to rpm's instead of compaling. This time i'm sick of it already. Who can tell me what can be done to fix this. Actually, I'm not interested in the reason, just what package to reinstall to make this libglib-2.0.la exist.

Thank you in advance
 
Old 10-13-2003, 09:44 PM   #2
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
I think the libglib-2.0.la is part of the GTK+

GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.

GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

You must install the GTK+ which you can find on: http://www.gtk.org/
or you can find them on http://rpmfind.net (if you use RPM)

Here is a very detailed explanation how to install GTK:

http://developer.gnome.org/doc/API/2...-building.html
 
Old 10-13-2003, 09:46 PM   #3
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
By the way.. on http://rpmfind.net you can type the file you have a problem with to find what you need.
so, you can type in: " libglib " into the searchbox (without the " ").. and it will come up with the rpm.
choose the right rpm for your distribution (ie. if you use mandrake, look for mandrake rpm)

Last edited by Jan_73; 10-13-2003 at 09:49 PM.
 
Old 10-13-2003, 09:56 PM   #4
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
I have just looked on http://rpmseek.com and found even more rpm's (105) about gtk and gtk+..

go there and just type in the searchbox: gtk+ and it will show you all kinds of rpms (mandrake, redhat 7, 8, 9 .. etc)

GTK is basically needed for GNOME (is a desktop environment, just like KDE)
you know, the graphic user interface, which shows you all the windows, Icons, Desktop.. etc..
 
Old 10-13-2003, 10:06 PM   #5
Jan_73
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Red Hat Linux 9.0 (Shrike)
Posts: 28

Rep: Reputation: 15
If you would like to tell me what kind of Linux you are using, then I can help you with finding the right rpm.

The basic rule for using rpm is that you must be logged in as root.

example: open shell or console.....type: su.... type your password for root....
install the rpm (rpm -Uvh blablabla.i386.rpm) and when it is done, type exit.
and you have become normal user again (if you didn't logged in as root in the first place of course)

The same goes for compiling a program yourself.
You can ./configure as user. also make can be done as normal user. BUT.. make install.. must be done as root.
 
Old 10-14-2003, 02:43 AM   #6
FirstTimeUser
LQ Newbie
 
Registered: Jul 2003
Location: usa
Distribution: redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Thanx a lot Jan_73,

Actually i know all that stuff about compiling installing, rpms... and where to find rpms and binaries. Although I'm still newbie in linux but I have some experince already.
In fact the question was that I tried to fix the problem reinstalling glib2, but I couldn't imagine that I have to reistall the whole GTK+.
OK, I hope that tomorrow I'll try to do that and be back with results.

wbr
 
Old 10-14-2003, 02:33 PM   #7
FirstTimeUser
LQ Newbie
 
Registered: Jul 2003
Location: usa
Distribution: redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
all right,
I downloaded gtk+-2.2.0.tar.bz2 from ftp://ftp.gtk.org/pub/gtk/v2.2/.
#./configure --> no problem

and then
#make
gives me the following.

Quote:
read-2.0 -lglib-2.0 -lm
libtool: link: cannot find the library `/usr/lib/libglib-2.0.la'
make[3]: *** [timescale] Error 1
make[3]: Leaving directory `/home/sashko/_rpms/gtk+/gtk+-2.2.0/gdk-pixbuf/pixops
'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sashko/_rpms/gtk+/gtk+-2.2.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sashko/_rpms/gtk+/gtk+-2.2.0'
make: *** [all-recursive-am] Error 2
[root@hell gtk+-2.2.0]#
Now the question is: how can gtk+ depend on libglib-2.0.la if it is supposed to contain this library itself?
Any help how to fix this glitch is appreciated.
 
Old 10-15-2003, 11:29 AM   #8
Dapper Dan
Member
 
Registered: May 2003
Location: South Carolina
Distribution: Home: Fedora Core 1, Mepis RC4, Red Hat 6.2. Work: Fedora Core 1&2, Mandrake 9.0.
Posts: 99

Rep: Reputation: 15
This sounds like the exact same hell I've been in for several months trying to get all the depends worked out so I can use Icepref or IceWMCP, (configurators for IceWM). I'll be following this thread closely..
 
Old 10-15-2003, 06:07 PM   #9
FirstTimeUser
LQ Newbie
 
Registered: Jul 2003
Location: usa
Distribution: redhat 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Tanks for support Dapper Dan,
but as you can see no too much people are helping us for last 3 days.
I cant believe that nobody has the similar problem, and maybe know the cure.

btw: what will happen if I just try to copy this libglib-2.0.la from another machine? Will it work?
 
Old 10-15-2003, 10:53 PM   #10
Dapper Dan
Member
 
Registered: May 2003
Location: South Carolina
Distribution: Home: Fedora Core 1, Mepis RC4, Red Hat 6.2. Work: Fedora Core 1&2, Mandrake 9.0.
Posts: 99

Rep: Reputation: 15
Sounds like an "ify" proposition, but it may be worth a try. I'm afraid I'm not knowledgable about any of this to advise you. I've tried for months to solve my PyGTK problem, trying to get it working the way Iceref wants it to, and have come up empty. I wish you better luck than I've had.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
including usr/local/lib directory Quest101 Linux - Software 3 01-01-2005 05:13 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM
Access Denied Problem : Moving A File To usr/lib Help Please DozenEggs Linux - Newbie 5 08-22-2004 07:59 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM
no php.ini file under /usr/local/lib/ !! jogurt666 Linux - Software 1 12-16-2003 01:06 AM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration