[bug-notifications] [samba 0005063]: Samba testparm command fails with: /usr/lib/libresolv.so.2: wrong ELF class: ELFCLASS32

Mantis Bug Tracker noreply at opencsw.org
Wed Mar 27 16:41:16 CET 2013


The following issue requires your FEEDBACK. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5063 
====================================================================== 
Reported By:                GoodGulf
Assigned To:                dam
====================================================================== 
Project:                    samba
Issue ID:                   5063
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2013-03-26 19:37 CET
Last Modified:              2013-03-27 16:41 CET
====================================================================== 
Summary:                    Samba testparm command fails with:
/usr/lib/libresolv.so.2: wrong ELF class: ELFCLASS32
Description: 
I am obviously doing something wrong here so any help would be
appreciated.
Machine is a Solaris 10 Sparc Sun-Fire-V245
I downloaded and installed CSWSamba version 3.6.5,REV=2012.05.04
When I tried to run testparm against my smb.conf.

$ testparm
ld.so.1: testparm: fatal: libresolv.so.2: version `SUNW_2.2.2' not found
(required by file /opt/csw/lib/sparcv9/libldap-2.4.so.2)
ld.so.1: testparm: fatal: /usr/lib/libresolv.so.2: wrong ELF class:
ELFCLASS32
ld.so.1: testparm: fatal: relocation error: file
/opt/csw/lib/sparcv9/libldap-2.4.so.2: symbol h_errno: referenced symbol
not found
Killed

I'm not even sure where to begin here so please let me know what else you
need.
====================================================================== 

---------------------------------------------------------------------- 
 (0010304) dam (administrator) - 2013-03-27 16:41
 https://www.opencsw.org/mantis/view.php?id=5063#c10304 
---------------------------------------------------------------------- 
As you see from
 
https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libresolv2/common/mapfile-vers
libresolv.so.2 (SUNW_2.2.2)  is from Solaris 10u5 being roughly 5 years
old. This is about as far as we can go back with mapfiles from a current
Solaris 10u11. I suggest updating your machine to a recent patchlevel.



More information about the bug-notifications mailing list