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

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

Fix hardcoded dynamic linking for executable

I have an executable file called reg with the following shared library dependencies: [terminal]$ ldd ./reg linux-vdso.so.1 => (0x00007ffc40d90000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003be0c00000) /usr/dep/packages/opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.so => not found When executing the binary I get the following: [terminal]$ ./reg ./reg: error while loading shared libraries: /usr/dep/packages/opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.so: cannot open shared object file: No such file or directory. The … Read more

skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

I am using ubuntu 11.10 64bit, skype was working however after running sudo apt-get autoremove skype is throwing skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory How can I fix this? Answer Looks like you’re missing a library file. The program apt-file can be used to … Read more