Fedora Linux Support Community & Resources Center
  #1  
Old 5th September 2008, 08:27 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Question lib files missing when compiled in fedora 9

Hi everyone,
I am trying to install a cross-compiler environment. I have just installed FC9. Earlier i was working with FC4 where this package was installed. My problem is when i try to install, it is saying file(libgtk-1.2.So.0) not found. I guess when the O.S was changed from FC4 to FC9 the lib files also got changed.

How can i solve this ??
Assuming if i am able to install those missing files wouldn't it affect the FC9??
What is common method of installing the files?? Does one has to download the source code and compile it ???

Thanks in Advance,

Jerry.
Reply With Quote
  #2  
Old 5th September 2008, 08:33 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
In this case, you're simply missing package gtk+, so:
yum install gtk+

V

P.S. Probably a good idea to also:
yum groupinstall "Development"
Reply With Quote
  #3  
Old 6th September 2008, 07:30 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Hi,
Thanks a lot Hlingler for the reply. I did that, but got new messages saying libgmodule-1.2.so.0 does not exist!!!! . Isnt the gtk installation sufficient????????

Also tried , yum groupinstall "Development".. But got message as

Warning: Group Development does not exist.
No packages in any requested group available to install or update

Is this the correct way to install all the packages??

Thanks,
Jerry.
Reply With Quote
  #4  
Old 6th September 2008, 07:51 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Quote:
Originally Posted by send4jerry
Hi,
Thanks a lot Hlingler for the reply. I did that, but got new messages saying libgmodule-1.2.so.0 does not exist!!!! . Isnt the gtk installation sufficient????????
Obviously not.
Install:
yum install glib-1.2.10-29.fc9 glib-devel-1.2.10-29.fc9
Quote:
Originally Posted by send4jerry
Also tried , yum groupinstall "Development".. But got message as

Warning: Group Development does not exist.
No packages in any requested group available to install or update
OOPS! My bad - try:
yum groupinstall "Development Tools"
yum groupinstall "Development Libraries"

You'll probably need most of that stuff anyway....
Quote:
Originally Posted by send4jerry
Is this the correct way to install all the packages??

Thanks,
Jerry.
Yes, it's the easy way to "blanket" install a whole group/suite of stuff that you're probably going to need (most of the group, anyway).

V
Reply With Quote
  #5  
Old 6th September 2008, 11:06 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Hlingler thanks for the fast reply,
I installed all the packages through group install. . But i am still getting the error ,
"error while loading shared libraries: libgmodule-1.2.so.0: cannot open shared object file".

An intense search of the libraries revealed the presenence of libgmodule-1.2.so.0 and libgmodule-1.2.so.0.0.10.

Why is the "no file error " , eventhough the file exists???


Thanks,
Jerry.
Reply With Quote
  #6  
Old 6th September 2008, 11:31 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Umm... what compiler are you trying to use to cross-compile? I think you need cmake, not gcc/g++....

Post some more details of what you're trying to do - I'm not real good at this stuff, and maybe someone else will see something I don't.

V
Reply With Quote
  #7  
Old 6th September 2008, 05:22 PM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Smile

hi Hlingler,
This is for an embedded processor.
One interesting thing i noticed is "libgmodule-1.2.so.0" is in "/usr/lib64" , not in "/usr/lib". ???????? Won't it work if the file is installed in /usr/lib/ ?????????????

Thanks,
Jerry.
Reply With Quote
  #8  
Old 6th September 2008, 05:30 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Oops! I thought I already asked about the architecture, but I missed that!

No, that won't work. You need both x86 and x86_64 flavors (and don't even consider moving the stuff around...). Just install the other architecture:
yum install glib.x86_64 gtk+.x86_64 (or whatever else is missing/needed).

Or conversely:
yum install glib.i386 gtk+.i386 ... etc.

V
Reply With Quote
  #9  
