2.0.5 on Solaris with openssl 0.9.8h

Rafiqul Ahsan rafiqul.ahsan at gmail.com
Sun Aug 17 08:24:26 CEST 2008


Ok, I tried as follows :

1. chmod a-rx /usr/sfw

2. As before I kept below FLAGS on :
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

3. ./configure
4. make
5. make install

Still "ldd /usr/local/sbin/radiusd" shows the shared object from
/usr/sfw/lib/*0.9.7

Here are the outputs when we deleted the permission (before build),
and added the permissions (after build) :

bash-3.00# chmod a-rx /usr/sfw/
bash-3.00# ls -al /usr/sfw/
total 54
d---------  11 root     bin          512 Aug  1 11:06 .
drwxr-xr-x  42 root     sys         1024 Aug  5 23:54 ..
drwxr-xr-x   3 root     bin         6144 Aug  1 11:08 bin
lrwxrwxrwx   1 root     root           9 Aug  1 11:06 doc -> share/doc
drwxr-xr-x  22 root     bin         2048 Aug  1 11:08 include
lrwxrwxrwx   1 root     root          10 Aug  1 11:06 info -> share/info
drwxr-xr-x  31 root     bin         6656 Aug 13 12:35 lib
drwxr-xr-x   3 root     bin          512 Aug  1 10:51 libexec
lrwxrwxrwx   1 root     root           9 Aug  1 10:54 man -> share/man
drwxr-xr-x   3 root     bin          512 Aug  1 10:50 mysql
drwxr-xr-x   2 root     bin          512 Aug  1 11:14 sbin
drwxr-xr-x  21 root     bin          512 Aug  1 11:06 share
drwxr-xr-x   4 root     bin          512 Aug  1 10:34 sparc-sun-solaris2.10
lrwxrwxrwx   1 root     root           9 Aug  1 09:54 src -> share/src
drwxr-xr-x   6 root     bin          512 Aug  1 09:54 swat

bash-3.00# chmod a+rx /usr/sfw/
bash-3.00# ls -al /usr/sfw/
total 54
dr-xr-xr-x  11 root     bin          512 Aug  1 11:06 .
drwxr-xr-x  42 root     sys         1024 Aug  5 23:54 ..
drwxr-xr-x   3 root     bin         6144 Aug  1 11:08 bin
lrwxrwxrwx   1 root     root           9 Aug  1 11:06 doc -> share/doc
drwxr-xr-x  22 root     bin         2048 Aug  1 11:08 include
lrwxrwxrwx   1 root     root          10 Aug  1 11:06 info -> share/info
drwxr-xr-x  31 root     bin         6656 Aug 13 12:35 lib
drwxr-xr-x   3 root     bin          512 Aug  1 10:51 libexec
lrwxrwxrwx   1 root     root           9 Aug  1 10:54 man -> share/man
drwxr-xr-x   3 root     bin          512 Aug  1 10:50 mysql
drwxr-xr-x   2 root     bin          512 Aug  1 11:14 sbin
drwxr-xr-x  21 root     bin          512 Aug  1 11:06 share
drwxr-xr-x   4 root     bin          512 Aug  1 10:34 sparc-sun-solaris2.10
lrwxrwxrwx   1 root     root           9 Aug  1 09:54 src -> share/src
drwxr-xr-x   6 root     bin          512 Aug  1 09:54 swat


On 8/17/08, Alan DeKok <aland at deployingradius.com> wrote:
> Rafiqul Ahsan wrote:
> > Looks like I Freeradius still built with openssl 0.9.7 at
> > /usr/swf...here is the ldd output :
>
>  Follow instructions.  If you "chmod a-rx /usr/swf", the linker CANNOT
> and WILL NOT pick up OpenSSL from that directory.
>
>  If that causes too many problems, then "chmod a-r
> /usr/sfw/lib/libssl*" and /usr/sfw/lib/libcrypto*".  Really.  It's that
> simple.
>
>  *Then* build the server.  *Then* change the permissions back.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>


-- 
Rafiqul Ahsan



More information about the Freeradius-Users mailing list