我看到很明显它没有复制到lib文件夹中。因此,要求采取任何方法来克服此错误。这是
的输出ld -libngsmshd12 --verbose
attempt to open //usr/local/lib/x86_64-linux-gnu/libngsmshd12.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libngsmshd12.a failed
attempt to open //lib/x86_64-linux-gnu/libngsmshd12.so failed
attempt to open //lib/x86_64-linux-gnu/libngsmshd12.a failed
attempt to open //usr/lib/x86_64-linux-gnu/libngsmshd12.so failed
attempt to open //usr/lib/x86_64-linux-gnu/libngsmshd12.a failed
attempt to open //usr/lib/x86_64-linux-gnu64/libngsmshd12.so failed
attempt to open //usr/lib/x86_64-linux-gnu64/libngsmshd12.a failed
attempt to open //usr/local/lib64/libngsmshd12.so failed
attempt to open //usr/local/lib64/libngsmshd12.a failed
attempt to open //lib64/libngsmshd12.so failed
attempt to open //lib64/libngsmshd12.a failed
attempt to open //usr/lib64/libngsmshd12.so failed
attempt to open //usr/lib64/libngsmshd12.a failed
attempt to open //usr/local/lib/libngsmshd12.so failed
attempt to open //usr/local/lib/libngsmshd12.a failed
attempt to open //lib/libngsmshd12.so failed
attempt to open //lib/libngsmshd12.a failed
attempt to open //usr/lib/libngsmshd12.so failed
attempt to open //usr/lib/libngsmshd12.a failed
attempt to open //usr/x86_64-linux-gnu/lib64/libngsmshd12.so failed
attempt to open //usr/x86_64-linux-gnu/lib64/libngsmshd12.a failed
attempt to open //usr/x86_64-linux-gnu/lib/libngsmshd12.so failed
attempt to open //usr/x86_64-linux-gnu/lib/libngsmshd12.a failed
ld: cannot find -lngsmshd12
在Ubuntu 18.04版本上安装Oracle 12c时,我也遇到了弹出错误(在ins_rdbms.mk文件中调用目标all_no_orcl时出错),但是由于丢失了某些功能而跳过了确定的工作。安装后,我得到了TNS丢失的联系错误,这又是由于该库-lngsmshd12而引起的,我相信。要知道,我更新并复制了所有.mk文件,并进行了必要的更改以安装Oracle12c。 (如-Wl,-不需要)等
这是我检查过的类似链接:
usr/bin/ld: cannot find -l<nameOfTheLibrary>
我也尝试过重新链接,因为我的oracle二进制文件为0字节,并在下面的链接的帮助下没有出现错误。 http://ruleoftech.com/2016/problems-with-installing-oracle-db-12c-ee-ora-12547-tns-lost-contact
但是在运行
make -f ins_rdbms.mk install
这是错误的结尾部分:
/usr/bin/ld: cannot find -lngsmshd12
collect2: error: ld returned 1 exit status