Hi
To make the generated libraries (at least on Solaris) usable to be linked into
ant shared objects, all files should be compiled position independend (-KPIC).
Out of (static) libraries compiled like that it is very easy to generate shared
libraries.
So please add the following configuration line and the attached script
(shlib/solaris-sc4.sh).
diff -r1.9 Configure
107a108,110
>
> "solaris-sparc-sc4-pic","cc:-xO5 -Xa -DB_ENDIAN -KPIC:-lsocket -lnsl:\
> BN_LLONG RC4_CHAR DES_PTR DES_RISC1 DES_UNROLL BF_PTR:asm/sparc.o::",
regards
Matthias Loepfe
P.S: I use like follows:
sh
perlpath=`sh -c "type perl5" | awk '{print $3}'`
perl5 util/perlpath.pl $perlpath
./Configure solaris-sparc-sc4-pic no-asm
./util/ssldir.pl /var/spool/openssl
make -f Makefile.ssl links
make clean
make depend
make
# build the shared libs
sh shlib/solaris-sc4.sh
# recreate all binaries with the shared libs
make
LD_LIBRARY_PATH=`pwd` make rehash
LD_LIBRARY_PATH=`pwd` make test
-------------------------------------------------------------------------------
Matthias Loepfe, AdNovum Informatik AG, Roentgenstr. 22, CH-8005 Zurich
Email: [EMAIL PROTECTED] Voice: +41 1 272 6111 Fax: +41 1 272 6312
solaris-sc4.sh