LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-14-2002, 11:00 PM   #1
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Rep: Reputation: 0
Unhappy Please help: cannot find libgmodule.so but it's there


Hi. I'm trying to install Gnu Aol Instant Messenger (GAIM). When I make the binary I get the following error:

gcc: /usr/lib/libgmodule.so: No such file or directory
gcc: /usr/lib/libglib.so: No such file or directory

BUT when I look in those exact same directories, /usr/lib, the two files are there.

I have set that path in /etc/ld.so.conf and have subsequently ran ./sbin/ldconfig but it still gives me the same errors.

Please help me. If you can give me a step by step approach that would be great.

Thanks a lot.

Mike =D
 
Old 02-15-2002, 07:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
chances are you've just got blah.so.1 or such like, make sure that the exact filename is there, use a link to it if it's not.
 
Old 02-15-2002, 08:01 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
On my RH7.2 box these are the symsilnks to the libraries libgmodule.2.so and libglib.2.so, hence they are not actual libraries, see if they are symlinks and point to the real libriries, make sure these files exist.
 
Old 02-15-2002, 08:37 AM   #4
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Unhappy

How do I find out if these are symlinks and what actual libraries they point to. And would I have to do it for each individual library?

Thank you so much.

Mike.
 
Old 02-15-2002, 08:59 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ls -l /usr/lib/libgmodule.so will show where it goes to

or just

file /usr/lib/blahhhhhhhhh

shows a bunch of specifc data
 
Old 02-15-2002, 04:29 PM   #6
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Acid,

I ran ls -l /usr/lib/libgmod* and got the following:

/usr/lib/libgmodule-1.2.so.0 ->libgmodule-1.2.so.0.0.10
/usrl/lib/libgmodule-1.2.so.0.0.1.0
/usr/lib/libtgmodule.a
/uar/lib/libgmodule.la
/usr/lib/libgmodule.so -> libgmodule-1.2.so.0.0.9

Does this mean anything to you? (ie do the -> represent symlinks?)

Where do I go from here?

Thank you very much.

Mike.
 
Old 02-15-2002, 04:38 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well i'd guess at sme point you must've upgraded something wonkily (?) the last line was flashing read no?

ln -sf /usr/lib/libgmodule-1.2.so.0.0.10 /usr/lib/libgmodule.so

s = symbolic
f = force (as the file name already exists)

see.. those files aren't there are they...? actaully i guess it you're not using ls colors, you wouldn't know maybe...
 
Old 02-15-2002, 04:45 PM   #8
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Yes the last line was flashing red -- how did you know? Can you tell me what the arrow (->) means?

Thanks. I will try to execute the command and let you know what happens. Am I basically linking to the current version of libmodule.so?

Mike.
 
Old 02-15-2002, 05:03 PM   #9
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Acid. I did the same thing for libglib.so (ie made the correct symlink). But now I get a different error when I compile Gaim:

'glib-config --version' returned 1.2.9 but GLIB (1.2.10) was found! If glib-config was correct, then it is best to remove the old version of GLIB. You may also be able to fix the error by modifying your LD_LIBRARY_PATH environment variable, or by edition /etc/ld.so.conf.


Help!!

Mike
 
Old 02-15-2002, 05:03 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well, you should be able to guess that flashing red things are gnereally dangerous... it's pointing to a file that doesn't exist, presumably from an upgrade or something. yeah the -> is a link
 
Old 02-15-2002, 05:33 PM   #11
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Acid. Sorry for bothering you but did you get my last post?

Thanks.

Mike.
 
Old 02-15-2002, 06:18 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by mchao
Acid. Sorry for bothering you but did you get my last post?

Thanks.

Mike.
no i didn't, gues i posted same time you did. well, you prolly need the 1.2.10 version of the glib-devel rpm, as you seem to have 1.2.9 installed. check with rpm -qa | grep glib

right, i'm going to bed.
 
Old 02-15-2002, 09:06 PM   #13
mchao
LQ Newbie
 
Registered: Feb 2002
Location: Los Angeles
Distribution: Red Hat
Posts: 17

Original Poster
Rep: Reputation: 0
Acid. Okay, now when I ./configure Gaim I get the following error:

checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.5... no
*** Could not fun GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log .......

I'm very tired and frustrated. What do I do now?

Thanks.

Mike
 
Old 02-16-2002, 02:35 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
is there any reson you don't just install the rpm?

you've persumably not got gtk+-devel installed.

when you get errors like that the configure.log file will contain detailed errors of what went wrong. when you lok at that it shoulf say that gtk-config wasn't found. when you get missing file errors, always go to rpmfind.net and search to see where the file comes from.
 
  


Reply



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
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 07:13 PM
linux 'find' to find text files subu_s Programming 2 12-02-2004 02:56 AM
Where can I find libgmodule-1.2.so.0 tgz? flamesrock Linux - Software 6 10-07-2003 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:09 PM.

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
Open Source Consulting | Domain Registration