ITeye博客

“Error in invoking target ‘client_sharedlib’ of makefile ‘/home/oracle/oracle/pr

libin123 · 2011-01-13 17:35 · oracle 案例 · 数据库 · Markdown

今天同事在安装oracle的时候总是报这个错误:

"Error in invoking target 'client_sharedlib' of makefile '/home/oracle/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'.

我帮忙查了好久,一直都没发现是什么问题,最后不得不放狗,得到提示,查看ORACLE_HOME下面的install/make.log,在的最后,发现了这样的信息:

/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1//home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh
/home/oracle/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error

同时检查安装文件:报错如下:

INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:

INFO: /home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh

INFO: /home/oracle/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o: file not recognized: File format not recognized

INFO: collect2: ld returned 1 exit status

INFO: genclntsh: Failed to link libclntsh.so.10.1

INFO: make: *** [client_sharedlib] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/home/oracle/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'. See '/home/oracle/oraInventory/logs/installActions2011-01-14_12-28-49AM.log' for details.
Exception Severity: 1

然后在这里找到有人提出可能的原因:把32位的oracle装64位的操作系统,或者是把64位oracle装32位的系统。

最后问清楚,这个家伙果然是把64位的oracle想装在32位的系统上了。。。
换回32位系统,一切正常

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。