Posted on 2006-05-14
Medium Priority
Last Modified: 2013-11-17

Hi , I have tried to compile freeRadius with AIX4.3 as follows:

make install

and with some other variations, for example:

./configure --with-openssl=yes \
 --with-openssl-include=/usr/local/include/openssl \
 --with-openssl-libraries=/usr/local/lib/openssl   \
 --disable-shared \
 --enable-static=yes \

make && make install

resulting in shared libraries (.la) as well as static (.a) but the main program refuses to load them. Output from
radiusd -X is as follows:

radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
radiusd.conf[1047] Failed to link to module 'rlm_files': A file or directory in the path name does not exist.
radiusd.conf[1791] Unknown module "files".
radiusd.conf[1727] Failed to parse authorize section.

I like to know if somebody managed to compile this version on aix 4.3 and a hint about prerequsite packages and which configure settings that was needed.

P.S. I have tried with LD_LIBRARY_PATH=/usr/local/lib but problem remains.

P.P.S ..or if there are some precompiled freeRadius packages for AIX (4 or 5) which I can download.

Question by:d00per
  • 2
  • 2
LVL 14

Accepted Solution

sjm_ee earned 1000 total points
ID: 16678810
FreeRadius was first released after AIX 4.3 was already superceded by AIX 5.1 - and I find no binaries on the usual sites (www.bullfreeware.com, http://aixpdslib.seas.ucla.edu). AIX 4.3 has been unsupported outside very expensive contract for some time now. Time for you to upgrade I think.

Author Comment

ID: 16678944
Thanks for your comment. You are absolute right about me having a to old aix (It's a 43p so AIX 5.2 does not work).  But problem is that my first try was on a AIX 5.2 system in production and I switch to my "old" lab machine when I found out that it didn't work just running a "./configure && make &&make install"- installation. Do you have any experience from compiling freeradius on 5.2 ? If so, did you compile with static och shared libraries? Version of libtools (system or package), autoconf? ... gcc or xlc ? gnu ld ?
LVL 62

Expert Comment

ID: 16682397
Do you use some sort compiler to compile or what ?
Are you sure your ./configure stood silent?

Author Comment

ID: 16688128

I used gcc, No errors from configure.

# lslpp -l | grep -i gcc
  freeware.gcc.rte   COMMITTED  GNU GCC compilers V3.3.0

LVL 62

Assisted Solution

gheist earned 1000 total points
ID: 16697942
LD_LIBRARY_PATH on AIX is never used.
You have to use LIBPATH.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question