[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:37:15 CET 2013


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             2013-03-26 19:37 CET
Last Modified:              2013-03-27 16:37 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0010303) GoodGulf (reporter) - 2013-03-26 21:36
 https://www.opencsw.org/mantis/view.php?id=5063#c10303 
---------------------------------------------------------------------- 
OK found the problem.

SUNW_2.2.2 which is not available on Solaris 10 8/07. In contrast, the
version from sunfreeware.com is compiled either against Solaris 8 FCS or
Solaris 10 FCS. So this binary will work on all Solaris 10 releases.

It seems SUNW_2.2.2 and SUNW_1.9.1 isn't on this release of my OS.
I also noticed you've got an issue open on it...

http://lists.opencsw.org/pipermail/maintainers/2012-April/016511.html

Is there a fix for this or am I SOL as far as using OpenCSW samba?

The thing that started this is our IT dept. just upgraded the Domain
Controller to Server 2008 R2 and I need a version later than the 3.2.4
version that's installed.

One option is to run with LD_NOVERSION set but that doesn't thrill me...

$ export LD_NOVERSION=1
$ testparm
Load smb config files from /etc/opt/csw/samba/smb.conf
rlimit_max: increasing rlimit_max (256) to minimum Windows limit (16384)
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
...

Any suggestions here would be greatly appreciated.



More information about the bug-notifications mailing list