The shared-library tag has no usage guidance.
0
votes
1answer
21 views
error while loading shared libraries: libcppunit-1.13.so.0: cannot open shared object file: No such file or directory
I've done everything I thought was needed, but can't get this library to be installed properly.
ldconfig -p | grep libcppunit
keeps returning the empty string.
To install it, I've run (do not ...
2
votes
0answers
56 views
apparmor - cannot load library
I'm trying to get apparmor set up on my system and am having troubles getting past the permission denied error:
ping: error while loading shared libraries: libcap.so.2: cannot stat shared object: ...
4
votes
1answer
102 views
Why can't I execute Android x86 executables on Linux
I am trying to port Android apps to Linux (don't laugh :) and I have come across a problem. When trying to execute an Android executable (app_process) after adding the executable permission with ...
-1
votes
1answer
70 views
Where do C# executables running on an Ubuntu Linux 16.04 desktop which use source code that DLLImport's shared objects look for them at runtime? [closed]
Where do C# executables running on an Ubuntu Linux 16.04 Lenovo Thinkstation desktop which use source code that DLLImport's shared objects (so's) look for shared objects at runtime? Even if the shared ...
3
votes
2answers
57 views
Why nm shows no symbols for /lib/i386-linux-gnu/libc.so.6?
I expected to see number of symbols in the libc.so.6 file including printf. I used the nm tool to find them, however it says there is no symbol in libc.so.6.
0
votes
0answers
54 views
Where are the definitions for the prototype declarations in <bsd/stdlib.h>?
I have a C program on Ubuntu 16.04, in which I would like to use arc4random_uniform.
typedef unsigned char u_char;
#include <bsd/stdlib.h>
int main () { return (int) arc4random_uniform(100); }
...
1
vote
2answers
39 views
rsync on AIX gives popt The module has an invalid magic number error
[SERVER:root:/home/user:] rsync -avz --delete ...
Could not load program rsync:
Dependent module /opt/freeware/lib/libpopt.a(libpopt.so.0) could not be loaded.
The module has an invalid magic ...
0
votes
1answer
18 views
How can I tell if GNU GSL is installed?
How can I find out if GNU Scientific Library is installed?
OSX 10.11
0
votes
1answer
20 views
fglrx's libGL.so & gcc trouble
I'm trying to compile a QT5 application, but it fails over an incompatible libGL.so:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libGL.so ...
0
votes
2answers
122 views
Is it possible to install both Gstreamer 0.10 and Gstreamer 1.0 at the same time?
I have a computer that runs Debian Stretch which has Gstreamer 1.0 installed. I am trying to run a Processing sketch that uses the Processing video library which in turn relies on Gstreamer 0.10. This ...
0
votes
0answers
24 views
Why does .text region of shared libraries is not flagged as VM_SHARED?
When I'm using shmem/mmap to share memory between processes I can see with pmap that it creates virtual memory area that marked as shared. Example:
Address Kbytes RSS Dirty Mode ...
3
votes
1answer
84 views
How to change the paths to shared libraries (.so files) for a single terminal instance
I want to remove some of the paths the linker uses to find .so libraries for testing purposes.
I have found a way to add library paths:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/library"
...
0
votes
0answers
187 views
How to install libcrypto++9v5 and libcrypto++9 at same time
im trying to install an application which need libcrypto++9 to be installed but im still using some Apps which are using libcrypto++9v5 so when i try to install debain package of libcrypto++9 they ...
2
votes
1answer
41 views
non-reentrant libraries in shared memory?
I found this Q&A saying shared libraries can be shared between processes using shared memory. It seems like it would be impossible, though, to share code between processes without some pretty ...
1
vote
1answer
26 views
-lpopt is not found while cross compiling for aarch64
I am trying to cross compile for the 'aarch64' architecture from my ubuntu 12.04 desktop which is 64 bit (x86_64).
So i installed the crosscompiler-toolchain for 'aarch64' with the 'synaptic package ...
0
votes
0answers
40 views
Why does a Ubuntu Linux Mono-.NET 4.5 C# Program GP Fault upon loading and running a Shared Object?
On my Ubuntu Linux 15.10 Lenovo desktop computer, I wrote a Mono-.NET 4.5 C# program with a BuildIPCameraListLinux.config file which uses DLLImport to load libxmlconverter.so. Only upon point and ...
1
vote
2answers
244 views
Is it OK to sort /etc/ld.so.conf
I am wondering if I can keep the entries in /etc/ld.so.conf sorted.
My ld.so.conf looks now like this:
/usr/X11R6/lib64/Xaw3d
/usr/X11R6/lib64
/usr/lib64/Xaw3d
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
...
4
votes
1answer
78 views
How to deal with conflicting names of two shared libraries?
On my Linux Mint 17.3 system, I installed the packages libglfw2 and libglfw-dev. Since GLFW v3 is not available in repositories, I chose to compile it manually using instructions here.
Almost all ...
6
votes
2answers
211 views
Why are .so packages provided by the devel packages?
I've seen an interesting pattern in RPM packaging. The main library package will include the shared library itself:
/usr/lib64/libavcodec.so.54
The -devel package will provide headers and a ...
1
vote
0answers
37 views
Relationship between ldconfig and ld.so.cache
After I restart my computer, ld.so.cache still has the information in it, so my questions are as follows:
Is the information always kept there? Isn't it being removed after restart or something like ...
3
votes
1answer
52 views
Shared libraries and different linux systems
Is it possible to use a shared library, compiled for example on a RedHat / CentOS system, on a Ubuntu system?
1
vote
0answers
308 views
Redhat error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: Permission denied
I just installed and am trying to start rpcbind on my redhat 7 machine. I'm new to linux so I'm having some trouble figuring out what to do next. I'm running all of these commands as the root user.
...
0
votes
1answer
541 views
error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
When I try to execute a framework for a university assignment, I get
$ ./Assignment
./Assignment: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file ...
0
votes
1answer
2k views
libssl.so.0.9.8: cannot open shared object file: No such file or directory
When attempting to run Cloud9 IDE locally after its installation I receive this error:
# bin/cloud9.sh
Linux 64 bit
support/node-builds-v4/node-linux64: error while loading shared libraries: ...
0
votes
1answer
28 views
In theory, can a .so file created in one RHEL version be used in any other RHEL version?
I have done the compilation of a source package and installed in a custom path, binaries and some shared objects libraries were created and the tool is working.
Can the same installation be used in ...
0
votes
1answer
98 views
Building binary with static objects included
Is it possible to build a binary with dependent .so files included so that the binary can be built once and used on machines with the same hardware and OS, without them having the .so files?
For ...
2
votes
1answer
57 views
How process know address of shared library?
As far my understanding, when I compile my C source code GCC/LD does the address binding at compile time. Typically this address starts at zero. When I call a function from shared library how the ...
2
votes
0answers
123 views
Arch Linux stuck booting
Since I updated my Arch system with sudo pacman -Syu I am not able to boot into X anymore. All I see is a warning about the unsupported brightness interface. This was shown before, is a known bug and ...
0
votes
0answers
44 views
custom runtime environment - libpthread segmentation fault
I have built a project using gcc 4.9.2 (libstdc++.so.6.0.20). When I want to run that program on the virtual machine which is equipped with gcc 4.6.3 (libstdc++.so.6.0.16) I have to deliver ...
3
votes
0answers
81 views
Satisfying lib dependency
A rookie question: I have a program (which I will call foo here) compiled for x64 (my current arch). When I try to run it, it goes:
./foo: error while loading shared libraries: libgmp.so.3: cannot ...
0
votes
3answers
163 views
Why does linux not allow multiple versions in the central repository?
I'm total newb to Linux, but here goes..
It seems to me that a lot of the problems using Linux is because of mismatched dependencies.
Specifically that you can't install two versions of a library.
...
3
votes
1answer
93 views
Shared library on NFS mount not found from one host, works fine from another
I am experiencing some very weird behaviour regarding the loading of a shared library from an NFS4 mount, and am hoping someone can shed light on it.
Consider the following:
$ ucto
ucto: error ...
2
votes
2answers
95 views
how an expression which contains LD_DEBUG is processed?
An example usage of LD_DEBUG looks like this:
LD_DEBUG=libs applicationName
LD_DEBUG=libs is just an assignment - so how it works (prints result) in bash ?
1
vote
1answer
138 views
dynamic linker/loader libs - missing ld.so
Following manual describes dynamic linker/loader libs:
The program ld.so handles a.out binaries, a format used long ago; ld-linux.so* handles ELF (/lib/ld-linux.so.1 for libc5, /lib/ld-linux.so.2 ...
1
vote
1answer
49 views
Something like which for libraries
I am trying to use two opencv versions on my computer and I am trying to tell my system to use the most recent one that I compiled and installed locally.
I included the install folder in ...
1
vote
1answer
502 views
Text file busy when I copy some files
I have this error when I want to copy some files
My command:
cp -rf /sasech/xgedff/pur/liv/v15h30050-DLIV0177521/dmesa/bin/* /applis/rgedff/pur/bin
Results:
cp: ...
8
votes
1answer
153 views
Tool to trace library calls in Linux/ARM
I am searching for a tool that allows to trace calls to functions in shared libraries in Linux/ARM. Basically, I want to be able to specify a command line and let this tool produce a record of called ...
2
votes
2answers
138 views
Shared library load mem address region is architecture dependent?
I see that on x86, in a process's VM, shared libraries are loaded between heap and stack, i.e. the mmap area as noted in most of the online articles. But on a PowerPC linux box, I see that all ...
0
votes
1answer
57 views
undefined symbol and rebooting linux
I am just qurious about this question.
Let's assume, someone has an undefined symbol error when starting a program. To solve that problem, someone could use tools like ldd, ldconfig, nm or some ...
1
vote
1answer
308 views
How to force Debian to use a newer version of OpenSSL?
Today I installed ,,empty'' (just minimal set of packages) Debian 8.1 on my VirtualBox. I wanted to play with compiling apps from sources.
I started with OpenSSL: compiled from sources OpenSSL ...
14
votes
4answers
2k views
What system call is used to load libraries in Linux?
In strace outputs, the paths to the libraries that executables call are in calls to open(). Is this the system call used by executables that are dynamically linked? What about dlopen()? open() isn't a ...
4
votes
1answer
271 views
Shared library mappings in /proc/pid/maps
Why does /proc/pid/maps contain a few records for the same library ? Here is an example:
7fae7db9f000-7fae7dc8f000 r-xp 00000000 08:05 536861 ...
2
votes
2answers
132 views
How do I find out the version number of an installed library?
Question relevant to RedHat/CentOS.
I'm a little confused between package and library and how to pin them to a fixed version.
There's an X11 rollover bug in recent libxcb versions that affects my C ...
34
votes
2answers
1k views
Why and how are some shared libraries runnable, as though they are executables?
On 32-bit Linux systems, invoking this
$ /lib/libc.so.6
and on 64-bit systems this
$ /lib/x86_64-linux-gnu/libc.so.6
in a shell, provides an output like this:
GNU C Library stable release ...
2
votes
1answer
173 views
library file is found by ldconfig but not by ldd
I have built OpenGL acceleration libraries (libGL and libGLU) which I keep in a specific directory, /usr/lib/mali. I also have a software implementation of OpenGL which is installed in ...
1
vote
1answer
410 views
How to compile shared library on AIX
I have a simple shared library that is currently compiled on Linux using:
gcc -c -fPIC foo.c -o foo.o
gcc -shared -o foo.so foo.o
I need to relay instructions to a colleague for compiling the same ...
0
votes
1answer
53 views
Is it possible to have some shared objects be preloaded asynchronously during boot?
If I recall correctly, the same shared object is not loaded into memory twice when it's used by multiple processes. Is it possible to have some shared objects preloaded into memory asynchronously ...
1
vote
1answer
59 views
undefined reference when compiling the driver with shared library file
I made a simple memory manger and I'm trying to compile it using shared library in the driver.
The shared library files itself compiles fine. However, when I compiled the driver by calling the ...
0
votes
2answers
181 views
No access for user to shared libraries
I use Debian and I have a problem with executing arm-none-eabi-gdb as a user. I get the following message: arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared ...
1
vote
0answers
40 views
Application could not execute because of shared library issue
I am trying to execute an ARM application which uses ffmpeg's ".so" libraries. I ran this application on the ARM board and it gave me error "error while loading shared libraries: libavcodec.so.56: ...