Operating System - Linux
1833038 Members
2358 Online
110049 Solutions
New Discussion

Re: rpm install compat-db

 
SOLVED
Go to solution
jane zhang
Regular Advisor

rpm install compat-db

Hello,

our IC application need libdb.so.3 but not there, I found I need to install compat-db package.

However, I got the follow problem.
rpm -ivh compat-db-3.3.11-2.i386.rpm
warning: compat-db-3.3.11-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libtcl.so.0 is needed by compat-db-3.3.11-2

# rpm -qf libtcl.so.0
error: file libtcl.so.0: No such file or directory

# rpm -q tcl
tcl-8.3.5-92

tcl-8.3.5-92 should provide libtcl.so.0 but not.

Thanks for the help on resolving this conflict.

Jane



6 REPLIES 6
Stuart Browne
Honored Contributor

Re: rpm install compat-db

'libtcl.so' is provided by the 'tcl-deevl' package.
One long-haired git at your service...
Bejoy C Alias
Respected Contributor

Re: rpm install compat-db

I think u r using RH Ent.Linux
The libtcl.so.0 is supplied from tcl-8.3.5-92. But the name will be with libtcl8.3.so , so u need to make a soft link to libtcl8.3.so as libtcl.so.0
Be Always Joy ......
kevin leong
Frequent Advisor

Re: rpm install compat-db

Dear ,
You may run this command
#rpm -ivh --aid compat-db-3.3.11-2

will help to check and install dependencies as well

Thanks
LeongKO
jane zhang
Regular Advisor

Re: rpm install compat-db

Hi

Thanks for the reply.

Yes, we are using redhat Enterprise WS 3.

I have made a soft link in /usr/lib

ln -s libtcl8.3.so libtcl.so.0
and still have the same problem.

I tried to download tcl-devel rpm and can not find it. I have CD on hand, could you tell me how to find it. I usually install the package from GUI ( install or remove application not individual rpm).

Thanks,

Jane
Bejoy C Alias
Respected Contributor
Solution

Re: rpm install compat-db

There in no tcl-devel included in the RH EL cds. Try exporting a variable LD_LIBRARY_PATH contaoing the /usr/lib and /lib path . If this doesnt work try installing the rpm with the --nodeps option
'rpm -ivh compat-db-xxx --nodpes'
Be Always Joy ......
jane zhang
Regular Advisor

Re: rpm install compat-db

Thanks, I was able to install it without dependency.

Jane