Project

General

Profile

Actions

Bug #4874

closed

/opt/rudder/sbin/slapcat: error while loading shared libraries: libltdl.so.7: cannot open shared opject file: No such file or directory

Added by Christophe Nowicki almost 10 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
N/A
Category:
Packaging
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Hi,

On CentOS 6.5 the rudder-inventory-ldap-2.10.1.rc1.git201404270210
is missing libltdl.so.7 from the libtool-ltdl package.

Best Regards,

Actions #1

Updated by Nicolas PERRON almost 10 years ago

  • Assignee set to Nicolas PERRON

As you said, it seems that a dependency is missing:

[vagrant@server ~]$ rpm -qpR  rudder-inventory-ldap-2.10.1.rc1.git201405200213-1.EL.6.x86_64.rpm | egrep "ltd|tool" 

libltdl.so.7()(64bit)
[vagrant@server ~]$ rpm -qf /usr/lib64/libltdl.so.7
libtool-ltdl-2.2.6-15.5.el6.x86_64

So at least 'libtool-ltdl' package is missing. I have to check on which versions it is needed.

Actions #2

Updated by Nicolas PERRON almost 10 years ago

Nicolas PERRON wrote:

As you said, it seems that a dependency is missing:

[...]

So at least 'libtool-ltdl' package is missing. I have to check on which versions it is needed.

I wasn't aware that yum/rpm was smart enough to know that 'libtool-ltdl' is a dependency of 'rudder-inventory-ldap' package but this is the case !
See:

[vagrant@server ~]$ rpm -Uvh rudder-inventory-ldap-2.10.1.rc1.git201405200213-1.EL.6.x86_64.rpm 
error: Failed dependencies:
    libltdl.so.7()(64bit) is needed by rudder-inventory-ldap-1398866025:2.10.1.rc1.git201405200213-1.EL.6.x86_64
vagrant@server ~]$ sudo yum install rudder-inventory-ldap
[...]
Dependencies Resolved

===================================================================================================================
 Package                        Arch            Version                                  Repository           Size
===================================================================================================================
Installing:
 rudder-inventory-ldap          x86_64          1398866025:2.9.4.release-1.EL.6          Rudder_2.9          2.3 M
Installing for dependencies:
 libtool-ltdl                   x86_64          2.2.6-15.5.el6                           base                 44 k

Transaction Summary
===================================================================================================================
Install       2 Package(s)
[...]

and:

[vagrant@server ~]$ sudo yum deplist rudder-inventory-ldap
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: fr2.rpmfind.net
 * extras: fr2.rpmfind.net
 * updates: fr2.rpmfind.net
Finding dependencies: 
package: rudder-inventory-ldap.i686 1398866025:2.9.4.release-1.EL.6
  dependency: libltdl.so.7
   provider: libtool-ltdl.i686 2.2.6-15.5.el6
[...]

Christophe, how did you manage to install rudder-inventory-ldap without 'libtool-ltdl' ? Are you sure that is was the case or just the file /usr/lib64/libltdl.so.7 was erased ?

Actions #3

Updated by Nicolas PERRON almost 10 years ago

  • Status changed from New to Discussion
  • Assignee changed from Nicolas PERRON to Christophe Nowicki
Actions #4

Updated by Nicolas PERRON almost 10 years ago

I've just seen #4838 and in my opinion this is because you've got rudder-inventory-ldap 32bits that this error appears:

  • 32bits libraries are installed into /usr/lib/ and 64 bits into /usr/lib64
  • rudder-inventory-ldap needs libtool-ltdl which will be installed into /usr/lib64 but rudder-inventory-ldap 32bits search for libraries into /usr/lib/

Isn't that your problem ?

Actions #5

Updated by Christophe Nowicki almost 10 years ago

Hi Nicolas,

Christophe, how did you manage to install rudder-inventory-ldap without 'libtool-ltdl' ? Are you sure that is was the case or just the file /usr/lib64/libltdl.so.7 was erased ?

This is it. As #4838 was not fixed, I've managed to install the rudder-inventory-ldap with --force options and get a mix of packages ...

Sorry, could you close this ticket?

I try to reproduce #4838 and focus on it.

Best Regards,

Actions #6

Updated by Nicolas PERRON almost 10 years ago

  • Status changed from Discussion to Rejected

Christophe Nowicki wrote:

Hi Nicolas,

Christophe, how did you manage to install rudder-inventory-ldap without 'libtool-ltdl' ? Are you sure that is was the case or just the file /usr/lib64/libltdl.so.7 was erased ?

This is it. As #4838 was not fixed, I've managed to install the rudder-inventory-ldap with --force options and get a mix of packages ...

Sorry, could you close this ticket?

I try to reproduce #4838 and focus on it.

Best Regards,

Ok, then I reject this issue.

Thank you !

Actions #7

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF