For questions, issues related to shared libraries, .so files and its manipulation in Ubuntu

learn more… | top users | synonyms

53
votes
15answers
142k views

How do I resolve a “Cannot open shared object file libudev.so.0” error?

Trying to run Game Dev Tycoon on Ubuntu 64. It asks for the above object. I ran sudo apt-get install libudev1:i386 and it came back already installed. I have /lib/i386-linux-gnu/libudev.so.1 but no ...
51
votes
8answers
104k views

Problems with Eclipse and Android SDK

I installed Eclipse, openjdk6 and downloaded and extracted the sdk manager file. Now, When I created an Android project I got the following error: 2012-06-06 18:44:40 - contactManager] ...
36
votes
3answers
15k views

Why no library files installed for google test?

The libgtest-dev package seems only install header files to the system, but not the static and dynamic libraries which should be installed under /usr/lib. Is it a bug?
19
votes
3answers
106k views

I want to install libssl.0.9.8

I'm trying to install utorrent program, and when I execute the program I get ./utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or ...
15
votes
5answers
22k views

error while loading shared libraries: libudev.so.0 - Brackets

I installed Brackets on Lubuntu 13.04. When I use the command brackets to open it, I get the error: /usr/lib/brackets/Brackets: error while loading shared libraries: libudev.so.0: cannot open shared ...
14
votes
3answers
57k views

skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

I am using ubuntu 11.10 64bit, skype was working however after running sudo apt-get autoremove skype is throwing skype: error while loading shared libraries: libXss.so.1: cannot open shared object ...
13
votes
5answers
30k views

Error While Loading Shared Libraries (libGLU.so.1)

I am trying to run Chamsys MagicQ on Ubuntu 12.10 with 64bit AMD processor. This is what it tells me when I try to run the program. ./magicq: error while loading shared libraries: libGLU.so.1: ...
13
votes
3answers
36k views

GLIBCXX_3.4.20 not found, how to fix this error?

Whey I try to run the program Layout Editor (available on this site) on Ubuntu 14.04.1 64-bit LTS I get the following output in the terminal: $ layout layout: ...
12
votes
1answer
431 views

Is it okay (or not) to symlink libraries to overcome “cannot open shared object” errors?

Sometimes, for one reason or another, a program hasn't specified or included all its dependencies correctly, and starting it up results in errors indicating missing dependencies. A typical error is ...
10
votes
3answers
35k views

How to install 32-bit version of libstdc++.so.6 on a 64 bit machine

I need to install the 32-bit version of libstdc++.so.6 on a 64 bit Ubuntu 8.04.2 server. when i tried apt-get install ia32-libs, it says root@devserver:~/downloads# apt-get install ia32-libs ...
10
votes
4answers
50k views

libssl.so.10: cannot open shared object file: No such file or directory

Im trying to use twoBitToFa, which is a small program released by the University of California Santa Cruz, that uncompresses large genome files and I get this error: error while loading shared ...
10
votes
4answers
23k views

error while loading shared libraries libSDL-1.2.so.0

I am trying to install ioquake on my ubuntu server. When I try to run it, I get this message: # ./ioquake3 ./ioquake3.x86_64: error while loading shared libraries: libSDL-1.2.so.0: cannot open ...
10
votes
3answers
589 views

Is there any open-source way to make a static from a dynamic executable with no source code availability?

Let me explain the problem with an example. I use some old program in my day to day work, like for example xfig and pdfedit. Now, these programs are quite old and not updated too often; my fear is ...
9
votes
7answers
43k views

Steam: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64

After Nvidia driver installation when I try to run Steam I am getting this error: steam: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64 I found this question and one ...
8
votes
3answers
14k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they ...
8
votes
1answer
13k views

Where does Ubuntu look for shared libraries?

When I run a process that links to a shared library at runtime (linked when the process starts, not linked later with dlload()), where does it look for that shared library (.so) file other than ...
7
votes
1answer
11k views

Does a file reported as “not a dynamic executable” by 'ldd' depend on other libraries?

