Stack Exchange Network

Stack Exchange network consists of 175 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-library]

The tag has no usage guidance.

3
votes
2answers
59 views

Optimize file layout for minimal seek in specific situations

Starting VLC is slow on my system. The reason: it reads more than 1000 different .so files. Is there a way to make it read those files faster? I think if all the files followed immediately after each ...
0
votes
2answers
399 views

Creating a link to a shared library

I have a library ( ZendDebugger.so ) which in turn requires the openssl library but it doesn't find a reference to it. Indeed when ZendDebugger.so loads, it prints this error on the error log ( which ...
0
votes
2answers
750 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 ...
4
votes
1answer
785 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 ...
3
votes
1answer
271 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 ...
2
votes
1answer
678 views

What is the correct arrangement of symlinks to allow both openssl 1.1.0 and 1.0.2 shared libraries to co-exist?

I want to have openssl-1.0.2 and openssl-1.1.0 both available for dynamic linking to different applications. I'm slightly unsure about this, because I would expect 1.0.2 to be installed in a file ...
2
votes
1answer
349 views

Shared library libgcrypt found in system python but not in Anaconda environment

I'd like to use the lxml.html module in python3.5. When running my system python, I can do import lxml.html successfully. When I issue the same command in an Anaconda environment, I receive ...
2
votes
1answer
669 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: ...
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 ....
1
vote
1answer
646 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 ...
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 ...
1
vote
1answer
106 views

load missing library from ~/ without root or symlinks on shared hosting?

So I have a library file that is used by a php module, both of which reside in my home dir on my shared hosted cpanel account. Problem is this library depends on libcrypto.so.6 and libssl.so.6 files ...
0
votes
1answer
103 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 ...
0
votes
1answer
92 views

Is the shared library object loaded as shared memory for the program?

I was coding some C when I started asking myself about free() inside a shared library and SIGKILL, and so on. Then, after some reading and re-thinking, I came up to this simple question. CONTEXT : ...
0
votes
1answer
560 views

Stata 14 fails to start on RHEL 7.x, with “libpng12.so.0” error. How do I install libpng12?

The proprietary software Stata version 14 breaks on RHEL 7.3. Stata says: stata-se: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory So ...
0
votes
1answer
76 views

NetBSD: unable to start KDE because of missing shared objects

I'm relatively new to UNIX-like OS's, though I know some basic concepts. I managed to build X server and KDE workspace from pkgsrc for my NetBSD 7.0.2. X starts normally, but KDE won't, because it ...
0
votes
1answer
984 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 ...
-1
votes
1answer
169 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 ...
2
votes
0answers
73 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 ...
2
votes
0answers
177 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 ...
2
votes
0answers
442 views

How to trace at runtime the symbols of loaded shared library?

I want to be able to know what are the symbols that are used from a certain shared library at runtime. I use gdb and I set the solib-search-path to the user defined shared library. I am not sure if ...
2
votes
0answers
1k 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 ...
1
vote
0answers
73 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 ...
1
vote
0answers
233 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 ...
1
vote
0answers
49 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
0answers
34 views

Is there a standard/accepted way for a plugin library to identify its location on disk?

I am working on a C program that has a plugin architecture. We build and package both .rpm and .deb packages. Some plugins have additional non-binary resources, such as image files, or script files ...
1
vote
0answers
33 views

Weird behavior with dynamically loaded plugins

I've written a simple Plugin system for a cross-platform project (windows, linux and arm linux). I'm using Qt 5.7 for that purpose. In every plugin, the following data structure is exported: struct ...
1
vote
0answers
209 views

Updating 'Available Version' in .so

I'm trying to run the gitbook-editor on Arch Linux, and running in the openssl version issues. The error messages states: .... /usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found ... However ...
1
vote
0answers
27 views

What is the standard approach for shared home directories for a user across multiple machines?

This is kind of a two-part question. In the case where there are multiple machines for which users get a single home directory - i.e. sshing into any of the machines, a user will find the same files ...
1
vote
0answers
717 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 /...
1
vote
0answers
60 views

identification of embedded shared libraries

I'm looking for a way to identify shared libraries of embedded devices.I'm especially interested in which version a library is used. So far I try to identify a library by either its file name or the ...
1
vote
0answers
2k 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. ...
1
vote
0answers
55 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: ...
1
vote
0answers
760 views

atom cannot start because libgtk-x11-2.0.so.0 is not found, but ldd can locate it

I've installed Atom editor on my Crunchbang VM. Atom depends on libc6>=2.15, but the stable Waldorf has libc6 2.13, so I had to set up dynamic linking as described here After that, I get another ...
1
vote
0answers
64 views

Chrooting any arbitrary program using dynamic linker?

One of the problems using chroots is getting all the binaries and libraries installed. It just occurred to me that there might be another way. The TSocks project uses a technique they call "shared ...
1
vote
0answers
732 views

How to set local shared library path after setting file capabilities on Debian?

I have a custom application which comes with its own libstdc++.so.6 and it requires cap_net_admin and cap_net_raw to work properly. Before I set file capabilities it starts without problems but when I ...
0
votes
0answers
12 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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
157 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
0answers
112 views

gdalinfo: error while loading shared libraries: libNCSEcw.so.0: cannot open shared object file: No such file or directory

which gdalinfo returns /usr/bin/gdalinfo. This directory contains 'libNCSEcw.so.0' file. I have added include /usr/bin to /etc/ld.so.conf and have run ldconfig. Error persists. UPDATE: distribution ...
0
votes
0answers
626 views

libpython2.7.so.1.0()(64bit) not found by yum

So I'm trying to install Azure on CentOS with yum: link. But it keeps telling me it needs libpython2.7.so.1.0: [root@minnow02 Desktop]# yum install azure-cli Loaded plugins: fastestmirror, refresh-...
0
votes
0answers
237 views

Object library not found by shared object library

I'm trying to build a shared object library but when I produce the shared object library it says the object file is not found. OSError: lib1.o: cannot open shared object file: No such file or ...
0
votes
0answers
763 views

“Error while loading shared libraries” even though the library in question is present in /usr/lib

I am trying to run Scala on my Linux Manjaro laptop, but whenever I try to run the program, it displays the following error: ./scala: error while loading shared libraries: libgtkada.so.2.24.4: cannot ...
0
votes
0answers
300 views

Error in installation of older version of openssl

I am trying to compile openssl 0.9.6 (I know very old version) from source on ubuntu 16.04 LTS. I did following ./configure shared --openssldir=/home/segnate/dev/openssl make make ...
0
votes
0answers
784 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); } ...
0
votes
0answers
114 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 ...
0
votes
0answers
451 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 libstd++/...
0
votes
0answers
141 views

Will changes to libc.conf affect the rest of my environment?

I had to comment /usr/local/lib under /etc/ld.so.conf.d to get a software called qgis up and running. If I uncomment it qgis fails. Will commenting out /usr/local/lib have an effect on my other ...
0
votes
0answers
683 views

g++: error: /usr/lib/libGL.so: No such file or directory after uninstalling AMD drivers

This is a question asked several times all over the internet. Duplicates: https://askubuntu.com/questions/395544/g-error-or-nosuch-file-or-directory https://askubuntu.com/questions/470532/...