Results 1 to 9 of 9

Thread: libexpat.so.0

  1. #1
    Join Date
    Jan 2009
    Beans
    1

    libexpat.so.0

    I am a real NOOB at Ubuntu. I have recently installed 8.10. I have downloaded and installed Gyach Enhanced - a Yahoo Messenger client. When i try and run it it comes up with the following message:

    gyach: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

    How do I fix this please - and please explain it in simple terms, cos as I said i am new at this.

  2. #2
    Join Date
    Nov 2007
    Beans
    43

    Re: libexpat.so.0

    When you're looking for a packge, you can use this command:
    Code:
    apt-cache search *KeyWord*
    So I ran the following command:
    Code:
    apt-cache search libexpat
    which returned me the following output:
    Code:
    ~# apt-cache search libexpat
    libexpat1 - XML parsing C library - runtime library
    libexpat1-dev - XML parsing C library - development kit
    libexpat-ocaml - ocaml expat bindings
    libexpat-ocaml-dev - ocaml expat bindings
    liblua5.1-expat-dev - libexpat development files for the lua language version 5.1
    liblua5.1-expat0 - libexpat bindings for the lua language version 5.1
    ser-jabber-module - contains the Jabber module (SIP-Jabber message translation)
    Now I know you need the package "libexpat1".
    You can install the package using the following command:

    Code:
    apt-get install libexpat1

  3. #3
    Join Date
    Jul 2006
    Location
    Brownsville, TX
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: libexpat.so.0

    ok now that i have that package install. i am still getting an error that libexpat.so.1 lib can not be found.

  4. #4
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: libexpat.so.0

    This program is old and requires an old version of the libexpat library. You cannot use it with Ubuntu.
    「明後日の夕方には帰ってるからね。」


  5. #5
    Join Date
    Mar 2010
    Beans
    1

    Re: libexpat.so.0

    For resolve this problem you can try to link the new library with the old tiping in terminal:

    sudo -i
    cd /lib
    ln libexpat.so.1 libexpath.so.0



    in this way I have resolved my problem.

  6. #6
    Join Date
    Sep 2009
    Beans
    1

    Re: libexpat.so.0

    Hey,
    Thx chcip for sharing your solution.
    I have tried it, but its not working for me. I still get the same error.
    Can anyone suggest something else which I can try.

    Also, I am nt sure about where it is looking for the file, so I have copied it to /usr/local/lib, /usr/lib and even /lib.
    The file was originally at /usr/lib. But I copied it to /usr/local/lib because it has happened to me many times that a program I am running is not able to find a library which is present at /usr/lib. I copy it to /usr/local/lib and it works.
    But here, chcip had mentioned /lib, so I even tried that, but none of it is working.
    Any help will be highly appreciated!

  7. #7
    Join Date
    Oct 2005
    Beans
    15

    Re: libexpat.so.0

    I'm having the same problem trying to install Wink. I have the latest version of libexpat1 but can not find any libexpat* in Lucid Lynx. Any other suggestions?

    Code:
    sudo apt-get install libexpat1
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libexpat1 is already the newest version.

    Code:
    /usr/lib$ locate libex*
    /usr/lib/libexif.so.12
    /usr/lib/libexif.so.12.3.1
    /usr/lib/libexiv2.so.6
    /usr/lib/libexiv2.so.6.0.0
    /usr/lib/libexslt.so.0
    /usr/lib/libexslt.so.0.8.15
    Thanks,

  8. #8
    Join Date
    Oct 2005
    Beans
    15

    Re: libexpat.so.0

    My bad... in my previous post I was searching /usr/lib following the instructions from another help site but I should have been searching /lib which is where libexpat.so.1 is. Then I notice that there was an error in one of the previous posts that stated to do:

    Code:
    sudo ln libexpat.so.1 libexpath.so.0

    The correct command would be:

    Code:
    sudo ln libexpat.so.1 libexpat.so.0
    This worked to get Wink installed.

    Thanks,

  9. #9
    Join Date
    Aug 2006
    Location
    Canberra, Australia
    Beans
    89
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: libexpat.so.0

    Quote Originally Posted by scsever View Post
    My bad... in my previous post I was searching /usr/lib following the instructions from another help site but I should have been searching /lib which is where libexpat.so.1 is. .....
    I'm using Ubuntu Natty (32 bit) and libexpat is installed somewhere altogether different, in /lib/i386-linux-gnu

    so:
    Code:
    sudo ln /lib/i386-linux-gnu/libexpat.so.1 libexpat.so.0
    Tony
    --
    Linux Mint 14, Linux user 456436

Bookmarks

Posting Permissions

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