Results 1 to 6 of 6

Thread: Google Earth libraries 64 bit not found

  1. #1

    Default Google Earth libraries 64 bit not found

    Using 11.4 64 bit, new install. Downloaded Earth 64 bit, Kpackagekit loaded some extra stuff, all ok.

    Googleearth does not run. From the command line I get

    > ./googleearth
    ./googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

    This is not the only library it cannot find:

    /opt/google/earth/free> ldd ./googleearth-bin | grep found
    libgoogleearth_free.so => not found
    libQtCore.so.4 => not found
    libQtGui.so.4 => not found
    libQtNetwork.so.4 => not found
    libGL.so.1 => not found
    libGLU.so.1 => not found
    libQtWebKit.so.4 => not found

    All of these libraries exist in /opt/google/earth/free. The issue is that even when run from the dir which contains the libraries, they are not seen.

    I have tried adding /opt/google/earth/free to LD_LIBRARY_PATH and export, but this does not help.

    How to encourage a launched application to look for libraries preferentially? I suppose the google-earth script is supposed to do this, but it does not seem to happen. Something else at work?

    (The 32 bit version worked fine on this machine when 11.4 32 bit was in use, so it is not a hardware issue.)

  2. #2

    Default Re: Google Earth libraries 64 bit not found

    For anyone else running into this issue, I had to do 2 things - 32 bit and AppArmour.

    I created a simple script which is essentially the provided script but less complex forcing it to use the library paths I specify, also it switches debug on, showing where it searched for the libs.

    Code:
    #!/bin/sh
    export LD_LIBRARY_PATH=.:/opt/google/earth:/usr/lib64:/usr/lib
    export LD_DEBUG=libs
    exec ./googleearth-bin $*
    First even though 64 bit Earth appears on download and install to be a 64 bit app it evidently needs 32 bit components. Getting these 32 bit parts to install is a pain from rpm into a 64 bit installation which already has Mesa so I copied over some files directly from a previous 32 bit install of 11.4, bad practice but it worked.

    I ran the above script repeatedly until it stopped with a problem. There were 2 kinds of issues, 1. a missing file and 2. apparmour stopped it. If it was a missing file I copied the 32 bit version into /usr/lib and ran again. If it was clearly not a missing file I ran the apparmour wizard and let it add a rule, then ran the script again and it would get to a new error. Had to do this about 8 times. Then it opened up the globe as expected.

    If I need to run Earth from the Application launcher then I drop AppArmour. Have not found a way yet to get AppArmour to let it do its thing.

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Google Earth libraries 64 bit not found

    Did you install the package called lsb? If not then open YaST / Software / Software Management, search on lsb and install the program. You can then retry to start GoogleEarth though doing a restart first would not hurt.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4

    Default Re: Google Earth libraries 64 bit not found

    lsb was already installed.

  5. #5
    graham NNTP User

    Default Re: Google Earth libraries 64 bit not found

    colbec wrote:

    >
    > First even though 64 bit Earth appears on download and install to be a
    > 64 bit app it evidently needs 32 bit components. Getting these 32 bit
    > parts to install is a pain from rpm into a 64 bit installation which
    > already has Mesa so I copied over some files directly from a previous 32
    > bit install of 11.4, bad practice but it worked.


    The 32bit version of Mesa can be installed via yast in the normal way.

  6. #6

    Default Re: Google Earth libraries 64 bit not found

    Same problem here on 12.1 64bit, termination with:
    ./googleearth-bin: error while loading shared libraries: libgoogleearth_free.so: cannot open shared object file: No such file or directory

    Installing Mesa-32bit using yast solved the problem (the existing Mesa was not removed) - google-earth now runs. Thanks for the tip!



    Quote Originally Posted by graham View Post
    colbec wrote:

    >
    > First even though 64 bit Earth appears on download and install to be a
    > 64 bit app it evidently needs 32 bit components. Getting these 32 bit
    > parts to install is a pain from rpm into a 64 bit installation which
    > already has Mesa so I copied over some files directly from a previous 32
    > bit install of 11.4, bad practice but it worked.


    The 32bit version of Mesa can be installed via yast in the normal way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •