An error is reported when installing DM to initialize the database
error while loading shared libraries: libdmnsort.so: cannot open shared object file: no such file or directory
[root@localhost tmp]/opt/dmdbms/bin/dminit PATH=/opt/dmdbms/data
/opt/dmdbms/bin/dminit: error while loading shared libraries: libdmnsort.so: cannot open shared object file: No such file or directory
##but in /opt/dmdbms/bin there is libdmnsort.so
[dmdba@localhost ~]$ ll /opt/dmdbms/bin/libdmnsort.so
-rwxr-xr-x 1 dmdba dinstall 269865 8月 17 11:07 /opt/dmdbms/bin/libdmnsort.so
I’m impressed that I met you once before. The solution seems to be to go to the/opt/dmdbms/bin directory and find out the reason this time
After installing DM, these two lines will be automatically added to the environment variable of the home directory
[dmdba@localhost ~]$ cat .bash_profile
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/dmdbms/bin"
export DM_HOME="/opt/dmdbms"
I don’t know the reason this time. I didn’t read it after adding it, which led to
[dmdba@localhost ~]$ echo $LD_LIBRARY_PATH
Read. Bash again_Just a profile
[dmdba@localhost ~]$ source ~/.bash_profile
[dmdba@localhost ~]$ echo $LD_LIBRARY_PATH
:/opt/dmdbms/bin
[dmdba@localhost ~]$ /opt/dmdbms/bin/dminit
initdb V8
db version: 0x7000c
file dm.key not found, use default license!
License will expire on 2022-08-04
input system dir: ^C
Read More:
- [Solved] error while loading shared libraries: libopencv_highgui.so.3.4: cannot open shared object file…
- error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory
- ./popins2: error while loading shared libraries: libbifrost.so: cannot open shared object file: No such file or directory
- [Solved] curl error while loading shared libraries libcrypto.so.1.0.0
- [Samtools] Run error: error while loading shared libraries: libcrypto.so.1.0.0 or libncurses.so.5 or libtinfow.so.5
- ffmpeg:error while loading shared libraries: libopenh264.so.5
- [Solved] ./my_cmake_exe: error while loading shared libraries: libswresample.so.4: cannot open shared object file: No such file or directory
- [Solved] mongodb Install Error: mongod: error while loading shared libraries
- [619]libgtk-3.so.0 or libXt.so.6: cannot open shared object file: No such file or directory
- [Solved] java.lang.UnsatisfiedLinkError: dlopen failed: /lib/arm64/libc++_shared.so not found
- How to Solve install dm.xmlsec.binding Error
- [Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- [Solved] PCL Install error: ‘shared_ptr’ does not name a type
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- ubuntu docker dm_task_run failed error [How to Solve]
- [Solved] error: Failed dependencies libcrypto.so.10()(64bit) is needed, libssl.so.10()(64bit) is needed
- DM backup database Error: [-7169]:bakres failed to communicate with DMAP message.
- Using rpm to install WGet in CentOS 6.5 libc.so .6(GLIBC_ 2.14)(64bit) is needed by wget-1.14-18.el7_6.1.x86_sixty-four
- [How to Fix]Unable to find the requested Boost libraries