Old 7th September 2008, 11:53 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Thanks for the reply. That worked. Though i got a new gtk warning ,
libgnomebreakpad.so , No such file or directory.
How can i install libgnomebreakpad.so in /usr/lib(its there in /usr/lib64!!! )??
Also can you suggest any link/site where the files/packages to be installed are mentioned when one gets "No such file or directory" error message is received?? So that i can use it next time...

Thanks,
Jerry.
Reply With Quote
  #10  
Old 7th September 2008, 12:07 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
To find stuff in general (try the advanced queries to sort for Fedora and 9):
rpm.pbone.net
rpmfind.net
rpmseek.com

OR:
yum provides [...] (insert packagename, filename, or virtual feature)

OR (since you already have one arch. copy of libgnomebreakpad.so):
rpm -qf /usr/lib64/libgnomebreakpad.so

will give the packagename, so then you know to go after the other arch. of that package.

Note that warnings are usually not fatal, but I don't like them if they can be fixed.

I'll let you handle it from here....

V
Reply With Quote
  #11  
Old 7th September 2008, 02:32 PM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
hi,
Thanks for that gr8 info. .
I installed it. But the same error persists.
Now the status of my system is,
/usr/lib/gtk-2.0/modules/libgnomebreakpad.so
/usr/lib64/gtk-2.0/modules/libgnomebreakpad.so

Why is it that it is still saying "no such file found"?????????
In my system if i give ldconfig, it says command not found!!!!


Thanks,
Jerry.
Reply With Quote
  #12  
Old 7th September 2008, 02:35 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Hm. Try updating the 'mlocate' database first:
[sudo OR su -c] updatedb

Then try again.

V
Reply With Quote
  #13  
Old 8th September 2008, 12:39 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Exclamation

hi,
I had tried that. But it didnt work. There is a probable solution here,

http://forums.fedoraforum.org/forum/...208#post932208

I tried to follow this, but it seems "ldconfig" doesnt work!!!!! ???

Thanks,
Jerry
Reply With Quote
  #14  
Old 8th September 2008, 02:55 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,294
Hm... No, I don't think that will help. Look at this:
Code:
 ~]$ type ldconfig
bash: type: ldconfig: not found
 ~]$ locate ldconfig
/etc/seedit/policy/unconfined_ldconfig_t.sp
/etc/uucp/oldconfig
/sbin/ldconfig
/usr/share/doc/HTML/en/kdevelop/configure-project-buildconfig.png
/usr/share/man/man8/ldconfig.8.gz
/usr/src/debug/wine-1.0-fe/dlls/kernel32/oldconfig.c
/var/cache/ldconfig
 ~]$ rpm -qf /sbin/ldconfig
glibc-2.7-2.i686
 ~]$
So, do you have both x86 AND x86_64 arch. packages of glibc installed? If not, install the missing one....

V
Reply With Quote
  #15  
Old 8th September 2008, 03:26 AM
send4jerry Offline
Registered User
 
Join Date: Aug 2008
Posts: 19
Yes, i have both.....

# rpm -qf /sbin/ldconfig
glibc-2.8-8.x86_64
glibc-2.8-8.i686



thanks,
jerry.
Reply With Quote
Reply

Tags
compiled, fedora, files, lib, missing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega on Fedora 11 - Missing some .so files Jeff91 Using Fedora 8 26th September 2011 12:16 PM
Fedora 10 missing LiveCD kickstart files? Rick1424 Using Fedora 3 3rd December 2008 03:31 PM
rtorrent compiled, missing libraries Firemogle Using Fedora 5 10th September 2008 09:14 PM
Fedora 8 x64: XEN config files missing? nharvey Servers & Networking 3 22nd February 2008 03:40 AM
Fedora Core 6 missing files glen.robson Using Fedora 10 26th October 2007 04:18 PM


Current GMT-time: 12:56 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Ozersk - Krabi Instagram Photos - Katol