[Samba] wrong ELF class error

This is a discussion on [Samba] wrong ELF class error within the Samba forums, part of the Networking and Network Related category; I am trying to configure samba on a Sunfire V125 with Solaris 9 using: - openldap-2.3.22 - libiconv-1....


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2008
Daulton Theodore
 
Posts: n/a
Default [Samba] wrong ELF class error

I am trying to configure samba on a Sunfire V125 with Solaris 9 using:
- openldap-2.3.22
- libiconv-1.9.1
- samba-3.0.23a
- krb5-1.6.3 (the previous build used krb5-1.5.1

Kereberos, openldap and libiconv are all installed but the samba build
generates an error.

The following works:
./configure --prefix=/usr/local/samba \
--with-ldap \
--with-ads \
--with-krb5 \
--with-pam \
--with-winbind

I then set LD_PRELOAD:
# export LD_PRELOAD=/usr/local/lib/libiconv_plug.so

However when I run 'make' I get the following output:
# make
Using FLAGS = -I/usr/local/include -O -D_SAMBA_BUILD_ -I/lib001/samba_binaries/samba-3.0.23a/source/popt -I/lib001/samba_binaries/samba-3.0.23a/source/iniparser/src -Iinclude -I/lib001/samba_binaries/samba-3.0.23a/source/include -I/lib001/samba_binaries/samba-3.0.23a/source/tdb -I. -DHAVE_CONFIG_H -I/usr/local/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 -I/lib001/samba_binaries/samba-3.0.23a/source -D_SAMBA_BUILD_
LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl -liconv
LDSHFLAGS = -G -L/usr/local/lib -R/usr/local/lib -lthread
LDFLAGS = -L/usr/local/lib -R/usr/local/lib -lthread
PIE_CFLAGS =
PIE_LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
ld.so.1: sort: fatal: /usr/local/lib/libiconv_plug.so: wrong ELF class: ELFCLASS32
creating /lib001/samba_binaries/samba-3.0.23a/source/include/proto.h

<>
and it just sits there until I break out of it <CTRL-\>

Has anyone encountered this? Any idea what this 'wrong ELF class' means? I
am hoping someone will have come across this and offer some suggestion as
to how to get past this point.

Thanks for any help you could provide.

--
----------------------------------- 0 ------------------------------------
Daulton Theodore </\ Tel: 613-520-2600 ext. 8352
Carleton University Library _\\ Fax: 613-520-2750
Systems Department `/ Net: Daulton_Theodore@carleton.ca
---------------------------------- ` -------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0