2.0.5 on Solaris with openssl 0.9.8h

Rafiqul Ahsan rafiqul.ahsan at gmail.com
Sun Aug 17 06:44:20 CEST 2008


Looks like I Freeradius still built with openssl 0.9.7 at
/usr/swf...here is the ldd output :

# ldd /usr/local/sbin/radiusd
        libfreeradius-radius-2.0.5.so =>         /usr/local/lib/libfreeradius-ra
dius-2.0.5.so
        libnsl.so.1 =>   /lib/libnsl.so.1
        libresolv.so.2 =>        /lib/libresolv.so.2
        libsocket.so.1 =>        /lib/libsocket.so.1
        librt.so.1 =>    /lib/librt.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        libcrypt_d.so.1 =>       /usr/lib/libcrypt_d.so.1
        libltdl.so.3 =>  /usr/local/lib/libltdl.so.3
        libssl.so.0.9.7 =>       /usr/sfw/lib/libssl.so.0.9.7
        libcrypto.so.0.9.7 =>    /usr/sfw/lib/libcrypto.so.0.9.7
        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
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libssl_extra.so.0.9.7 =>         /usr/sfw/lib/libssl_extra.so.0.9.7
        libcrypto_extra.so.0.9.7 =>      /usr/sfw/lib/libcrypto_extra.so.0.9.7
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-V210/lib/libmd_psr.so.1

On 8/16/08, Rafiqul Ahsan <rafiqul.ahsan at gmail.com> wrote:
> 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
>


-- 
Rafiqul Ahsan



More information about the Freeradius-Users mailing list