2.0.5 on Solaris with openssl 0.9.8h
Rafiqul Ahsan
rafiqul.ahsan at gmail.com
Sat Aug 16 23:33:40 CEST 2008
It is Solaris 10 (V210). Now I have added below Flags (as per your
previous email) :
CFLAGS=-I/usr/local/ssl/include/openssl
CPPFLAGS=-I/usr/local/ssl/include/openssl
LDFLAGS='-L/usr/local/ssl/lib -R/usr/local/ssl/lib'
export CFLAGS CPPFLAGS LDFLAGS
How else to verify that my Frerradius 2.0.5 was built with
openssl0.9.8h (Again, please note openssl 0.9.8h was installed in
/usr/local/ssl, and prebuilt openssl (came with Solaris 10) 0.9.7 is
at /usr/sfw) ? I wanted to build with 0.9.8h because it supports
advance crypto like sha2, sha256 etc....But still does not seem like
Freeradius is working with sha256.
Here is the part of make log :
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/ssl/include/openssl -I/usr/local/s
sl/include/openssl -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/ssl/include/openssl -I/usr/local/s
sl/include/openssl -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=link gcc -I/usr/local/ssl/include/openssl
-no-undefined -version-info 4:4:1 -L/usr/local/ssl/lib -R/usr/local/ssl/lib -o
libltdl.la -rpath /usr/local/lib ltdl.lo -ldl
gcc -shared -Wl,-h -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.4 .libs/ltdl.o -R/
usr/local/ssl/lib -L/usr/local/ssl/lib -ldl -lc
(cd .libs && rm -f libltdl.so.3 && ln -s libltdl.so.3.1.4 libltdl.so.3)
(cd .libs && rm -f libltdl.so && ln -s libltdl.so.3.1.4 libltdl.so)
ar cru .libs/libltdl.a ltdl.o
ranlib .libs/libltdl.a
creating libltdl.la
On 8/15/08, Andrew Hood <freeradius at andyhood.net> wrote:
> Rafiqul Ahsan wrote:
> > Hi Alan, and All,
> >
> > Well, I believe I have linked Freeradius 2.0.5 with the right openssl
> > (0.9.8h) now by adding below env variables(my build logs also says
> > that linked with -L/usr/local/ssl/lib). However I still see the same
> > error while using sha256 encryption algorithm with RSA 2048 key. I
> > sent this query to openssl maillist, they are sending me back to you
> > (freeradius folks) to verify whether Freeradius supports sha2, sha256
> > etc. (I hoped that below patch would allow, but no luck).
> >
> > CFLAGS=-I/usr/local/ssl/include/openssl
> > CPPFLAGS=-I/usr/local/ssl/include/openssl
> > LDFLAGS=-L/usr/local/ssl/lib
> > export CFLAGS CPPFLAGS LDFLAGS
>
> I forget. Were you using the Sun toolchain or GNU?
>
> You probably need one of:
>
> LDFLAGS='-L/usr/local/ssl/lib -Wl,-rpath -Wl,/usr/local/ssl/lib
>
> or
>
> LDFLAGS='-L/usr/local/ssl/lib -R/usr/local/ssl/lib'
>
> or whatever similar incantation your linker wants to achive the same
> result, forcing it to use the version of openssl in /usr/local/lib
>
>
> --
> REALITY.SYS not found: Universe halted.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
Rafiqul Ahsan
More information about the Freeradius-Users
mailing list