Questions tagged [shared-library]

The tag has no usage guidance.

1
vote
1answer
1k views

glib errors on cygwin

I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was ...
0
votes
2answers
61 views

error while starting open ssh : /usr/sbin/sshd: /lib/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /usr/sbin/sshd)

I am working on an embedded board, to access that board I need ssh to work smoothly. Currently, for debugging purpose I am using serial connection to access the board. Now, when I try to start ...
0
votes
0answers
23 views

What is the entry point of a so (shared object?)'s source code?

Specifically I'm trying to port libcroco's functionality to a cross-platform BASIC dialect and need to know where to start looking at the code. In short, what is the equivalent of Window's DLLMAIN?
1
vote
0answers
29 views

Accidently moved /usr/lib64 how can I restore

I was trying to free up space and clueless moved /usr/lib64/ to "/srv/maraba_ssd_scratch/apelin/root_files/usr_lib64". The next thing I was going to do is create a symlink in usr for lib64 to point to ...
3
votes
1answer
45 views

error while loading shared libraries; file too short

I am working on a CentOS 7 workstation. I had installed Rstudio and it was working fine until recently. But now, if I try to launch it at http://localhost:8787/ I get an error that says Unable to ...
0
votes
0answers
5 views

QNX throws an error as login: -sh: cant access shared libraries

