Download the 32 bit version for 2.6, oddly enough it works.  There is something
wrong with the 64 bit ELF for Solaris 8, it's been posted a few times but no one
has fixed the problem.

D'Arcy Marconi wrote:

> Platform: Solaris 8
> Perl 5.6.1
> ldapsdk: 4.14
> Perldap: 1.4.1
> C Compiler: SUNWspro
>
> Failed session is as follows:
>
> sol10# make clean
> rm -rf API.c ./blib Makefile.aperl
> blib/arch/auto/Mozilla/LDAP/API/extralibs.all perlmain.c mon.out core
> core.*perl.*.? *perl.core so_locations pm_to_blib *.o *.a perl.exe
> API.bs API.bso API.def API.exp
> mv Makefile Makefile.old > /dev/null 2>&1
> sol10# perl Makefile.PL
>
> PerLDAP - Perl 5 Module for LDAP
> ================================
> Directory containing 'include' and 'lib' directory of the Netscape
> LDAP Software Developer Kit (default: /usr):
> /users/root/source/ldapsdk-4.14
> Using LDAPv3 Developer Kit (default: yes)?
> Include SSL Support (default: yes)?
> Libraries to link with (default: -L/users/root/source/ldapsdk-4.14/lib
> -lldapssl41):
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Mozilla::LDAP::API
> sol10# make
> cp API.pm blib/lib/Mozilla/LDAP/API.pm
> AutoSplitting blib/lib/Mozilla/LDAP/API.pm
> (blib/lib/auto/Mozilla/LDAP/API)
> cp Conn.pm blib/lib/Mozilla/LDAP/Conn.pm
> cp LDIF.pm blib/lib/Mozilla/LDAP/LDIF.pm
> cp Utils.pm blib/lib/Mozilla/LDAP/Utils.pm
> cp Entry.pm blib/lib/Mozilla/LDAP/Entry.pm
> /usr/bin/perl -I/opt/lib/perl5/5.6.1/sun4-solaris -I/opt/lib/perl5/5.6.1
> /opt/lib/perl5/5.6.1/ExtUtils/xsubpp  -nolinenumbers -typemap
> /opt/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap API.xs > API.xsc
> && mv API.xsc API.c
> cc -c -I/users/root/source/ldapsdk-4.14/include -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_POLLUTE  -O
> -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -KPIC
> -I/opt/lib/perl5/5.6.1/sun4-solaris/CORE -DLDAPV3 -DUSE_SSL API.c
> Running Mkbootstrap for Mozilla::LDAP::API ()
> chmod 644 API.bs
> rm -f blib/arch/auto/Mozilla/LDAP/API/API.so
> LD_RUN_PATH="/users/root/source/ldapsdk-4.14/lib" cc  -G
> -L/usr/local/lib -L/apps1/SUNWspro/SC5.0/lib API.o  -o
> blib/arch/auto/Mozilla/LDAP/API/API.so
> -L/users/root/source/ldapsdk-4.14/lib -lldapssl41
> ld: fatal: file /users/root/source/ldapsdk-4.14/lib/libldapssl41.so:
> wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to
> blib/arch/auto/Mozilla/LDAP/API/API.so
> make: *** [blib/arch/auto/Mozilla/LDAP/API/API.so] Error 1
>
> Any thoughts?
>
> D'Arcy
begin:vcard 
n:Chester;Daniel
x-mozilla-html:TRUE
url:www.chesternet.net/talamar
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Daniel Chester
end:vcard

Reply via email to