error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

I’m getting this error when I execute my db_server **root@v-8966:/home/talisman/db# ./db_server ./db_server: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory Can anyone help me? Answer libmysqlclient.so.15 is no longer available in any supported version of Ubuntu. Ask your program’s developers if a more recent version, linked against … Read more

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 going to manually cross-reference each one. I found that nm -A -D -f sysv <library-name> seemed to produce … Read more

Upgrade YAZ to YAZ 5

I try to use MarcEdit 6. If I use its tool “Z39.50/SRU Client” to search for any book in any offered library-database it doesn’t work and I get the message “Exception Information: Message: yaz4_64.dll Source: Zoom.Net.YazSharp Stack Trace: […very long text…]” MarcEdit 6 needs YAZ 5. I installed yaz 4.2.30-2.1build1 which is the only version … Read more

Unable to import gmpy

I am a beginner with ubuntu and python. As I try to import gmpy, I get the following error: import gmpy Traceback (most recent call last): File “<stdin>”, line 1, in <module> ImportError: libgmp.so.3: cannot open shared object file: No such file or directory Any and all help would be appreciated, thanks Answer libgmp.so.3 is … Read more

Why do some files of working packages return “not found” for some libraries of ldd’s output?

I’m finding a bunch of stuff where working packages contain files where ldd returns “not found” for some libraries. For example… /usr/lib64/thunderbird/libprldap60.so libldap60.so => not found /usr/lib64/libreoffice/program/libofficebean.so libjawt.so => not found We have hundreds of users using Thunderbird and Libre Office, and no one has reported any problems. And these files exist on the system: … Read more

What does 10 mean in libgmp10 library?

My system has libgmp.so.10.2.0 while official source says current version is 6.1.2. Is this specific to GMP? Would having libgmp.so.42.0.0 be OK? Debian adds another number “2” to the mix (ignoring patches). libgmp10:amd64 2:6.0.0+dfsg-6 Answer You’re referring to the libtool version, which is usually unrelated to the library’s release version. A quick look at the … Read more

Are there any circumstances in which ld ignores LD_LIBRARY_PATH?

I’ve just come across a little problem with ld which I just can’t explain. Let’s say I have compiled a library in my home directory and installed it all under ~/root. The shared library file can be found at ~/root/usr/local/lib/libmylib.so. Because ~/root/usr/local/lib is not in the linker’s search path, I set LD_LIBRARY_PATH as I always … Read more

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 problems. On the other hand, I can’t find anything about this error in general. Can anyone give a basic description of … Read more

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 (Shared object file), for libraries (value 3) EXEC (Executable file), for binaries (value 2) REL (Relocatable file), before linked into an executable file (value 1) https://unix.stackexchange.com/a/476157/674 shows that a kernel … Read more