When I am trying to login with non root user the QNX throws an error as login: -sh: cant access shared libraries. Why is it so? I have already checked the permissions they are as below: /lib (...
1
vote
1answer
25 views

Why (and how) do I have (seemingly!) duplicate symbols in my shared libraries?

I happened to need to work out which symbols were exported by which library from a flat list of exported shared library symbols. There were just enough symbols (20 or so) in the list that I wasn't ...
4
votes
1answer
921 views

anaconda Qt vs system Qt

The anaconda python framework includes its own Qt shared libraries, among other ones. Because of the nature of the framework, it must appear first in the PATH environment variable so its python ...
1
vote
1answer
1k views

/sbin/ldconfig.real: /usr/local/lib is not a known library type

I was following this instruction on this site to installing tesseract: https://github.com/tesseract-ocr/tesseract/wiki/Compiling git clone https://github.com/tesseract-ocr/tesseract.git cd tesseract ....
0
votes
0answers
30 views

error while loading shared libraries [Packet Tracer] kali linux

When I try to open "packet tracer" in Kali Linux, the result is : ./PacketTracer7: error while loading shared libraries: ./libpng12.so.0: cannot read file data: Error 21
0
votes
1answer
29 views

Specifying Depends correctly in debian/control file

I'm building a runtime-shared-library package libfoo0.deb where 0 here is a major package version and adhering to the naming conventions specified in the Debian policy. The problem is I want to ...
1
vote
1answer
35 views

Activate-noawait ldconfig trigger for runtime library package

I'm reading the Debian policy section on runtime shared library package and came across the following statement: Any package installing shared libraries in one of the default library directories ...
1
vote
0answers
16 views

After setcap on executable, curl_easy_perform throws out of memory error

I've cross compiled an executable to run on Debian Stretch that requires a specific version of cURL (greater than 7.56) to run, and needs specific capabilities during execution. So on the executable ...
1
vote
1answer
24 views

unixODBC: Cannot load libmaodbc.so

I'm working on an embedded platform and I am trying to access a MariaDB through unixODBC. Trying to test the connection with isql I get the response: isql -v mydsn myuser mypw [01000][unixODBC][...
1
vote
1answer
21 views

Packaging library distribution

I'm working on some shared library and now stuck with the problem that some software refused to pick the newer version, but some has to use the latest since it has some crucial changes. So I need to ...
1
vote
1answer
5k views

How do I install ffmpeg on CentOS 6.8 with all dependencies? I am getting many “Error package … requires …”

I am trying to install ffmpeg on a CentOS 6.8 server and I am getting some errors relating to required libs. How do I install those missing libs? Where do I find them? What should I do to install ...
1
vote
0answers
564 views

ImportError: /usr/lib64/libxml2.so.2: version `LIBXML2_2.9.0' not found

I am trying to install Hue on Centos 6.6 and configure it to point to a cluster that is running on Centos 7. The yum installation does not work on Centos 6 and hence I am trying to do the installation ...
2
votes
1answer
45 views

Where is libsystemd.so located on ARM devices?

I have an ARM Tinkerboard running Debian 9.8 (Stretch). Systemd version is 232. I'm working on a program that can be run from userland or as a daemon. If it is run as a daemon, then dlopen and dlsym ...
4
votes
3answers
1k views

Centos 7, I thought “yum install ___” was supposed to get all the dependencies, too?

I want to install Trillian onto my CentOS 7 box. I went to www.trillian.im/get/linux/6.1/linux.html and downloaded the rpm package trillian-6.1.0.5-1.fc25.x86_64.rpm. It was my understanding that ...
17
votes
1answer
2k views

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

I have a binary executable named "alpha" that requires a linked library (libz.so.1.2.7) which is placed at /home/username/myproduct/lib/libz.so.1.2.7 I export the same to my terminal instance before ...
1
vote
1answer
870 views

Error constantly shown in terminal after installing ESET NOD32 for Linux 64bit

This error message is constantly shown in terminal after installing ESET NOD32 version 4.0.82.0 for Linux 64bit on Linux Mint 18: ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot ...
0
votes
0answers
29 views

SIGSEGV on dlopen with gdb

I'm currently building a shared library. The goal is to inject this lib in a process. Unfortunaly when I inject this lib in the process I get a SIGESGV about ostream. Here is a MWE to reproduce the ...
-2
votes
1answer
32 views

Linux Prog has 24 Libs Fails LDD, and strace shows 692 “1 ENOENT” during prog library reads

I am requesting opinions on expected and desired outcome of prog initialization, specifically loading of shared libraries for a program that I do not have source code. All code delivered via RPMs. ...
2
votes
0answers
188 views

How to identify system shared libraries?

My software tool has some external dependencies. I am distributing it as a conda package for linux64 with precompiled dependencies including shared libraries. Unfortunately I don't know how to ...
0
votes
1answer
5k views

How to Change Text in Shared Libraries (*.so files) in Linux

When I search text in a folder using bash I can see that text is in binary file. I would like to change the text in *.so file.
0
votes
0answers
164 views

Debian MadCoin Install Problem

I have this issue, I try to run ./MadCoin-qt it's wallet and i receive this errror: ./MadCoin-qt: error while loading shared libraries: libminiupnpc.so.8: cannot open shared object file: No such file ...
0
votes
1answer
1k views

Apple Home Sharing on a Linux machine

Is it possible to share a directory with media files to an Apple TV (Gen 2 & 3) using Home Sharing on a Linux machine? I've found some solutions suggesting DAAP but none of them seems to be for ...
0
votes
0answers
69 views

apt-get install cifs-utils corrupted system libraries — caused chaos

My Linux libraries seem to have suffered a severe corruption just after running (as root): apt-get install cifs-utils I need to correct the corruption or restore the original libraries. Note: I ...
1
vote
0answers
106 views

How to resolve the undefined symbol of magic_setparam in /lib64/libmagic.so.1 ?

I have successfully installed the command s3cmd (1.6.1) that I downloaded from the s3tools official web site. So the s3cmd software should be all right, and also the system libmagic.so.l itself is no ...
0
votes
1answer
126 views

What does a “failed to map segment from shared object” error mean?

Many answers to other questions help resolve an error of the form "failed to map segment from shared object," but they usually have very specific answers that I find difficult to apply to other ...
2
votes
0answers
83 views

Linux access windows share without loading to RAM

I have a laptop running an Arch-based Linux system and frequently need to access a windows share at my workplace. This is really annoying since it takes ages to load. Particularly, one folder is ...
1
vote
0answers
579 views

Access dll in linux

Okay so I have a bunch of .dll files that are compiled on windows (though I could recompile them on linux if that was necessary) that I want to use. The final idea I am having is to write a .so ...
4
votes
1answer
66 views

Placed library in /usr/lib, but ldconfig doesn't put it in cache

I'm starting a project that requires an external shared library third-party.so. I've placed it in /usr/lib. However, when I run sudo ldconfig -v, it's not listed. ldconfig -p | grep third-party.so ...
3
votes
1answer
1k views

How to add shared library dependencies to debian/control?

I am trying to make a debian package from a Qt application relying on OpenCV. What I did so far: I set up an Ubuntu in a Virtualbox I installed the neccessary software to compile and run the ...
2
votes
0answers
61 views

cannot find libarary error

I am trying to install a software "W" which requires some non standard packages like "XYZ". I am installing XYZ as instructed in the related site using the following commands ./configure -C make ...
1
vote
2answers
4k views

How to link to a shared library with a relative path?

In the man page for ld.so(8), it says that When resolving library dependencies, the dynamic linker first inspects each dependency string to see if it contains a slash (this can occur if a library ...
1
vote
1answer
796 views

Building shared library which is executable and linkable using Cmake

How to create an executable shared-library using cmake? Something like: libtest.so :: linkable shared library libtest.so :: executable too Note: gcc/g++ options are known to achieve the ...
25
votes
3answers
13k 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
2answers
635 views

ldd shows no location after arrow; library does not exist on system

I want to create a chroot environment that has access to hand-picked programs but is completely isolated from the rest of the system. I created three folders in this chroot folder: bin, lib, lib64. I ...
1
vote
1answer
96 views

Are the addresses inside a shared library file virtual addresses, or relocatable addresses?

Are the addresses inside a shared library file virtual addresses, or relocatable addresses? Does the answer depend on whether the shared library file was built with GCC’s -fPIC option? Originated ...
1
vote
2answers
464 views

What is the difference between Shared object file and Relocatable file?

https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/ says The type field tells us what the purpose of the file is. There are a few common file types. CORE (value 4) DYN (...
0
votes
1answer
138 views

What kinds of files can be dynamically loaded?

Operating System Concepts, by Silberschatz A., Galvin P. B., Gagne G. - Operating System Concepts, 9th Edition - 2012 says 8.1.4 Dynamic Loading In our discussion so far, it has been necessary ...
2
votes
1answer
478 views

What does “unused direct dependencies” mean?

When using the ldd command there is an option, -u, to print unused direct dependencies as stated in the on-line help. For example: ldd -u /bin/gcc Unused direct dependencies: /lib64/...
0
votes
1answer
249 views

Why cannot 64-bit shared libraries be used by 32-bit code?

On GNU/Linux, x86/x86-64, in general, what is the reason that (at least sometimes, maybe there are exceptions) 64-bit library code cannot be used by a 32-bit program? I'm aware of many of the ...
0
votes
1answer
100 views

Mint 19 - Pidgin IM - Error while launching: libpurple.so.0: cannot open shared object file

System: Linux Mint 19 Cinnamon 64-bit, based on Ubuntu 18.04. Pidgin: Built from source, version 2.13.0. Pidgin would not launch from the GUI, so I tried it from terminal if I can see any error and ...
2
votes
3answers
953 views

Why does linux not allow multiple versions in the central repository?

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. So if program A requires "lib1.2" and ...
2
votes
1answer
176 views

install different version of GCC side by side

My primary problem is in my Fedora 28, GCC8 is installed. Now, this gives libgfortran.so.5. But many of my applications are not updated and still depends on libgfortran.so.3 So, how can I solve the ...
-1
votes
1answer
36 views

Can I programmatically remove funcionality from a shared library that is not used by a specified executable? [closed]

I have a library taking up a lot of disk space. Only one program I use links to that library. I am pretty sure that the program uses only a tiny fraction of the functionality provided by that library. ...
3
votes
1answer
276 views

Satisfying lib dependency

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 open shared object ...
1
vote
0answers
769 views

Manual install of pdftk can't find libgcj library

I'm trying to get pdftk running on my shared hosting account (no root access). I followed the instructions here, mainly: $ mkdir -p [my_project]/vendor/pdftk/lib [my_project]vendor/pdftk/bin $ cd /...