Questions tagged [shared-library]
related to shared libraries, .so files and their manipulation in Ubuntu
422
questions
0
votes
0
answers
5k
views
ldconfig.real cannot stat an existing directory
I am trying do deploy a application. I created a *.deb package (using fpm) which installs libraries to $HOME/.local/lib/nca and binaries to $HOME/.local/bin.
To make my libraries visible I also ...
12
votes
7
answers
98k
views
version `GLIBCXX_3.4.26' not found even though libstdc++.so.6 recent enough
I realize there are many questions like this, but the difference from the others is that my libstdc++.so.6 actually does appear to be up to date enough (see below for the strings it exports). This is ...
0
votes
1
answer
528
views
static compile fails founding libs
For some rescue task I need to compile extundelete and some other tools with shared libraries within the binary file.
I've been searching through configure and make options as well as AskUbuntu ...
1
vote
0
answers
2k
views
gdb error for keepassx/keepassxc: "Cannot find user-level thread for LWP" "generic error"
I tried to run gdb on keepassxc, but encountered an unfamiliar error:
$ gdb /usr/bin/keepassxc
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
...
1
vote
1
answer
2k
views
ARM cross compiler - arm-linux-gnueabihf error. liblto_plugin.so not found
I am trying to make a linux kernel - 4.15.17. It is a project I have inherited, and it appears to use the arm-linux-gnueabihf-gcc compiler. Below is the output from the make process:
ndu@ndu-...
0
votes
1
answer
2k
views
error while loading shared libraries: libapbs.so: cannot open shared object file: No such file or directory
I am trying to run Schrodinger maestro when I use sudo nautilus to run the file I get the error
/opt/schrodinger2019-2/maestro-v12.0/bin/Linux-x86_64/maestro: error while loading shared libraries: ...
-1
votes
1
answer
1k
views
Gparted - error while loading shared libraries: libgtk-x11-2.0.so.0
Ubuntu 19.04
gparted version (0.32.0-1ubuntu1)
Running sudo gparted i get:
Unit tmp.mount does not exist, proceeding anyway.
/usr/sbin/gpartedbin: error while loading shared libraries: libgtk-x11-2....
0
votes
1
answer
2k
views
Unable to install Octave in armhf - Error in loading `libopenblas.so.0`
I have installed Ubuntu 18.04 (using the armhf rootfs created by Canonical) in Termux in my mobile phone.
While installing octave (sudo apt install octave) I am getting the following error.
Setting up ...
1
vote
0
answers
2k
views
Why does my file become a shared library instead of an executable?
I'm trying to build a SPPARKS (Sandia software) executable file following the procedure detailed here:
https://www.youtube.com/watch?v=BT1RsrPkKXU
The issue is that, my final "make" file should end ...
1
vote
0
answers
544
views
Ubuntu 18.04 Apache2 not working - Libexec folder not found
I am running a fresh install of Ubuntu 18.04 and I am trying to install LAMP onto it. When I run sudo apt install apache2 the build failed with errors:
Failed To Start The Apache HTTP server
After ...
0
votes
1
answer
542
views
Issue with Cisco Packet Tracer 7.2.1
I'm new to troubleshooting in Linux in general and this goes as my first post here. I'm having trouble installing Cisco Packet Tracer on Ubuntu 19.04 mainly because of a dependency for 'libpng12-0' ...
26
votes
3
answers
16k
views
Wolfram Mathematica after upgrade to Ubuntu 19.04: symbol lookup error: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var
I have recently upgraded my desktop PC from Ubuntu 18.10 to 19.04. Now I am getting the following error when I try to start ̶o̶n̶e̶ ̶o̶f̶ ̶m̶y̶ ̶p̶r̶o̶g̶r̶a̶m̶s̶ Wolfram Mathematica 11.3:
symbol ...
1
vote
0
answers
302
views
Why does swift not work on my ubuntu?
I am trying to install swift on linux, I followed the instructions on swift.org on how to install swift, but when I try to check the version via following command swift --version, i get this error ...
2
votes
1
answer
25k
views
ld cannot find shared library
Note: I visited many topics with questions similar to this one, although solutions chosen as accepted were all things I've already tried, so please, consider this before marking as duplicate.
Also, I'...
0
votes
2
answers
786
views
Fail to find C libs in /lib/libc
I learned the C libs locate in
/lib/libc.so.6 or /lib64/libc.so.6, but this file
is sometimes a symbolic link to a file of another name, such as /lib/
libc-2.15.so.
However, I could find it
me@...
1
vote
1
answer
1k
views
Two examples of shared library problems, is this a 18.04 issue?
I've just tried to run this program and have had library problems. I have the right libraries, but the program is looking in the wrong place? Is there a fix?
EDIT: I should say that I installed this ...
0
votes
1
answer
5k
views
ubuntu 18.10 broken for a lot of packages? This time libdouble-conversion?
While trying to install my usual environment on Ubuntu 18.10 I have run into many, many problems.
I am curious why packages that are supposedly working under 18 seem to have all these issues?
I ...
0
votes
1
answer
739
views
Is there a way to apply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. for every command automatically?
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./myAppUsingAlibraryInThisDirectory
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ~/dir/anotherAppUsingLibraryFromHere
Is there a shortcut for this so that I don't need to re-...
12
votes
1
answer
7k
views
Suddenly Okular will not open any more
I have made my laptop double boot a few months again, with Ubuntu 18.04.1 . I have been working with okular to open pdf files (for the commenting option) but suddenly okular doesn't work anymore. When ...
1
vote
2
answers
2k
views
Unable to open pdf file using evince. error while loading libraries: libexpat.so.1
I am unable to open pdf file using evince on Ubuntu 16.04. I get the following error:
evince: error while loading shared libraries: libexpat.so.1: failed to map segment from shared object
I have ...
0
votes
1
answer
2k
views
error while loading shared libraries: libm.so.6: cannot stat shared object: Error 38
I am a Linux noob trying to compile a 32 bit program and run it on 64bit Ubuntu. It compiles fine but when I run it I get this error:
error while loading shared libraries: libm.so.6: cannot stat ...
3
votes
1
answer
19k
views
can't load shared library libXt.so.6 - although it can be located
Starting binary -> can't open shared library
I want to start a binary:
$ my@mypc:~/Machinarium$ ./Machinarium
./Machinarium: error while loading shared libraries: libXt.so.6: cannot open shared ...
2
votes
1
answer
2k
views
Ubuntu MATE won't boot: "Kernel panic - not syncing" and "error while loading shared libraries"
Nothing was done to prompt this error, simply booting my computer and it gave me an error (which I cannot remember) which was (presumably) fixed by entering
fsck -fy /dev/sda2
I then rebooted my ...
0
votes
1
answer
4k
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
0
answers
574
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
2
answers
700
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
1
answer
12k
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
1
answer
3k
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 ...
3
votes
1
answer
35k
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 ...
4
votes
1
answer
9k
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 ...
7
votes
2
answers
45k
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 ...
0
votes
1
answer
745
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
1
answer
1k
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
0
answers
610
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 ...
3
votes
2
answers
37k
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 ...
2
votes
1
answer
81
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 ...
11
votes
2
answers
51k
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
2
answers
1k
views
Okular no longer working in terminal after Kubuntu 18 upgrading
I have recently upgraded from Kubuntu 16 to 18.
When I try to run okular in a terminal (konsole) as a user (as I have been successfully doing before, in vs 16), in vs 18 it fails, giving a message ...
2
votes
0
answers
642
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 ...
3
votes
0
answers
18k
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
1
answer
3k
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.
...
2
votes
1
answer
3k
views
Unable to run VLC in Ubuntu 18.04 [duplicate]
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
0
answers
418
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>
...
13
votes
3
answers
19k
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
0
answers
272
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". ...
6
votes
3
answers
22k
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
2
answers
769
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
1
answer
1k
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 ...
2
votes
2
answers
2k
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
2
answers
4k
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 ...