Just making sure I got this right - I call ldd /path/to/executable and it returns "not a dynamic executable". This means that it doesn't depend on other libraries, correct? If so, does it mean that ...
6
votes
2answers
12k views

libusb-0.1.so.4 shared lib error in ubuntu 64 bit system

I am trying to install ZTE MF191 driver in ubuntu 12.04 64 bit machine. I am not sure is it support 64 bit or not. But it works fine in 32bit system. These driver package has a executable file named ...
6
votes
1answer
18k views

How do I find what version of libc my application links to?

When building an application using g++, I am not explicitly passing the libc library as a library to link to in the same way you would for other libraries (like passing -lpthread for example). I know ...
6
votes
3answers
30k views

How to fix Java problem installing Matlab 2012a (64-bit) in Ubuntu 12.04 (64 bit)?

I am trying to install Matlab 2012a (64-bit) in Ubuntu 12.04LTS (64-bit). I have installed Java 7. My Java version is: sabyasachi@sabyasachi-ubuntu:~/Downloads/R2012a_UNIX$ java -version java version ...
5
votes
1answer
14k views

error while loading shared libraries, file too short

From one of my customers I got an application. When I try to run it I got following error error while loading shared libraries: ./libvtkWidgets.so.5.4: file too short In my project structure I see ...
5
votes
2answers
2k views

Are libc versions tied to kernel versions?

After reading the answers to my previous question I have come to the conclusion that an answer to the following question is what I was actually looking for: Does a particular version of the kernel ...
5
votes
1answer
230 views

Bash script doesn't run from nautilus, but does run from terminal

