Hi Maarten,
that's an interesting catch: how can the same executable be linked to
*different* shared libs (libldap.so.2 vs libldap-2.2.so.7) ? Did some
digging on a SL4 32bit WN here and found
# readelf -d /opt/lcg/lib/liblcg_util.so
Dynamic section at offset 0xb250 contains 46 entries:
Tag Type Name/Value
[...]
0x00000001 (NEEDED) Shared library: [libldap-2.2.so.7]
so it looks like Alessandro has a different version of liblcg_util.so
??? on my box I have version 1.5.2
# rpm -qif /opt/lcg/lib/liblcg_util.so
Name : lcg_util Relocations: /opt/lcg
Version : 1.5.2 Vendor: (none)
Release : 1 Build Date: Fri Jun 22
10:52:02 2007
Install Date: Tue Aug 7 14:10:50 2007 Build Host: lxb1053.cern.ch
Group : Application/File Source RPM:
lcg_util-1.5.2-1.src.rpm
Size : 566385 License: Open Source EGEE
License
Signature : (none)
Summary : LCG utilities
Description :
Set of APIs and CLIs for use in LCG.
which Alessandro's rpmlist also states , but is it really the same version?
Alessandro, can you post output of
readelf -d /opt/lcg/lib/liblcg_util.so
rpm -qif /opt/lcg/lib/liblcg_util.so
cheers,
Jan Just Keijser
System Integrator
Nikhef / Amsterdam
Maarten Litmaath wrote:
> Italiano Alessandro wrote:
>
>> [...]
>> libldap.so.2 => /usr/lib/libldap.so.2 (0x0027b000)
>
> On our testbed we have this instead:
>
> ------------------------------------------------------------------
> $ ldd `which lcg-cr` | grep ldap
> libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x0064e000)
> $ rpm -qf /usr/lib/libldap-2.2.so.7
> openldap-2.2.13-7.4E
> ------------------------------------------------------------------
>
> I do not see how it would explain the problem, but you may want to
> try switching to that version.
>
> Can you also send the output of this command:
>
> env | sort
|