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: [EMAIL PROTECTED]
---------------------------------- ` -------------------------------------
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to