Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

554
Visualizações
libexpat could not be found by linux system

I am developing with vddk library for ubuntu 12.10 i386. I constantly get following error:

Cannot open library: libexpat.so.0: cannot open shared object file: No such file or directory.

When I run apt-file search libexpat.so it shows me following

lib64expat1: /usr/lib64/libexpat.so.1
lib64expat1: /usr/lib64/libexpat.so.1.6.0
lib64expat1-dev: /usr/lib64/libexpat.so
libexpat1: /lib/i386-linux-gnu/libexpat.so.1
libexpat1: /lib/i386-linux-gnu/libexpat.so.1.6.0
libexpat1-dev: /usr/lib/i386-linux-gnu/libexpat.so

I already tried to create a symlink

sudo ln -s /usr/lib/i386-linux-gnu/libexpat.so /usr/lib/i386-linux-gnu/libexpat.so.0

but it did not work. Strange thing:

 ls -l `locate libexpat.so`
ls: cannot access /lib/i386-linux-gnu/libexpat.so.1: No such file or directory
ls: cannot access /lib/i386-linux-gnu/libexpat.so.1.6.0: No such file or directory
ls: cannot access /usr/lib/vmware-vix-disklib/lib64/libexpat.so.0: No such file or directory
-rw-r--r-- 1 ubuntu ubuntu 141320 Aug 20 09:21 /home/ubuntu/vddk/lib64/libexpat.so.0
-rw-r--r-- 1 root   root   141320 Feb  3 16:45 /usr/lib/vmware-vix-disk-lib/vmware-vix-disk-lib/lib64/libexpat.so.0
-rw-r--r-- 1 root   root   141320 Aug 20 09:21 /usr/vmware-vix-disklib-distrib/lib64/libexpat.so.0
over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

apt-file shows only the contents of a package, or in your case the package(s) by file name, but it works regardless of whether the package is installed or not.

You need to install libexpat1:

sudo apt-get install libexpat1

If you are about to compile and link custom C programs against libexpat1 you will also need:

sudo apt-get install libexpat1-dev
over 4 years ago · Santiago Trujillo Relatório

0

Fixed by manually downloading and installing libexpat package form here http://expat.sourceforge.net/ and look for downloading page. It should take you to sourceforge page and select stable package

over 4 years ago · Santiago Trujillo Relatório

0

Go to the source code download page and build with the correct flag.

Since you are building for x86, you'll need to run configure like this:

./configure CFLAGS=-m32
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda