Dear Friends,
 
fetch.c: In function ‘ldif_open_url’:
fetch.c:52: warning: assignment discards qualifiers from pointer target type
ar: creating liblutil.a
ucdata.c: In function ‘_uccase_lookup’:
ucdata.c:411: warning: assignment discards qualifiers from pointer target type
ar: creating liblunicode.a
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libssl.a(s3_pkt.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value

collect2: ld returned 1 exit status
make[2]: *** [libldap.la] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
 
I am running out with this problem while trying to build OpenLDAP2.3.33 on Suse linux.
Could anybody help me?
 
regards,
dinesh V