Before I add more detail to my question, I have to say something very important: Yes my script has "Allow executing file as program" turned on The question itself: For programming reasons (shared ...
5
votes
1answer
1k views

Install libdwarf.so on Ubuntu

How can I install libdwarf.so on Ubuntu? I get this error while running an executable file. error while loading shared libraries: libdwarf.so: cannot open shared object file: No such file or ...
4
votes
4answers
36k views

How do I install libtiff.so.3?

I installed Maya 2011 on Ubuntu 10.04 many times and it was always working, Recently i upgraded my Ubuntu from 10.04 to 11.04, and when i tried to install Maya 2011 on it i wasn’t able to get it ...
4
votes
3answers
3k views

libunrar.so not found

I'm having trouble installing libunrar.so. It's required for Calibre to convert CBR files. Anyone an idea on where to get it (package or source)?
4
votes
1answer
11k views

Why do I get 'error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64' when I run Mercury? [closed]

Using native OpenGL /home/software/Mercury_3.3/c_linux/bin/mercury.x: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64
4
votes
1answer
6k views

Unable to locate package libffi and libffi5-dev on Ubuntu 12.04.4 through apt-get

$ sudo apt-get install libffi libffi5-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libffi E: Unable to locate package ...
4
votes
3answers
4k views

liblapack.so file

I want to run a matlab code in ubuntu 12.04 in which error is coming that liblapack.so shared library file is missing. How to get this file installed and from where can I get this file.Please help me ...
4
votes
1answer
6k views

Why is libtiff.so.4 not recognized?

I recently updated from ubuntu 13.10 to 14.04 LTS. I was using Smoldyn, a particle-based simulation package, but since the update it doesn't work anymore. After typing smoldyn I get the following ...
4
votes
1answer
6k views

How are .so files used in Ubuntu

I am very new to Linux and Ubuntu and I have ported my simple game engine to linux. The engine is in a .so file and is linked to the executable. I am unable to run my executable because it says that ...
4
votes
1answer
3k views

What package provides -llua for g++?

I've installed all lua5.1 development packages from Synaptic and the g++ linker can not find -llua. I've read on some other question that it is possible that -llua has some other name and that I ...
4
votes
1answer
393 views

Help compiling (need old libs)

I need to get a scientific software running but it requires older libs and I don't want to screw my current system. I thought about using an old ubuntu version in a VM. But which would I need? The ...
4
votes
2answers
250 views

How do libraries/includes work?

I'm trying to understand how libraries work. Here are some questions I have about it: I downloaded a tarball and extracted it. When I do "./configure", it searches in pre-defined directories from ...
4
votes
1answer
5k views

How do I install a .so file? - newbie

I downloaded freeverb.tar.gz which contains a plugin library (freeverb.so) for Audacity. I extracted the .tar.gz file to my downloads folder but I don't know what to do next. There is no Readme ...
4
votes
1answer
14k views

Why can't my program find the libraries in “/usr/local/lib”?

I'm on Ubuntu 10.10, and I've just upgraded opencv to 2.4.2. The problem is that each time I open a new shell and try to compile and run, it compiles but doesn't run due to the following error: ...
4
votes
2answers
6k views

Shared libSDL library fails to open

I'm having an issue with a shared library called libsdl. What I'm trying to do actually is to start up a game engine called GCCG (Generic Collectible Card Game). All the necessary packages were ...
3
votes
1answer
19k views

Install unetbootin on Ubuntu 12.04

I'm trying to install UNetbootin on Ubuntu 12.04 LTS. I downloaded the executable file from this link and followed the instructions below: If using Linux, make the file executable (using either ...
3
votes
1answer
317 views

R package is not loading in 15.10

I have upgraded to Ubuntu 15.10 (64 bit). Now, I tried to run R package from the command line, it gives the error message as /usr/local/lib/R/bin/exec/R: error while loading shared libraries: ...
3
votes
2answers
1k views

Cuda 6.0/PyCuda. 'ImportError'

I had Cuda 5.5 with pycuda working great, but then I needed to upgrade to CUDA 6.0. Now when I try to run a sample PyCuda program I get this : ImportError: libcurand.so.6.0: cannot open shared ...
3
votes
1answer
30k views

How to install library files

I installed skype translting software CLOWN FISH in linux(ubuntu 14.04 LTS). But it was not working properly. In the clown fish website they have specified required library files for the proper ...
3
votes
2answers
27k views

error while loading shared libraries; cannot open shared object file: No such file or directory

The program evince complains that it can't find libfreetype.so.6; however I clearly have the file and its included in my LD_LIBRARY_PATH; furthermore I have another program which uses libfreetype6 and ...
3
votes
3answers
5k views

How to check which version of library is used and how to change?

I have Ubuntu 12.10 installed, with ImageMagick and libjpeg6 and libjpeg8 libraries installed. I am now wondering if there is a way to determine, which version is used, and to change it.
3
votes
1answer
104 views

AC3D - No such file or directory

I just downloaded AC3D and extracted the zip in a folder in my home folder. I opened a terminal, CD'd to the folder and typed ./ac3d. But I get the following error message every time: bash: ./ac3d: ...
3
votes
1answer
1k views

Shared library not loading. Loading only under root

I have an executable that requires a shared library that resides in /opt/... folder. I have included the path in LD_LIBRARY_PATH under /etc/environment and updated it using source /etc/environment. ...
3
votes
1answer
981 views

libMagicWand.so.5 cannot open shared object file?

After update to version Ubuntu 15.04 I have problems when I try to run emacs. emacs: error while loading shared libraries: libMagicWand.so.5: cannot open shared object file: No such file or ...
3
votes
1answer
5k views

libpng15.so.15, cannot open shared object file

I recently downloaded a binary of Blender, and upon running it on got the following error: jdphenix@jdphenix:~/blender/blender_59865$ ./blender ./blender: error while loading shared libraries: ...
3
votes
1answer
245 views

Feasibility of Static Binaries

I am trying to figure out the implications of a distribution where static binaries are preferred over shared ones. For that purpose, I put together a small Scala shell script that 1) traverses /bin, ...
3
votes
3answers
555 views

Can't launch Nautilus

I'm unable to launch Nautilus. If I launch it from a Terminal, it says: nautilus: error while loading shared libraries: libunity-protocol-private.so.0: cannot open shared object file: No such ...
3
votes
1answer
73 views

Setting up Samba Shares with users that have different read/write permisions

I have just set up a Samba Server and setting up my shares, I have a Media Share that looks like this in the config file. [Media] comment = Media path = /Media browsable = yes read only = no ...