How can I add a library search path to an executable running with a capability?

I have an application that needs to run with the CAP_NET_BIND_SERVICE capability so that it can open a low port (502 for a TCP/Modbus server). It comes bundled with a set of .so files that it needs to dynamically link against, including pinned versions of system libraries (libxml.so and libz.so). Generally, I would set LD_LIBRARY_PATH, … Read more

Libruby.so library not in default library location

I have installed rh-ruby26 on my machine as a root user and it got installed under /opt/rh/rh-ruby26/root/bin/ruby..when I have tried to execute a script , am getting “error while loading shared libraries: libruby.so.2.6:cannot open shared file object file: no such file or directory” . So to fix the issue I have set the LD_LIBRARY_PATH and … Read more

Compile ModSecurity 3.3 with YAJL

anyone could help? I’m stucked on this. I already compiled ModSecurity 3.3 on this machine (followed these instructions). Now I’m trying to compile with YAJL (Yet Another JSON Library) to be able to log in JSON format. I installed yajl and yajl-devel packages with yum. My system is a CentOS Linux release 7.8.2003 (Core). Some … Read more

Application stopped to find shared library

wkhtmltopdf is used to create pdf files in Debian Linux. wkhtmltopdf suddenly stopped working. Running it from shell throws library not found error: root@x:/usr/local/bin# ./wkhtmltopdf ./wkhtmltopdf: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory Symlink of library exists in /usr/lib/x86_64-linux-gnu : root@x:/usr/lib/x86_64-linux-gnu# ls -l libQt5Core.so.5* lrwxrwxrwx 1 … Read more

Does anyone know a way to interact with HP OV(NNM) with python, perl or bash?

Do anyone know if there is out there any API/library to access NNM database from perl or python? We have a NNM 7.53 which give us access to its data with its java based applet through http. And of course through the ‘ovw’ GUI interface. I’ve tried to use Mechanize and selenium2(webdriver) to automatize some … Read more

How to have Apache 2.2 use an earlier version of libapr?

I’m using a module in Apache that requires libapr-1.0.3.8, which is in my lib/ directory, but it appears my installation (via MacPorts) is using 1.0.4.5. Can I force Apache to use the earlier version without breaking? If so, how would I go about specifying this? Answer I’m inclined to think that your concerns are unfounded … Read more

Where is libmysqlclient? (Dspam installation)

I’ve been trying to install Dspam on my server (Ubuntu 10.04) but have been having some errors while configuring it. I’m trying to do a ./configure using this ./configure –with-storage-driver=mysql_drv –with-mysql-libraries=/usr/lib/mysql It runs through a configure and stops with configure: error: Required version of libmysqlclient not found Install is on Ubuntu 10.04 LTS (32 bit). … Read more

installing old MySQL client libraries (libmysqlclient.so.15, libpq.so.4)

I’m attempting to install Nagios plugins on a Zimbra 8.0.2 server running CentOS 6.4, but have run into the following error when I run yum install nagios-plugins-all Error: Package: nagios-plugins-mysql-1.4.15-2.el5.x86_64 (epel) Requires: libmysqlclient.so.15()(64bit) Error: Package: nagios-plugins-pgsql-1.4.15-2.el5.x86_64 (epel) Requires: libpq.so.4()(64bit) Error: Package: nagios-plugins-mysql-1.4.15-2.el5.x86_64 (epel) Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit) You could try using –skip-broken to work around the problem … Read more

All or very many shared libraries fail to load – openSUSE

For some reason, all (or very many) shared libraries no longer load. However, ldconfig claims that the library exists. web6:~ # sendmail -? sendmail: error while loading shared libraries: libdb-4.8.so: cannot open shared object file: No such file or directory web6:~ # ldconfig -v | grep libdb-4.8 libdb-4.8.so -> libdb-4.8.so web6:~ # sendmail -? sendmail: … Read more

Wrong JPEG library version: library is 62, caller expects 80 [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question I have problem with imagick php extension. When trying to manipulate jpeg files error occurs: Wrong JPEG library version: library is 62, caller … Read more