mongo: error while loading shared libraries - mongodb

I get this error when I try to run mongo, in ubuntu.
mongo: error while loading shared libraries: libboost_thread-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory
I upgraded to Karmic yesterday. I have installed mongodb-stable from the repo mentioned here. I tried to apt-get libboost, but there is no such package as libboost_thread. I also posted on mongodb-user, but I need a quicker reply, and hence I am posting here. The boost libraries I have are version 1.38. Ask if you need any other help.
Thanks a lot.

Try installing libboost-thread1.34.1

Related

How to fix CANNOT LINK EXECUTABLE "mongod": library "libicudata.so.69" not found

I'm trying to run mongodb in termux and after searching i found that i should to install pointless repo to locate mongodb pkg and setup it and after installing when i'm trying to run mongod i got the following error
CANNOT LINK EXECUTABLE "mongod": library "libicudata.so.69" not found
When i'm going to lib dir in termux i found the following libicu exist
enter image description here
i tried to search more about it and find some answers said you have to install r-base because icu has been updated and R depends on it.
and others said you have to install libicudata.so.69 and when i'm trying to install it i get the following error
Unable to locate package libicudata.so..69
E: Couldn't find any package by glob 'libicudata.so..69'
and some others said that pointless packages is outdated and you have to re build the package i'm not a professional in using termux and i don't know anything about packages and how to re build it so
i'm really confused and i hope someone help me to find a simple solution to make it work

libhdf5.so.103: cannot open shared object file

I have met a problem with hdf5 libraries on eclipse CDT. When running a test C++ program, I got prompt information as below:
/home/lsl/Documents/CODE/eclipse-workspace/ReadWriteHDF5/Debug/ReadWriteHDF5:
error while loading shared libraries: libhdf5.so.103: cannot open
shared object file: No such file or directory.
libhdf5.so is confirmed to exist in /usr/local/lib/hdf5-1.10.4/lib and /usr/local/lib/hdf5-1.10.4/lib is within LD_LIBRARY_PATH. Do you have any indications?
Thanks very much!
It looks like Linux is your main operating system. See what happens when you type
sudo apt install libhdf5-dev
since it might supplant the package you're looking for. It worked for me.
I come across similar issue while compiling C++ code that uses Armadillo. Since I have anaconda installed, I find the libhdf5.so.103 file located at ~/anaconda3/lib. After I add the path to LD_LIBRARY_PATH, the error disappears.
I came across exactly the same problem today (perhaps the only difference is that it complaint libhdf5.so.200 was missing). What I eventually found out is that the system (Ubuntu 20.04) already shipped with libhdf5-dev at version 1.10.4, and this conflicted somehow with my installed version 1.12.2. My build command line is as below:
clang++ <...> -L/my/custom/path/to/hdf5-1.12.2/hdf5/lib <...>
Since the system hdf5 is in standard location, the linker finds simultaneously two versions, causing problem.
My solution is:
sudo apt purge libhdf5-dev
Hope it helps.

error while loading shared libraries: libgtk-x11-2.0.so.0

I'm using CentOS 7 x64, npm 5.6.0, node v9.5.0. I executed npm i electron in my console and it completed the installation without any errors.
However, when I type in electron in my console, I get the following error
/usr/lib/node_modules/electron-prebuilt/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've looked around on the internet trying to find a solution, but I couldn't find one for my specific OS. Does anyone have any ideas how to fix this?
I would greatly appreciate any comments/answers.
Thank you.

Webcenter Sites - JSK Installation

I am trying to install JSK 11.1.1.8 on mac x yosemite with Java 1.8.
After installation; while trying to run jsk, i am getting the following error,
Error: Could not find or load main class
oracle.fatwire.sites.jsk.Execute
I tried the solution provided in the blog, still not working..
Any help would be greatly appreciated..
I never install JSK on Mac but installed several times on Windows. That error seems that you donĀ“t have the jar that contains that class.
Verify what is the name of the jar and if you have it on App_Server\apache-tomcat-7.0.42\Sites\webapps\cs\WEB-INF\lib

Intel Performance Primitive IPP installation

I have installed Intel IPP on my machine, I followed specific steps where you can find it here :
http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-linux-how-to-install-intel-ipp-for-linux/
and linked the library to my IDE which is Eclipse , it compiles perfectly but when I run the code I got this error :
error while loading shared libraries: libippcv.so.7.0: cannot open shared object file: No such file or directory
any idea what might be the problem ?
Thank you
You probably need to add the IPP library path to your ld.so.conf, and then run sudo ldconfig. You can check that the application is properly linked by running the following:
ldd <your_app_name>
Hope that helps!