28

But why does it not do the same until it finds the expected version rather than accepting the first instance of library irrespective of its version? It does, as far as it’s aware. zlib.so.1.2.7 and zlib.so.1.2.8 both have an soname of zlib.so.1, so your alpha and bravo binaries say they need zlib.so.1. The dynamic loader loads the first matching library it ...


6

Commentary on YUM & deps YUM does do this. But it's only as good as the RPM specifies. In this case your RPM states that it'll work with any GLIBC > 2.13 but it clearly was built with a specific version of GLIBC, and will only work if the appropriate GCC symbols are available on the system: $ rpm -qpR trillian-6.1.0.5-1.fc25.x86_64.rpm atkmm >= 2.22....


4

No, the kernel doesn’t depend on the standard C library (or any other library), it is self-contained. User-space programs don’t necessarily depend on the C library either; for example Go programs don’t. The C library provides convenient wrappers for system calls, but they can be called directly without going through the C library, and other language runtimes ...


3

The eix tool comes to help: eix -I --installed-with-use abi_x86_32 -I selects only installed packages --installed-with-use selects packages with certain USE flag In this particular case you could even omit -I, but I included it just as useful option in general. You may also be interested in the option -U, which selects packages which have abi_x86_32, but ...


3

You should not put in /usr/lib: don't mix OS stuff with locally installed stuff. You can put them in /usr/local/, this is a shadow of /. It has /usr/local/lib, /usr/local/bin, /usr/local/include etc. You should also look into stow it will help you manage your local packages (Keep them separate from each other. While putting them all together.) Or you can ...


3

You have a couple of options: Prefix the path to your shared libraries in the export statement above (more than likely $LD_LIBRARY_PATH is not set on your system and so the only paths that are getting set are the ones explicitly set in your export statement.) export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/:/usr/lib/:/usr/lib64/:/usr/local/MATLAB/...


3

yum resolves dependencies concerning other packages. In other words, it installs packages which are depended on by the package(s) that you are trying to install. The error that you are receiving is due to the fact that the library file, /lib64/libstdc++.so.6, does not include GLIBCXX_3.4.20 or GLIBCXX_3.4.21. Usually, /usr/lib64/libstdc++.so.6 is a symlink ...


2

While it is far more convenient from the sysadmin (and often from the developer) point of view to install development libraries using the distribution packages, such is not essencial. Depending also on the application and language, there might be several alternative ways of doing it. In this case, you can download the .tar.gz files from the project home at ...


2

Try using full path for ls: [ctor@dom0 tst]$ /lib64/ld-linux-x86-64.so.2 /usr/bin/ls afile [ctor@dom0 tst]$ /lib64/ld-linux-x86-64.so.2 ls ls: error while loading shared libraries: ls: cannot open shared object file [ctor@dom0 tst]$ /lib64/ld-linux-x86-64.so.2 anyinexistentcommandhere anyinexistentcommandhere: error while loading shared libraries: ...


2

Run this to get version information - strings libssl.so.1.0.0 | grep "1\.0" SSLv3 part of OpenSSL 1.0.2p-fips 14 Aug 2018 OpenSSL 1.0.2p-fips 14 Aug 2018 TLSv1 part of OpenSSL 1.0.2p-fips 14 Aug 2018 DTLSv1 part of OpenSSL 1.0.2p-fips 14 Aug 2018


2

Most likely your hand-built libraries are built with debugging information, that's why they are so big. You can try strip libQuantLib.so.0.0.0 and see how much smaller it will get. You can try to rebuild the official RPM for Amazon Linux 2 like this: Download the source RPM (QuantLib-1.4-7.el7.src.rpm) Install rpm-build package (or rpmbuild? not quite sure ...


2

Do I need to install these dependencies by source (also)? or if they are already installed by package manager, that could also work? If they’re already installed by the package manager, that will work, as long as the installed version meets the requirements of the source code you’re trying to build. Note that you’ll need the development packages, not ...


2

libsystemd.so is a symbolic link provided by the libsystemd-dev package, which is only useful to build programs that use the library. Its target is libsystemd.so.0 which is provided by the libsystemd0 package, which provides what is needed to run programs that use the library. If you could find libsystemd.so on your PC but not on your Arm device, it's ...


1

On debian-derived systems like Ubuntu, the static libraries that come with the system (installed by apt/dpkg, not by hand) usually go in /usr/lib/<target-triplet>/ and have the suffix .a. Example, on my x86-64 debian system: $ ls /usr/lib/x86_64-linux-gnu/*.a /usr/lib/x86_64-linux-gnu/libBrokenLocale.a /usr/lib/x86_64-linux-gnu/libFS.a /usr/lib/...


1

OK, so I solved my own problem. The following addition to the python script fixes my problem: import os os.environ['LD_LIBRARY_PATH'] = '' LD_LIBRARY_PATH is usually empty, but inherits the directory including the old libpng version from stata. If this directory is removed, then it will look in the standard places and find the current version.


1

rpmbuild --rebuild QuantLib-1.4-7.el7.src.rpm will "just" extract the source package to ~/rpmbuild/{SPEC,SOURCES}/ and run rpmbuild -ba ~/rpmbuild/SPEC/QuantLib. Nothing else. You want to rebase to new version, which can be easy or tricky. Hard to say in advance. The easy version is that you rpm -Uvh QuantLib-1.4-7.el7.src.rpm cd ~/rpmbuild/SOURCE create ...


1

Firstly... You don't need to do any of this The bug you link to was fixed in Curl version 7.51.0. openssl: fix per-thread memory leak using 1.0.1 or 1.0.2 You specified Debian Stretch, which currently uses 7.52.1. It doesn't matter that it has an older version of OpenSSL installed -- you still have the updated Curl. So as long as that system ...


1

The saugns program can also do it. (It is a command-line audio generator (currently) supporting 8 wave types and FM/PM/AM modulation techniques.) To generate two stereo-separated 100 Hz waves, one a sine and one a triangle, and one with inverted amplitude, the following script can be pasted into a file and ran through the program (as in ./saugns filename): ...


Only top voted, non community-wiki answers of a minimum length are eligible