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-libraries]

The tag has no usage guidance.

1
vote
1answer
90 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. ...
0
votes
1answer
231 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?
1
vote
1answer
718 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: ...
0
votes
1answer
31 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 /...
1
vote
1answer
106 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 ...
0
votes
0answers
1k 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 ...
1
vote
1answer
630 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 ...
3
votes
0answers
46 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 ...
2
votes
0answers
32 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 ...
1
vote
0answers
110 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 ...
1
vote
1answer
106 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/...
2
votes
1answer
1k 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 ...
1
vote
0answers
809 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
1k 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 ...
0
votes
1answer
51 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 {} \; | ...
1
vote
1answer
2k 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, ...
2
votes
2answers
57 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, ...
1
vote
2answers
163 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 ...
1
vote
1answer
114 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 ...
0
votes
1answer
904 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'...
0
votes
1answer
1k 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 ...
1
vote
2answers
878 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 ...
-2
votes
2answers
79 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 ?
1
vote
1answer
392 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 ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
71 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:\...
0
votes
0answers
395 views

Running precompiled java files from the command line (Ubuntu)

I checked (based on cannot execute binary file and some other SO questions) that the java file I'm trying to run is indeed executable on Ubuntu 12.04. $ file ORA/include/OraFiles/bin/ora ORA/include/...
2
votes
0answers
2k 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/...
1
vote
2answers
536 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 ...
3
votes
1answer
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 ...
4
votes
1answer
947 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 ...
0
votes
1answer
217 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 ...
23
votes
3answers
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/...
0
votes
1answer
271 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 ...
1
vote
2answers
7k 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 ...
0
votes
1answer
78 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 ...
3
votes
1answer
201 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 ...
1
vote
1answer
125 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 ...
5
votes
2answers
4k 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.
38
votes
3answers
49k 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 ...