2.0.5 on Solaris with openssl 0.9.8h

Rafiqul Ahsan rafiqul.ahsan at gmail.com
Sun Aug 17 05:22:35 CEST 2008


Here is the output. Not sure if this ensures the Freeradius built with
/usr/local/ssl/lib (0.9.8h), or /usr/sfw (0.9.7). My objective is to
build with 0.9.8h (but below output shows libgcc_s.sp.1 located at
/usr/sfw/lib). Can you please confirm from below output :

# ldd /usr/local/lib/libltdl.so.3.1.4
        libdl.so.1 =>    /lib/libdl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1



On 8/16/08, Andrew Hood <freeradius at andyhood.net> wrote:
> Rafiqul Ahsan wrote:
> > 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
>
> Assuming you have run "make install", what does
>
> ldd /your/path/to/libltdl.so
>
> return?
> --
> 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