安装过程可参考:https://www.cnblogs.com/houzhiqing/p/5289383.html
错误1:
源端安装完ogg后,执行./ggsci 进不去,报错 :无法打开libjvm.so ,找不到路径,或者文件
./ggsci: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
使用 ldd ggsci
[oracle@oracle ogg]$ ldd ggsci
linux-vdso.so.1 => (0x00007ffd7b1ed000)
librt.so.1 => /lib64/librt.so.1 (0x0000003bd1c00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003bd1000000)
libgglog.so => /home/oracle/ogg/./libgglog.so (0x00007fe26f169000)
libggutil.so => /home/oracle/ogg/./libggutil.so (0x00007fe26ef47000)
libggrepo.so => /home/oracle/ogg/./libggrepo.so (0x00007fe26ec59000)
libdb-6.1.so => /home/oracle/ogg/./libdb-6.1.so (0x00007fe26e843000)
liblmdb.so => /home/oracle/ogg/./liblmdb.so (0x00007fe26e62e000)
libggperf.so => /home/oracle/ogg/./libggperf.so (0x00007fe26e3f2000)
libggparam.so => /home/oracle/ogg/./libggparam.so (0x00007fe26cbdf000)
libicui18n.so.56 => /home/oracle/ogg/./libicui18n.so.56 (0x00007fe26c719000)
libicuuc.so.56 => /home/oracle/ogg/./libicuuc.so.56 (0x00007fe26c31d000)
libicudata.so.56 => /home/oracle/ogg/./libicudata.so.56 (0x00007fe26a4ba000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003bd1800000)
libxerces-c-3.1.so => /home/oracle/ogg/./libxerces-c-