libltdl.so.7 is needed by unixODBC-2.2.14-12.el6_3.i686问题解决

红帽子装oracle时unixODBC-2.2.14-12.el6_3.i686.rpm    unixODBC-devel-2.2.14-12.el6_3.i686.rpm这两个文件依赖找不到.安装失败




谷歌搜到下面的网址.



https://community.oracle.com/thread/3577437?start=0&tstart=0



下面为内容.

HI Everyone,

 

I came across this error :

$ rpm -Uvh unixODBC-2.2.14-12.el6_3.i686.rpm

error: Failed dependencies:

    libltdl.so.7 is needed by unixODBC-2.2.14-12.el6_3.i686

    libreadline.so.6 is needed by unixODBC-2.2.14-12.el6_3.i686

and also with this package (unixODBC-devel-2.2.14-11.el6.i686)

 

when i was installing :

Package unixODBC-2.2.14-12.el6_3.i686.rpm

 

I searched and i got this link  error when trying to install Package unixODBC-2.2.14-12.el6_3.i686.rpm on OEL 6.4(64 Bit)but it was Not Answered and archived

it did not solve my problem.

 

I fixed the error so i would like to share the solution

 

Solution :

To get this libltdl.so.7 you need to install this rpm yaf-1.3.2-1.el6.rf.x86_64 or yaf-1.3.2-1.el6.rf.i686 
but these packages itself has dependencies so install with this command "rpm -ivh --nodeps "

 

THEN

 

To get this libreadline.so.6 you need to install this rpm readline-6.0-4.el6.i686.rpm or readline-6.0-4.el6.x86_64.rpm

but these packages itself has dependencies so install with this command "rpm -ivh --nodeps "

 

AND

 

Now you can install unixODBC-2.2.14-12.el6_3.i686.rpm

 

Thanks

Owais Khan



然后进去,他说的那四个文件全部安装上.去oracle官网上找就可以找到四个安装包.我的只下载了前两个,后两个我的系统里面就有了.

安装完后问题解决

这个错误是由于缺少共享库文件引起的。在这种情况下,可能是由于系统中缺少所需的库文件或者库文件路径配置不正确导致的。根据引用\[1\]和引用\[2\]的信息,可以看出是缺少libltdl.so.7这个库文件。类似的错误也可以在引用\[3\]中找到。 要解决这个问题,可以尝试以下几个步骤: 1. 确认系统中是否存在所需的库文件。可以使用命令`find / -name libltdl.so.7`来查找该文件是否存在。如果不存在,可能需要安装相应的软件包来获取该库文件。 2. 如果库文件存在,但是路径配置不正确,可以尝试将库文件路径添加到LD_LIBRARY_PATH环境变量中。可以使用命令`export LD_LIBRARY_PATH=/path/to/library:$LD_LIBRARY_PATH`来添加路径。 3. 如果以上步骤都没有解决问题,可能需要重新安装相关软件包或者更新系统以获取所需的库文件。 总结起来,要解决"docker:error while loading shared libraries:libltdl.so.7:cannot open shared object file"这个错误,需要确认库文件是否存在,路径是否配置正确,并可能需要重新安装相关软件包或者更新系统。 #### 引用[.reference_title] - *1* [docker in docker 出现 libltdl.so.7 问题](https://blog.csdn.net/weixin_30675967/article/details/98614983)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [使用Docker安装Jenkins并添加插件](https://blog.csdn.net/qq_39211866/article/details/80878369)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [动态库的动态链接(error while loading shared libraries,cannot open shared object file)](https://blog.csdn.net/sole_cc/article/details/47188123)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值