Questions tagged [shared-library]

324 questions
12
votes
1 answer

What do the multiple GLIBC versions mean in the output of ldd?

The ldd program reports some missing shared libraries that my shared library needs. (I built it on a different machine with Red Hat Linux 7 and want to run it on another with Red Hat Linux 6.) In the "version information" section below, there are…
Tones
  • 121
  • 1
  • 1
  • 3
2
votes
1 answer

Why doesn't this executable load a relatively-pathed module library even though RPATH is set?

I migrated this question from Stack Overflow; although there is a programming aspect to it, the more I've tried to understand what's going on, the more I think this may have more to do with RPATH and $ORIGIN, which I think are Unix/Linux-related.…
StoneThrow
  • 1,717
2
votes
1 answer

"error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file" while executing oald8 binary

I installed oald8 on Linux 64-bit,on Debian. At first I installed: apt-get install lib32z1 lib32ncurses5 dpkg-dev Then go to oald8 and run: linux32 ./setup.sh I setup successfully.... Now I need to install libglib1.2ldbl and libgtk1.2 packages,…
PersianGulf
  • 10,850
2
votes
1 answer

Version indication in the file name for a shared library

I am developing a cross platform shared library right now, and I'm a bit confused about the correct way this works on *nix. My plan for versions is pretty standard, majors break interfaces, minors add to interfaces but remain compatible with older…
pat
  • 123
1
vote
0 answers

How this executable is able to locate this shared library invisible to ldconfig?

I have an executable vimba, which uses a shared library libVmbC.so, which is not installed to the standard location. The copies reside at: paul@desktop:~/st-cpp/vimba/build$ sudo find / -name…
1
vote
0 answers

Watch all imoprt function of share library

How can I simply watch all function in import and export table in share library (so) with some shell script . Without open in Ida or thomething like that.
Share
  • 11
1
vote
0 answers

libc.so.6 version error

I was installing node-red and it gave me an error stating that the library libatomic.so.1 was missing but i had it in one of my directories. After some searching i found out that i had to edit the /etc/ld.so.conf file to include the directory where…
1
vote
1 answer

What are .chk files among .so libraries purpose

I'm preparing a chrooted environment for some command. I'm using CentOS 6. To determine what libraries do I need in my enviroment, I'm using strace: strace | grep open > needed.files.log In the resulting log I see following…
1
vote
2 answers

dbus-uuidgen returns /usr/local/lib/libdbus-1.so.3 not found

On my Ubuntu 16.04.2 LTS, when I run dbus-uuidgen it returns: dbus-uuidgen: /usr/local/lib/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.10.8' not found (required by dbus-uuidgen) the documentation says it should: print a new uuid made up out of…
Munty
  • 21
1
vote
1 answer

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 functions in the shared library with my memory manager,…
0
votes
1 answer

/usr/bin/ld: cannot find -lstdc++

I am using ubuntu 14.04 64 bit OS when i am running my verilog code in synopsys vcs it shows me the following error, i think there might some missing packages in ubuntu, i search through but i didn't get nothing related to this /usr/bin/ld: cannot…
0
votes
1 answer

How do you list a program's all library dependencies, configs when the program has attached flags/options?

How do you list all of a program's dependencies (libraries) and configs even if it gets argv given to it which changes the dependencies let's say?
Sir Muffington
  • 1,286
  • 3
  • 8
  • 23
0
votes
0 answers

Executable Files are now Shared Library Files?

So what I'm trying to do is open up an application I made using Electron-Js on windows 10, Now the file worked fine before on my Linux laptop but then suddenly I can't open shared library files anymore and I honestly have no idea why? It just pops…
0
votes
1 answer

libguile-dbd-sqlite3.so: cannot open shared object file: No such file or directory

I've compiled both guile-dbi guile-dbd-sqlite and using standard ./configure && make && sudo make install and I've try to open database using scheme: (define db-obj (dbi-open "sqlite3" "notes.db")) but I got error: libguile-dbd-sqlite3.so:…
jcubic
  • 9,932
0
votes
1 answer

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 other, to find out, which library must be replaced to…
devopsfun
  • 1,407