Lara Adianto
2005-09-15 09:33:46 UTC
Hi all,
I downloaded novell-cldap-devel-2005.07.18-1solaris.tar.gz , and tried to compile the sample code on my solaris, but failed with the following errors:
-bash-3.00# make
gcc -g -I../include -DUNIX -c -o CheckBind.o CheckBind.c
gcc -o CheckBind CheckBind.o -L../lib -lldapsdk -lpthread -lrt -lresolv -lsocket
ld: fatal: file ../lib/libldapsdk.so: wrong ELF machine type: EM_SPARC
ld: fatal: File processing errors. No output written to CheckBind
collect2: ld returned 1 exit status
make: *** [CheckBind] Error 1
What does 'wrong ELF machine type: EM_SPARC' mean ?
I'm compiling it on solaris x86, 5.10
Does the library from downloaded from http://developer.novell.com/ndk/cldap.htm work only on SPARC machine ?
If yes, is there any available library for solaris x86, 5.10 ?
Thanks,
Lara
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
I downloaded novell-cldap-devel-2005.07.18-1solaris.tar.gz , and tried to compile the sample code on my solaris, but failed with the following errors:
-bash-3.00# make
gcc -g -I../include -DUNIX -c -o CheckBind.o CheckBind.c
gcc -o CheckBind CheckBind.o -L../lib -lldapsdk -lpthread -lrt -lresolv -lsocket
ld: fatal: file ../lib/libldapsdk.so: wrong ELF machine type: EM_SPARC
ld: fatal: File processing errors. No output written to CheckBind
collect2: ld returned 1 exit status
make: *** [CheckBind] Error 1
What does 'wrong ELF machine type: EM_SPARC' mean ?
I'm compiling it on solaris x86, 5.10
Does the library from downloaded from http://developer.novell.com/ndk/cldap.htm work only on SPARC machine ?
If yes, is there any available library for solaris x86, 5.10 ?
Thanks,
Lara
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.