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

learn more… | top users | synonyms

3
votes
1answer
2k views

Setting LD_LIBRARY_PATH before running an app from a terminal has no effect

I have several builds of an application on my system (a dev build and many older released builds). When I'm trying to run an older release, the system invariably picks up the dynamic libraries from ...
2
votes
1answer
618 views

add path directories for boost installation

I have installed boost_1.58_0 on my loptop's home directory. After some processes I faced to this message: The following directory should be added to compiler include paths: /home/acerv3-571g/...
2
votes
1answer
587 views

How should I fix libraries that can't be found because of multiarch naming?

I've run into this problem a few times now. I have some program that is looking for a library and can't find it, even though it is in /usr/lib/x86_64-linux-gnu. Maybe this a flaw in the way the ...
1
vote
1answer
123 views

Service not avaliable Unity3d error in Kubuntu

I'm trying to use Unity3d in Kubuntu, but I'm getting this error: Service not avaliable, please try again later. I've found this post: Certain systems may experience "Service unavailable" errors ...
1
vote
1answer
87 views

Execution error with .so file

When running a server and trying to connect to a web socket I have an execution error: ./cameraserver: symbol lookup error: /home/ivan/Desktop/jderobot/JdeRobot/src/stable/interfaces/cpp/jderobot/...
1
vote
1answer
1k views

LD Library Path

