<---- template headericclude ----->
lib files missing when compiled in fedora 9
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    send4jerry Guest

    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.

  2. #2
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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"

  3. #3
    send4jerry Guest
    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.

  4. #4
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  5. #5
    send4jerry Guest
    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.

  6. #6
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  7. #7
    send4jerry Guest

    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.

  8. #8
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  9. #9
    send4jerry Guest
    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.

  10. #10
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  11. #11
    send4jerry Guest
    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.

  12. #12
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm. Try updating the 'mlocate' database first:
    [sudo OR su -c] updatedb

    Then try again.

    V

  13. #13
    send4jerry Guest

    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

  14. #14
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  15. #15
    send4jerry Guest
    Yes, i have both.....

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



    thanks,
    jerry.

Page 1 of 2 12 LastLast

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]