Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shared-library]

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

0
votes
1answer
23 views

How to link ffmpeg libs to my C program

I am new to Linux/Ubuntu. I just installed ffmpeg via terminal (sudo apt-get install ffmpeg). I found a tutorial on in it with C programming. The tutorial doesn't show how to link the libs as ...
1
vote
0answers
24 views

Can't run Maya 2017 on Ubuntu 18.04 (error while loading shared libraries: libcurl.so.4)

I used this instruction manual: "Install Autodesk Maya on Ubuntu 18.04" to run Maya 2017 on Ubuntu 18.04: When I tried to enter "/usr/autodesk/maya2017/bin/maya.bin", it displayed the message /usr/...
0
votes
0answers
31 views

GENIE Generator is unable to link to GSL library (undefined reference to `gsl_spline2d_*')

I am trying to install GENIE Generator in Ubuntu 18.04 which depends on Installing Prerequisites: ROOT(version 6.14.00) GNU Scientific Library (GSL) PYTHIA6 LHAPDF5 or LHAPDF6 log4cpp libxml2 I ...
4
votes
1answer
202 views

Create executable and shared library with one makefile

Using makefiles is new to me. My first tests with the simplest approach worked very well so far. But now I got stuck writing a makefile that creates a executable file and a shared library. As I said I'...
0
votes
1answer
23 views

Cannot seem to update my shared libraries path

I am trying to add a library folder to my Ubuntu system. The library folder I am trying to update the system with is: /home/user/programs/elastix/lib. I have tried the following things: I first ...
0
votes
1answer
85 views

error libgtk-3.so.0 not installed even though it's in /usr/lib/x86_64-linux-gnu

I'm trying to install a CAN emulator software with GTK and I keep getting an error. CANMate: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or ...
0
votes
0answers
62 views

How do I install libg2c.so.0 in Ubuntu 18.04 64 bit

I tried to install libg2c.so.0 through the following command which did not work for me sudo apt-get install libg2c0 I am running Ubuntu 18.04-64 bit machine. It would great if somebody can help me ...
1
vote
1answer
87 views

ldconfig shows many libraries are truncated

I have enjoyed using Ubuntu, as my primary OS, since the early days but have finally ran into a problem I can't fix on my own. Every time I install updates with APT I get messages about truncated ...
1
vote
1answer
262 views

missing libgtk-x11-2.0.so.0 in 18.04

id got "X3: Reunion" from gog. But if I want to start it, I get the message ./X3R_config: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or ...
0
votes
1answer
48 views

Stupidly played with shared libraries and now Ubuntu won't start

As I've said in the title, I've stupidly played with my shared libraries without exactly knowing what I was doing. I suddenly couldn't open programs (not even the terminal) so I decided to reboot the ...
0
votes
1answer
93 views

Numerous libxxxx… libraries missing when trying to launch applications

I just freshly installed Ubuntu 18.04 but some things went wrong in the process and now I seem to be missing some libraries. I often can not launch programs after I installed them due to "error while ...
0
votes
0answers
31 views

enforce libtool to link with libdl.so

I am building a shared lib on Ubuntu 18.04.1 that has to be linked explicitly with libdl.so. All is good when using a non-libtool makefile - -ldl is supplied to the linker and the produced binary ...
0
votes
0answers
23 views

How multiple .so file added in ldconfig?

librcdev.so.1.6, librcdev.so.1 and librcdev.so files are linked with librcdev.so.1.6.0 . I updated ldconfig but after: ldconfig -p | grep librcdev All .so files are not showing. (all .so files are ...
0
votes
1answer
467 views

error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory

I'm trying to set up the environment of deepmind/dqn. I run ./install_dependencies.sh to install LuaJIT and Torch 7.0 nngraph Xitari AleWrap But I got: /home/dqn/torch/bin/luajit: error while ...
0
votes
0answers
19 views

How to uninstall multiple version of same C++ Library

I installed C++ GTSAM library manually. Later I see in my /usr/local/lib I have following .so files libgtsam.so libgtsam.so.3 libgtsam.so.3.2.1 libgtsam.so.4 libgtsam.so.4.0.0 libgtsam_unstable....
0
votes
0answers
55 views

installation problem in texstudio in Ubuntu 18.04 [duplicate]

I installed texstudio from Ubuntu software. But when I try to run it, it doesn't open. I tried in terminal by writing texstudio and it shows an error like below: texstudio: error while loading shared ...
2
votes
1answer
20 views

Software package wit its own dynamic library - where to install?

I have written a piece of software (a .deb package) which ships with a dynamic library (foo.so) which is only usable to my softare. Where should I place the library and how can I load it? I don't ...
2
votes
1answer
596 views

Error loading share libraries: libgfortran.so.3 under Ubuntu 18.04.1

I recently installed Ubuntu 18.04.1. Now, when I try to run a mpi Fortran code, there is an error loading the shared library: libgfortran.so.3 and the code does not execute. I tried to reinstall ...
2
votes
0answers
97 views

Which MPI library are packages linked against? Open MPI?

Some packages in the Ubuntu repositories provide pre-compiled binaries of shared libraries (*.so). For example, the package fftw2 provides the FFTW library (version 2), including the MPI-related ...
1
vote
0answers
1k views

Error while loading shared libraries: libQt5Network.so.5:

I was installing GNU octave on my Ubuntu 18.04 (from the terminal). After installation octave wouldn't open when I tried to launch it using the desktop icon. So I tried launching from the terminal and ...
0
votes
1answer
651 views

“Error while loading shared libraries” on Ubuntu 18.04 LTS

I have faced with this error with two programs on a newly installed Ubuntu 18.04. I get the following error message when I run "lifeograph" after instaling it using Software Center or Synaptic. ...
1
vote
1answer
1k views

Unable to run VLC in Ubuntu 18.04

I am using Ubuntu 18.04. After installing VLC so many times still VLC does not open via GUI. It is working from the terminal, but I can not use any other VLC features with it. The error message is ...
1
vote
0answers
251 views

gnome-terminal and some other commands cannot start in Ubuntu 18.04

In Ubuntu 18.04 after some time of usage, I got the following error when trying to start gnome-terminal: Traceback (most recent call last): File "/usr/bin/gnome-terminal", line 9, in <module> ...
6
votes
3answers
3k views

Unable to install R packages in Ubuntu 18.04

Issue Unable to install a few R packages (statistical programming language) since updating from 16.04 to Ubuntu 18.04. The problem is related to the use of the shared library libcurl. More precisely:...
1
vote
0answers
102 views

GoldenDict error while loading

I installed goldendict, but when I tried to run it the terminal tells me: goldendict: error while loading shared libraries: libQt5Svg.so.5: cannot open shared object file: No such file or directory". ...
3
votes
3answers
2k views

How do I restore libz.so.1?

While trying to fix an issue with Python, I accidentally blew away my libz.so.1 binary by symlinking over it. Now a bunch of stuff, including apt-get won't work. The damage is limited to just libz.so....
0
votes
1answer
53 views

How does this program statically link to a .so in a non-default path

A program I am using can only be installed with a custom installer (IDA Freeware Demo). I have installed it in my home dir, it all works fine. Now I noticed when checking the program with ldd: it ...
-3
votes
1answer
231 views

Problems with libraries for programs [GParted, Krita]

GParted or Krita do not start. If you run them through the terminal, you get an error about the libraries. Unit -.mount does not exist, proceeding anyway. /usr/sbin/gpartedbin: error while ...
0
votes
0answers
138 views

Opengrads: Cannot load shared libraires

When trying to run opengrads or grads, i get the error as follows. Please help.
0
votes
2answers
457 views

dislocker doesn't work after upgrade from 17.10 to 18.04

Any use of dislocker returns this error: dislocker: error while loading shared libraries: libmbedcrypto.so.0: cannot open shared object file: No such file or directory How to fix it?
1
vote
2answers
1k views

18.04 - can't run grub-customizer

I'm on a fresh install of Ubuntu 18.04 and I installed grub-customizer. But when I try to launch it, I get the following output: user@ubuntu:~$ grub-customizer grub-customizer: error while loading ...
2
votes
0answers
283 views

libgtk doesn't seem to be updating (3.18 found but 3.22 installed)

I'm trying to compile a program (specifically, Dino), but I get the following error: CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find ...
0
votes
0answers
201 views

libcv.so.4: cannot open shared object file

Can't install libcv.so.4 Installed libcv, libcvaux, -dev, :i386 doesn't work. Can't find version 4 of libcv, only 2.4. How do I know where to pick the libraries from? just doing apt search doesn't ...
1
vote
2answers
2k views

libglut.so.3: cannot open shared object file: No such file or directory

I'm trying to install libglut.so.3 that is required by an application. I have installed freeglut3, freeglut3-dev, but again same error as the title of this question. I have searched then with a sudo ...
1
vote
1answer
49 views

HTK Installation problem [duplicate]

I’m trying to install HTK tools. I have this message when I type make all: error : "/usr/bin/ld : cannot find -lX11"
1
vote
0answers
1k views

Apps not working because of a Qt broken library: XCB missing (Ubuntu 17.10)

Young developer in training I'm new to Ubuntu, and I'm having trouble working with ... Indeed, some applications do not launch because of a library defect. These applications seems to be those ...
0
votes
0answers
420 views

A lot of commands on Ubuntu 16.04 fail to execute:

A lot of commands on Ubuntu 16.04 fail to execute: Recently, I was learning about QEMU, as well as being able to build Debian ARM64 root file system, so maybe I was wrong to execute some commands :(. ...
1
vote
0answers
71 views

a sofware (fluent 6) does not find shared library

after fluent (cfd software) setup, when i run the app i get an error : /usr/local/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 -3ddp /usr/local/Fluent.Inc/fluent6.3.26/cortex/lnamd64/cortex.3.7.3 -f ...
1
vote
0answers
31 views

Discovering the hierarchy of shared library dependencies

I have compiled caffe locally, and on trying to run the tests with make runtests I get the error: libcudart.so.9.0: cannot open shared object file: No such file or directory Note that I have CUDA 8....
0
votes
0answers
28 views

Library cached but not found?

A picture says 1000 words Anyone knows what is going on here, this does not make sense to me Thanks
0
votes
0answers
491 views

enable shared libraries for python

I'm trying to install PostgreSQL with PL/Python server programming language on Ubuntu 16.04 LTS. When I run ./configure --with-python, I receive an error/warning asking for a shared python library. ...
0
votes
0answers
503 views

error while loading shared libraries: lib/libprotoc.so.8: file too short

I get this error will trying to compile files using protocompiler. These are the files that are present in the lib directory. drwxr-xr-x 2 aneesha others 4096 Mar 14 2017 pkgconfig -rwxr-xr-x 1 ...
0
votes
0answers
15 views

What are the shared libs and bins that are installed by default on a fresh ubuntu installation? [duplicate]

Is there anywhere I could find a list of the installed shared libs and bins on a fresh ubuntu installation without having to install one to see for myself? I was creating an AppImage and I wanted to ...
0
votes
0answers
578 views

Why not work LD_LIBRARY_PATH?

I couldn't understand why following command not work. LD_LIBRARY is not parsed collectly. ~:$ export LD_LIBRARY_PATH=; export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/...
0
votes
2answers
1k views

Ubuntu 17.10: where can I find libgstinterfaces-0.10.so.0 or something compatible?

I'm trying to install Maya 2016 in Kubuntu 17.10 64-bit (though I imagine this issue will affect all flavors of Ubuntu 17.10). I've managed to meet every dependency it has except for one shared ...
3
votes
0answers
927 views

libmysqlclient.so.16

I have a program I'm trying to get running on an Ubuntu machine (I've previously run it only on CentOS), and when executing it I get: error while loading shared libraries: libmysqlclient.so.16: ...
0
votes
0answers
323 views

swig error in ubuntu 16.04

For some reason swig on my computer is not configured correctly. It gives this output on checking version: $ swig --version swig: error while loading shared libraries: libpcre.so.1: cannot open ...
1
vote
1answer
508 views

Download a file from a share download link with wget [closed]

Hi for example if I want to download this file. https://8ruce.stackstorage.com/s/G1BhgpdocnuLYQq I first have to press download to start downloading the file. But I can't find the link of file url ...
0
votes
0answers
316 views

Facing problem installing dlib package in Ubuntu 16.04. Import error: libpng16.so.16

I'm getting an error which looks something like this- import dlib Traceback (most recent call last): File "", line 1, in File "/home/harshitw/.virtualenvs/cv/...
2
votes
1answer
9k views

How to fix “libpng12.so.0: cannot open shared object file: No such file or directory”? [duplicate]

I'm just starting out with Lubuntu and I've just installed DaVinci Resolve to do my video editing on. But when I click its icon on the desktop, the loading symbol comes up and stops. When I run it in ...