 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

5th September 2008, 08:27 AM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 19

|
|
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.
|

5th September 2008, 08:33 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
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"
|

6th September 2008, 07:30 AM
|
|
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.
|

6th September 2008, 07:51 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
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
|

6th September 2008, 11:06 AM
|
|
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.
|

6th September 2008, 11:31 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
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
|

6th September 2008, 05:22 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 19

|
|
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.
|

6th September 2008, 05:30 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
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
|

7th September 2008, 11:53 AM
|
|
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.
|

7th September 2008, 12:07 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
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
|

7th September 2008, 02:32 PM
|
|
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.
|

7th September 2008, 02:35 PM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
|
Hm. Try updating the 'mlocate' database first:
[sudo OR su -c] updatedb
Then try again.
V
|

8th September 2008, 12:39 AM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 19

|
|
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
|

8th September 2008, 02:55 AM
|
 |
Administrator
|
|
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289

|
|
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
|

8th September 2008, 03:26 AM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:31 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|