I am not sure whether my LD_LIBRARY_PATH is working. I installed Qt5.2.1 on Ubuntu and tried to execute an application from the command line using sudo ./App1. ( App1 needs sudo access, hence I ...
1
vote
1answer
339 views

Trying to resolve “Cannot open shared object file libudev.so.0”? Getting too many levels of symbolic links problem

I was trying to solve the problem highlighted here: But whenever I execute ln -s libudev.so.1 libudev.so.0 or even ln -s libudev.so.0 libudev.so.1 I get Too many symbolic links error. I know ...
1
vote
1answer
565 views

ldconfig ignores some files under /usr/local/lib/

When trying to start a certain program, I got the following error message: error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory Therefore I ...
1
vote
1answer
2k views

Can't run Second life firestorm viewer (32bit) in ubuntu 64 bit

I'm trying to install a Second Life client called Phoenix Viewer. On the first attempt, I got a message about X errors. I searched the net all I could see to fix 32 bit apps and run them under 64 ...
1
vote
1answer
100 views

Library Installation

To clear my doubt consider I am installing an application 'something' from the software centre. 'something' depends on a library 'libx' whose version is x.0.2. So it gets installed. Now I want to ...
0
votes
1answer
10 views

another /lib question: domain wide lib folder

my intention here is not to create another duplicate thread similar to what is the difference between different 'lib' folder in ubuntu I have a cluster of machines, all running either Ubuntu ...
0
votes
1answer
87 views

/usr/bin/ld: cannot find -lGL

I'm trying to compile Alephone on Ubuntu 14.04, but I'm getting the issue that -lGL isn't found. Running whereis libGL.so returns nothing, even though I've installed libgl1-mesa-dev, mesa-common-dev, ...
0
votes
1answer
83 views

apt-get not work and putty not connect

When I want to login to ssh by putty show me this errors: Connection refused and when I connect to Ubuntu via VNC when I login I see this errors: apt-config: error while loading shared libraries: ...
0
votes
1answer
303 views

shared lib libmp.so.3 not found

I am trying to run the software Synopsys-Sentaurus on x64 machine with Ubuntu 15. I get the error "unable to open shared lib libmp.so.3..." the libg gmp seems to be installed. Any help is welcome, ...
0
votes
1answer
88 views

pthread_kill(0,0) crashes

This is my first question here (as you can probably tell from the poor formatting of GDB's output below :^}, and this may not be the right forum ??... Using Ubuntu 14.04, calling pthread_kill(0,0) ...
0
votes
1answer
310 views

Error while loading shared library libz.so.1 while cross compiling for arm-linux

I'm trying to cross compile an opencv app on Ubuntu 14.04 to run on an ARM core. I can compile the open cv app fine on Ubuntu with g++ test.c -o test -I /usr/include/opencv -I /usr/include/opencv2 -L ...
0
votes
1answer
856 views

The linker cant find blas and atlas on ubunu 12.04

i have installed blas and atlas by the following commands sudo apt-get install libatlas-base-dev sudo apt-get install libopenblas-dev But I am using a library which internally make use of it, while ...
3
votes
0answers
97 views

How can I run an c/c++ program that use GNU Scientific Library (GSL)?

I'm trying to run 2 simple examples in c/c++ using the GNU Scientific Library. That are the codes: 1st: An Example Program #include <stdio.h> #include <gsl/gsl_sf_bessel.h> int main (...
3
votes
0answers
841 views

ldconfig: Path `/lib/x86_64-linux-gnu' given more than once

I'm running 12.10. I'm trying to run an application that needs libglut.so.3. I installed freeglut3 and I can see the library located in /usr/lib/x86_64-linux-gnu. But when I run the application, it ...
3
votes
0answers
615 views

How to package shared library in deb packages

My application uses some shared libraries, which i need to package with the binary, and as per Debian Policy Rules It is recommended that supporting files and run-time support programs that do not ...
2
votes
0answers
15 views

ubuntu version and shared libraries

I am wondering if there is a convention that links the Ubuntu version with the shared library version shipped with the OS: Is it true to say that usually all same Ubuntu versions that only differ by ...
2
votes
0answers
210 views

Error installing Steam on 14.04.03 (missing 32-bit libraries)

I have the Steam Launcher installed (installed via Software Center), when double-clicking the launcher the following is executed in the command window: Steam needs to install these additional ...
2
votes
0answers
298 views

mountall: error while loading shared libraries: libudev.so.0

I don't know how to fix this. My system won't even get past the loading screen. When I press F1 on the Ubuntu splash screen it shows me log with this message. mountall: error while loading shared ...
2
votes
0answers
986 views

Unable to open shared libasound library, despite file existing

In attempting to revisit my childhood and play Sid Meier's Alpha Centauri again on Linux (something which I accomplished successfully a few years back), I've run into a stubborn error. The Loki port ...
2
votes
0answers
253 views

libatk-bridge-2.0.so.0 shared library not found when opening gedit

Also my Ubuntu don't boot anymore. I already installed the package at-spi2-atk with no avail. I think this package should install that lib on my system. I don't know if it's related to the boot ...
2
votes
0answers
113 views

compiling a shared library

I'm doing a 64-bit rewrite of some code I wrote that implements a novel approach to genetic algorithms that I want to turn into a shared library exclusive to Ubuntu using code::blocks/gcc. I have ...
1
vote
0answers
129 views

squeak: could not find any display driver

I am building the vm for squeak on Ubuntu 14.04 32-bit. It is failing to call entry points to libraries, whether these libraries are statically linked or loaded or not loaded. I have been doing some ...
1
vote
0answers
381 views

Installing a software changed the path to shared libraries

I have a limited knowledge of how linux works but I will try to explain my problem as clearly as possible. I recently tried to install wallch on Ubuntu 15.04 but I wasn't able to start it. When ...
1
vote
0answers
42 views

Coherence between package version and served files

Currently, I am trying to understand how distro maintainer build and choose names for their packages and there is (from my point of view) a lack of coherence for a specific package. Take the libzmq ...
1
vote
0answers
47 views

Remove private shared libraries from Depends field in control

I'm using command debuild -b to package my application into a .deb. When it goes to run dh_makeshlibs, many shared libraries' names are added in debian/my-package/DEBIAN/shlibs. But some of them are ...
1
vote
0answers
278 views

How to run Qt app compiled&linked with Qt 4.8.4 on a system with integrated Qt 4.8.6

I wrote an application using Qt 4.8.4. Now I purchased a new PC and installed Kubuntu 14.10 based on Qt 4.8.6. To develop my application, I built Qt 4.8.4 from source using make install and that went ...
1
vote
0answers
534 views

Why can I compile against libclang-3.5.so and not against libclang.so?

I am trying to compile a C source file, that needs to be linked against a dynamic library I installed through apt-get (libclang.so). apt-get installed the clang shared libraries in /usr/lib/x86_64-...
1
vote
0answers
130 views

Linking with versioned shared libraries

I've been using Ubuntu for a couple of years now and a problem that I consistently come across is with linking against particular versions of shared object files. For example, I'm trying to install ...
1
vote
0answers
751 views

Specify shared library location for VLC

I built (from source) a newer version of libavcodec.so, libavformat.so, etc. than provided by the Ubuntu repositories. (My newer versions are installed in /usr/local/lib). Using ldd /usr/bin/vlc to ...
0
votes
0answers
25 views

How do I find what library was compiled with lto 4.0 instead of 4.1?

All of a sudden I've been getting the following error (something probably updated my gcc or something): lto1: fatal error: bytecode stream generated with LTO version 4.0 instead of the expected 4.1 ...
0
votes
0answers
18 views

gcc Makefile - how to link generic library name

Up to now my packages for Fotoxx have worked on all Ubuntu releases from 14.04 through 16.04. I replaced dcraw with libraw and now I cannot make such a universal package. Ubuntu 14.04 has libraw9, 16....
0
votes
0answers
19 views

how to install libmwil8n.so library in ubuntu 14.04

I have to do some computational analysis with MATLAB and every time i run the scrips i am incurring following error dev@dev-OptiPlex-780:~/Documents/matlab/megconnectome-3.0/bin$ ./hcp_anatomy.sh /...
0
votes
0answers
58 views

14.04 - can't find libjava.so

I am trying to run Java 2 on Ubuntu 14.04 x64 with the latest updates. The reason I am trying to do this is because I have a really old API that was built java 2. And no its not compatible with the ...
0
votes
0answers
21 views

Critical error while loading shared libraries

I have been upgrading the libpcre libraries and I do not know how but now the system displays the following error: ls: error while loading shared libraries: libpcre3.so.3: cannot open shared object ...
0
votes
0answers
153 views

dlopen cannot find library in /usr/local/lib, but finds a symlink to it

I have built and installed LLVM 3.7 locally into /usr/local/lib: > ls -alh /usr/local/lib/libLLVM-* lrwxrwxrwx 1 root root 14 Feb 15 20:59 /usr/local/lib/libLLVM-3.7.1.so -> libLLVM-3.7.so* -...
0
votes
0answers
26 views

shared library search

How to run GLESSample program to use libEGL.so, libGLESv2.so files from GLES_SDK_v31/lib directory. I symlinked them to GLES_SDK_v31/sample/bin. When run it loads mesa versions. :~/prog/c/opengl/...
0
votes
0answers
91 views

How to install libevent 2.1 in Ubuntu wily

A program failed with undefined symbol: evutil_secure_rng_set_urandom_device_file which is a function in libevent 2.1. The current version in wily seems to be 2.0.5 (as of apt-cache search ...
0
votes
0answers
14 views

how to fix libwayland missing in Ubunutu 12.04

hi how can i resolve this error message saying error while loading shared libraries: libwayland-client.so.0: cannot open shared object file: No such file or directory. i tried installing ...
0
votes
0answers
35 views

How to prevent shared library loading error after installing a new package

I'm developing an application on Linux Mint 17.1 Cinnamon in Qt, which uses openCV 3.0.0 and OpenMesh 3.2 My problem is whenever I install a new package on the system, I can't run the application (...
0
votes
0answers
68 views

OpenCV using Code::Blocks, shared library errors

I've installed openCV and followed these steps to configure my Code::Blocks. I am getting these errors: By the way: I've tried ldconfig and creating a opencv.conf file through this.
0
votes
0answers
57 views

Mupen64plus not dlopen() ing mupen64plus-video-glide64mk2.so

I am running Lubuntu 15.10 on my machine currently and happen to notice something strange happening with a Mupen64Plus graphics plugin. Upon running the program, I get a strange error message ...
0
votes
0answers
50 views

How to remove libglew1.10 without killing ubuntu desktop

I am on Ubuntu 14.04. If I do sudo apt-get remove libglew1.10 ubuntu-desktop and unity will be removed, I accidentally do it once and I had to go to recovery mode to reinstall everything back. I ...
0
votes
0answers
57 views

cannot start freefilesycn after update to version 7.6

I updated my FreeFileSync-installation recently to version 7.6. After doing this I'm not able to start FFS anymore with this error ./FreeFileSync: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `...
0
votes
0answers
20 views

How to force library search path for an application (Not entire system)?

How could I override the library search path for an application? For example: I hope MyApplicantion to search libraries only from /usr/lib/mylib
0
votes
0answers
52 views

Where is libgtkhtml-2.so.0

I'm trying to run the program xtrkcad (for model railroading) and my attempt to run it runs into a missing library file libgtkhtml-2.so.0. Where can I find it?