Questions tagged [shared-libraries]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
306 views

libtinfo.so doesn't exist in custom LFS system

I'm trying to create a custom LFS system. I'm certain I have all the correct packages installed but I'm getting an error when chrooting or booting into it using QEMU. /bin/bash: error while loading ...
sfs's user avatar
  • 33
0 votes
0 answers
311 views

ogg.framework missing arm64e binary/library (m1 mac)

So im trying to run a game that was compiled from source and it required dependencies such as libogg. When i compiled the game and try to run it, an error occured dyld[26732]: Library not loaded: @...
drxjason's user avatar
1 vote
1 answer
82 views

Trying to use miredo, missing libtun6.so.0

I am trying to use miredo, but when I run sudo miredo, I get miredo: error while loading shared libraries: libtun6.so.0: cannot open shared object file: No such file or directory Using Debian 10. ...
PugzAreCute's user avatar
0 votes
0 answers
128 views

Why did my DLL disappear?

I have two similar computers (same OS and similar software), both of which have run Minecraft for years. But when I started Minecraft today, I got this error: "The program can't start because ...
Dan R.'s user avatar
  • 105
0 votes
1 answer
449 views

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

I am trying to debug my C++ application from the shell. gdb --args [scripts' parameters...] Then, in the gdb: (gdb) run and I get the output: error while loading shared libraries: libsymbolic.so: ...
Omer Lerinman's user avatar
0 votes
1 answer
487 views

Find out, how a library is linked to a binary via another linked library

Let's say I have a binary test and it uses shared libraries a.so b.so c.so I have trouble running the binary, because one of the linked libraries links another library d.so that seams to be the ...
Michal Artazov's user avatar
0 votes
2 answers
500 views

ldd but for interlibrary dependencies?

Is there a tool like ldd which shows which libraries an executable depends on,but for inter-library dependencies. For example one shared library needs another one.How to get the dependencies. I'm in ...
microwth's user avatar
  • 155
0 votes
1 answer
526 views

Cygwin - error loading shared library: arm-elf-gcc.exe from GNUARM

I have installed Embedded Robot Coder, a set of tools for developing embedded ARM applications, e. g. for Lego NXT brick, using MATLAB on Windows. It contains Cygwin, GNUARM utilities and so on. When ...
Morpheus's user avatar
2 votes
1 answer
5k views

asterisk: error while loading shared libraries: libasteriskssl.so.1

I am using Ubuntu 14.04 and followed the instructions to install asterisk from this link Ubuntu 14.04 Asterisk server installation All worked well until I run asterisk and get a shared lib error. ...
Naten Baptista's user avatar
6 votes
1 answer
12k views

What is the difference between /usr/lib /usr/local/lib and /usr/lib/x86_64-linux-gnu?

In my Linux machine I have boost libraries (libboost*.so files) in all of the above directories. I am wondering what is the difference between them. Can I remove the duplicate so files?
motam79's user avatar
  • 480
1 vote
1 answer
2k views

Broken yum update on CentOS 7: gdal

When performing: yum update on my CentOS 7 server, I receive this strange error: Error: Package: gdal-1.11.4-12.rhel7.x86_64 (pgdg93) Requires: libproj.so.12()(64bit) Error: Package: ...
david.perez's user avatar
0 votes
1 answer
93 views

postfix failed to start

I try to set up postfix on my WS880 router under ASUSWRT-Merlin. When I run it from command line, got error /opt/sbin/postlog: can't load library 'libresolv.so.0' In fact libresolv.so.0 lay in /...
Alexey's user avatar
  • 363
1 vote
1 answer
387 views

Error running tmux in cygwin

I have installed tmux through apt-cyg, but I keep getting this error when trying to run tmux: $ C:/cygwin64/bin/tmux.exe: error while loading shared libraries: cygevent-2-0-5.dll: cannot open shared ...
Chris's user avatar
  • 113
0 votes
0 answers
2k views

Getting the error "/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found" and other errors when I type gmake in Qt directory

I installed the offline installer "Qt 5.8.0 for Linux 64-bit (766 MB)" and also the tar.gz file for Linux and mac users from the following link: https://www.qt.io/download-open-source/ The tar.gz ...
a_sid's user avatar
  • 179
1 vote
1 answer
2k views

How to run software that requires legacy library version?

I have an old app that requires old OpenCV version (<=2.4.9) and crashes on newer versions (OpenCV partially dropped support for C API since 2.5). I used to just use really really old distro and ...
Lapsio's user avatar
  • 780
3 votes
0 answers
202 views

Is there a ProgramData equivalent for OS X/macOS Sierra?

In Windows, it's common to write shared data to %ProgramData%\path\to\stuff. From there, programs installed for any user can access it as a sort of "source of truth" or common repository. Usually ...
rianjs's user avatar
  • 409
2 votes
0 answers
125 views

Why are shared libraries (.so files) loaded as private?

This is from an smaps file: b750d000-b76bc000 r-xp 00000000 08:01 918842 /lib/i386-linux-gnu/libc-2.23.so The p in r-xp indicates it is loaded as private I believe. Why is this so? Doesn't this ...
ben_joseph's user avatar
1 vote
0 answers
288 views

shim a library that has versioned symbols

For a library loaded by a shared object, how do I allow versioned symbols to be resolved by the executable? There is a proprietary library used by many executables on a system which has a bug in one ...
BuddyJohn's user avatar
  • 133
1 vote
1 answer
2k views

Shared object (so) files search paths

What is the sequence of paths that are searched for loading a shared object file? I am trying to run a executable which tries to load a shared object file. The shared object file can be found at /usr/...
Mukul Gupta's user avatar
2 votes
1 answer
2k views

Create shared library of VBA functions in Excel

At our company we have a lot of different Excel files to keep track of our projects. We would like to implement some VBA functions in these files, written by us, the IT department. We want it so that ...
Teebs's user avatar
  • 175
2 votes
0 answers
1k views

LD_LIBRARY and ldd: cannot open shared object file although it exists

When I try to enable postgis in a postgresql database, it says me: ERROR: could not load library "/home/nadai/compiled/postgres/lib/postgis-2.2.so": libproj.so.10: cannot open shared object file: No ...
marcodena's user avatar
  • 121
1 vote
1 answer
2k views

Updating libpng on Ubuntu

I had a need to run the Ubuntu libpng utility convert, and when I did I got an error message that my version of libpng was out of date and had to be updated. So, I went the usual route of apt-get ...
Peter P's user avatar
  • 11
0 votes
0 answers
2k views

How to fix shared libraries errors?

I moved a HDD with Ubuntu 14.04 from my PC to a laptop. It boots without problems but it's stuck on the login screen. If I enter my password it will go back to the login screen. If I log in via ...
N Alex's user avatar
  • 101
0 votes
1 answer
658 views

Find Executables that link an SO file

I know that I can print out the so files that an exe has linked with ldd. What I want is to go the other way. My current approach is to run something like find / -type f -executable -exec ldd {} \; | ...
TheBat's user avatar
  • 191
1 vote
1 answer
3k views

gcc configure --disable-shared fails to disable shared libraries during compilation, libgmp and libmpc conflict

I'm compiling GCC on a build server to get access to the latest version of gfortran; after building gmp, mpfr, and mpc into specially-prefixed directories in usr/local, I configured and make'd gcc, ...
Zachary Doyle's user avatar
2 votes
2 answers
73 views

how does a program know where it's shared libs are, without LD_LIBRARY_PATH

I have a program foobar that uses shared libraries. I setup LD_LIBRARY_PATH correctly and then when I run >ldd foobar I can see that it knows full paths to all the libraries it needs. However, ...
user322908's user avatar
1 vote
2 answers
178 views

Make a folder "Sharable" on Mac

My Mac got two different password protected users. Is there any way I can make the "music" folder a shared folder without copying/duplicating anything? NOTE: When I right-click and "get info" on ...
Physics_maths's user avatar
2 votes
1 answer
908 views

Finding all files that link to a particular library on Linux

I could possibly write a script to do a combination of find, ldd, and grep, but wanted to find out if there is a better way. For example if the library is /usr/lib/libmhash.so.2, I'd like to know all ...
slowpoison's user avatar
0 votes
1 answer
2k views

Changing specific shared library of linux executable

I'm building an android application on a GNU/Linux based server and aapt is complaining that lib/libz.so.1 is out of date: /lib/libz.so.1: no version information available (required by .../aapt) I'...
user avatar
0 votes
1 answer
2k views

Cannot run 32-bit dynamic executable on 64-bit Ubuntu

For the record, I have spent nearly 6 hours today working on this. I've exhausted Google and other similar questions on Stack Overflow/Superuser and other various mailing lists. I'm trying to run the ...
Chris Olin's user avatar
1 vote
2 answers
1k views

Error while loading shared libraries - libwebsock

Im trying to setup libwebsock, simple C websocket library. I followed the installation procedure from INSTALL file, everything went fine. Im able to compile test program given in the examples. But ...
noisy cat's user avatar
  • 113
-1 votes
2 answers
90 views

Can anyone explain me about shared memory in an OS [closed]

Can anyone explain me how is shared memory related to the operating system? Recently I am seeing it mentioned frequently. What does it exactly mean ? It is a part of memory in RAM ?
user2720323's user avatar
1 vote
1 answer
2k views

Where can I download the .so for OpenSSL

Does anyone know if it is possible to download the latest shared library of OpenSSL from their website? I can only find the source, so maybe they don't make it available. I know I can build this ...
MeanwhileInHell's user avatar
0 votes
1 answer
1k views

What is the general strategy for handling multiple missing shared objects?

I'm still learning Linux, so bear with me... I ran ldd on Apache's httpd and found many missing shared libraries. I am new to this machine and am not sure whether some of these are misplaced or ...
barrrista's user avatar
  • 1,729
2 votes
1 answer
2k views

How does a unix binary decide where to get a shared library?

I use a Linux executable, the libraries are located in many place. I mean the same library with different version. The problem is the executable picks up the executable in wrong library. The OS is ...
Aftershock's user avatar
0 votes
1 answer
87 views

Doing a dir or ls for a windows library abstraction? [duplicate]

We all know dir and if you have cygwin ls. I am wondering how could I use either of these commands for a windows library abstraction. For example, my music library points to C:\users\me\music and c:\...
More Than Five's user avatar
2 votes
0 answers
3k views

Can you run a program using a custom glibc? [closed]

I installed Mathematica 9 on an old Red Hat Enterprise Linux AS release 4 system. After the installation, I tried to start Mathematica, but following message came out: /home/wcbao/M/Wolfram/...
user15964's user avatar
  • 169
1 vote
2 answers
992 views

Impact of LD_LIBRARY_PATH on simple commands in Linux

I am using Red Hat Enterprise Linux Server release 5.7 (Tikanga). When I change LD_LIBRARY_PATH, the system becomes very slow for every command (except for shell builtins like cd) For example, ls in ...
ondway's user avatar
  • 11
3 votes
1 answer
7k views

How do I add a network folder to a Windows 8 library? [duplicate]

Possible Duplicate: Windows 7 - creating a local library with network shares/drives A follow-up to this question: Add a network folder as a readonly Windows 8 library location When I try and add ...
Eclipse's user avatar
  • 398
4 votes
1 answer
963 views

Add a network folder as a readonly Windows 8 library location

I have some movies and music on a NAS drive, and want to allow my children to access them from Windows 8. My plan was to add the relevant NAS folders as new "library locations" for their Music and ...
Mark Heath's user avatar
0 votes
1 answer
242 views

OpenBox pyPanel error with Imlib2 on OSX

I'm trying to use pyPanel in OpenBox, but when I run it I get this error: Xlib.protocol.request.QueryExtension Imlib2 dlopen failed: dlopen(/usr/lib/libImlib2.so.1, 10): image not found I have ...
gavflynn's user avatar
24 votes
3 answers
3k views

Subverting the execute flag on Linux systems. Why is this possible?

Whilst reading this, I found the following exploit: % cp /usr/bin/id ~ % chmod -x ~/id % ls -al ~/id -rw-r--r-- 1 edd edd 22020 2012-08-01 15:06 /home/edd/id % ~/id zsh: permission denied: /home/edd/...
Edd Barrett's user avatar
0 votes
1 answer
282 views

Fedora 16: Failed to install scion-browser with cabal

It seems like on Fedora 16 cabal isn't able to install scion-browser from hackage because of some incompatibilities with respect to Fedora's shared objects. When I run cabal install scion-browser I ...
Riccardo T.'s user avatar
1 vote
3 answers
11k views

Changing the version of ld-linux-x86-64.so.2 in RHEL5.7

I'm trying to use shared libraries that don't play well with the ld-linux-x86-64.so.2 that is found in /lib64. I don't have root access so I can't change the file in /lib64. Is there a way that I ...
Bryan's user avatar
  • 13
0 votes
1 answer
206 views

How can I forcibly change a shared library version used by my code from a certain folder than the default one in /usr/local/lib/?

I have an app I am building on Linux (Ubuntu). The steps involved are ./configure with certain options, make, and then execute the app. By default the app links/uses a shared library present in the ...
goldenmean's user avatar
  • 2,467
3 votes
1 answer
225 views

ssh without remote shell

Is there any way to get sshd to run an executable without first starting a shell? The problem is that I accidentally moved libtermcap on a server (which is running CentOS 5). I can't ssh to the ...
John Lazenbatt's user avatar
1 vote
1 answer
286 views

Ensure libraries in /usr/lib{64} are found before those defined in /etc/ld.so.conf

I am running Fedora 15 x86_64 and have the Oracle 11 client installed, and have an /etc/ld.so.conf.d/oracle.conf file configured so I can automatically pick-up the client shared object file. However ...
trojanfoe's user avatar
  • 375
5 votes
2 answers
5k views

How do I know which shared libraries are loaded by an already running process?

How do I know which shared libraries are loaded by an already running process? I'm using Linux.
user avatar
54 votes
4 answers
78k views

Find libraries a binary was linked against

I know that there is a command that lists me the libs and respective versions a software was linked against. Something with ld or libtool? But I just cannot remember. Spent some time on google but ...
er4z0r's user avatar
  • 771