Hello, I am trying to install freeradius 1.1.6 on AIX 5.3 with gcc 4.1.1. If I follow the basic instructions it seems to compile and install. However, trying to run "radiusd" with any options results in a coredump. Has anyone managed to install a recent freeradius release on AIX 5.3? What configure options did you use? Any special modifications to the source required? Thanks. ---Hillel
Hillel Seltzer wrote:
I am trying to install freeradius 1.1.6 on AIX 5.3 with gcc 4.1.1. If I follow the basic instructions it seems to compile and install. However, trying to run "radiusd" with any options results in a coredump.
See doc/bugs. Or, build it with "./configure --disable-shared". That might help.
Has anyone managed to install a recent freeradius release on AIX 5.3?
The last time I built anything on AIX was close to a decade ago. Alan DeKok.
On Thu, 12 Jul 2007 19:50:26 +0200, Alan DeKok wrote
Or, build it with "./configure --disable-shared". That might help.
I tried building with "./configure --disable-shared", and the make process hits an error with undefined symbols: gcc .libs/radiusdS.o -pie -static -o radiusd acct.o auth.o client.o conffile.o exec.o files.o log.o mainconfig.o modules.o modcall.o nas.o proxy.o radiusd.o radius_snmp.o request_list.o session.o smux.o threads.o util.o valuepair.o version.o timestr.o xlat.o ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a ../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_counter/.libs/rlm_counter.a ../modules/rlm_dbm/.libs/rlm_dbm.a ../modules/rlm_detail/.libs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a ../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a ../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_ippool/.libs/rlm_ippool.a -L/usr/local/lib -lgdbm ../modules/rlm_mschap/.libs/rlm_mschap.a ../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a ../modules/rlm_otp/.libs/rlm_otp.a ../modules/rlm_pam/.libs/rlm_pam.a -lpam ../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a ../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_radutmp/.libs/rlm_radutmp.a ../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sql/.libs/rlm_sql.a ../modules/rlm_sql_log/.libs/rlm_sql_log.a ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_checkval/.libs/rlm_checkval.a ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a ../modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a ../modules/rlm_eap/types/rlm_eap_ttls/.libs/rlm_eap_ttls.a ../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a ../modules/rlm_eap/types/rlm_eap_peap/.libs/rlm_eap_peap.a /nomad/local/src/freeradius-1.1.6/src/modules/rlm_eap/libeap/.libs/libeap.a ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_eap/libeap/.libs/libeap.a /usr/local/src/freeradius-1.1.6/src/lib/.libs/libradius.a ../lib/.libs/libradius.a -lcrypt -lltdl -ldl -lnsl -lpthread -lssl -lcrypto -Wl,-blibpath:/usr/local/lib:/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1:/usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../..:/usr/lib:/lib ld: 0711-317 ERROR: Undefined symbol: t_open ld: 0711-317 ERROR: Undefined symbol: t_close ld: 0711-317 ERROR: Undefined symbol: t_getstate ld: 0711-317 ERROR: Undefined symbol: t_unbind ld: 0711-317 ERROR: Undefined symbol: t_sync ld: 0711-317 ERROR: Undefined symbol: t_bind ld: 0711-317 ERROR: Undefined symbol: t_getinfo ld: 0711-317 ERROR: Undefined symbol: t_free ld: 0711-317 ERROR: Undefined symbol: _terrno ld: 0711-317 ERROR: Undefined symbol: t_sndudata ld: 0711-317 ERROR: Undefined symbol: t_rcvudata ld: 0711-317 ERROR: Undefined symbol: t_rcvuderr ld: 0711-317 ERROR: Undefined symbol: t_alloc ld: 0711-317 ERROR: Undefined symbol: t_optmgmt ld: 0711-317 ERROR: Undefined symbol: t_connect ld: 0711-317 ERROR: Undefined symbol: t_rcvconnect ld: 0711-317 ERROR: Undefined symbol: t_rcv ld: 0711-317 ERROR: Undefined symbol: t_look ld: 0711-317 ERROR: Undefined symbol: t_rcvrel ld: 0711-317 ERROR: Undefined symbol: t_sndrel ld: 0711-317 ERROR: Undefined symbol: t_rcvdis ld: 0711-317 ERROR: Undefined symbol: t_snddis ld: 0711-317 ERROR: Undefined symbol: t_snd ld: 0711-317 ERROR: Undefined symbol: t_errlist ld: 0711-317 ERROR: Undefined symbol: t_nerr ld: 0711-317 ERROR: Undefined symbol: t_listen ld: 0711-317 ERROR: Undefined symbol: t_accept ld: 0711-317 ERROR: Undefined symbol: __crypt_r ld: 0711-317 ERROR: Undefined symbol: __setkey_r ld: 0711-317 ERROR: Undefined symbol: __encrypt_r ld: 0711-317 ERROR: Undefined symbol: HMAC_CTX_set_flags ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status
On Thu, 12 Jul 2007 19:50:26 +0200, Alan DeKok wrote
Hillel Seltzer wrote:
I am trying to install freeradius 1.1.6 on AIX 5.3 with gcc 4.1.1. If I follow the basic instructions it seems to compile and install. However, trying to run "radiusd" with any options results in a coredump.
See doc/bugs.
Following the docs/bugs instructions for looking at a coredump, I get the following in dbg: info stack: #0 0x100017fc in main (argc=1, argv=0x2ff229a8) at radiusd.c:810 info files: Symbols from "/usr/local/sbin/radiusd". Local core dump file: `/nomad/local/src/freeradius-1.1.6/./core', file type aixcoff-rs6000. 0x2ff1f000 - 0x2ff23000 is .stack 0x20000000 - 0x2001d610 is .data 0x200004d8 - 0x2000d5fc is .data 0xfffffffff066d000 - 0xfffffffff0672020 is .data 0xfffffffff0334870 - 0xfffffffff0335bd0 is .data 0xfffffffff0b89508 - 0xfffffffff0b89630 is .data 0xfffffffff054383f - 0xfffffffff0543cc0 is .data 0xfffffffff0bd6d88 - 0xfffffffff0bd8b68 is .data 0xfffffffff0d90248 - 0xfffffffff0e28418 is .data 0xfffffffff0c53000 - 0xfffffffff0c57024 is .data 0xfffffffff0c10000 - 0xfffffffff0c524a8 is .data 0xfffffffff0aeaf10 - 0xfffffffff0b88258 is .data 0xd02b9718 - 0xd02b97e6 is .text in pse.o 0xf02845f4 - 0xf02845f4 is .data in pse.o 0xd0546180 - 0xd0576b78 is .text in shr.o 0xf066d000 - 0xf0672020 is .data in shr.o 0xd02be21c - 0xd02be2d8 is .text in shr.o 0xf0f710f8 - 0xf0f710f8 is .data in shr.o 0xd02b0a60 - 0xd02b8a9c is .text in shr.o 0xf0334870 - 0xf0335bd0 is .data in shr.o 0xd02ae21c - 0xd02af8ae is .text in shr.o 0xf02830f8 - 0xf02830f8 is .data in shr.o 0xd014521c - 0xd014593e is .text in shr.o 0xf0b89508 - 0xf0b89630 is .data in shr.o 0xd1fa8250 - 0xd1fafe98 is .text in libltdl.so.3 0xf054383f - 0xf0543cc0 is .data in libltdl.so.3 0xd23b3270 - 0xd23d8d46 is .text in libradius-1.1.6.so 0xf0bd6d88 - 0xf0bd8b68 is .data in libradius-1.1.6.so 0xd0233a40 - 0xd02ada9b is .text in shr.o 0xf0d90248 - 0xf0e28418 is .data in shr.o 0xd010e180 - 0xd01445c4 is .text in shr_xpg5.o 0xf0c53000 - 0xf0c57024 is .data in shr_xpg5.o 0xd010a124 - 0xd010dc52 is .text in shr_comm.o 0xf0c10000 - 0xf0c524a8 is .data in shr_comm.o 0xd02f43a0 - 0xd05456ed is .text in shr.o 0xf0aeaf10 - 0xf0b88258 is .data in shr.o Local exec file: `/usr/local/sbin/radiusd', file type aixcoff-rs6000. Entry point: 0x200096f8 0x10000150 - 0x100464d8 is .text 0x200004d8 - 0x2000ab5c is .data 0x2000ab5c - 0x2000d5fc is .bss 0x00000000 - 0x000139ec is .loader Mapping info for file `/usr/local/sbin/radiusd'. tstart tend dstart dend section file(member) 0x10000150 0x10064548 0x200004d8 0x2000d5fc /usr/local/sbin/radiusd 0xd02b9718 0xd02b97e6 0xf02845f4 0xf02845f4 /usr/lib/libc.a(pse.o) 0xd0546180 0xd0576b78 0xf066d000 0xf0672020 /usr/lib/libpthreads.a(shr.o ) 0xd02be21c 0xd02be2d8 0xf0f710f8 0xf0f710f8 /usr/lib/libdl.a(shr.o) 0xd02b0a60 0xd02b8a9c 0xf0334870 0xf0335bd0 /usr/lib/libtli.a(shr.o) 0xd02ae21c 0xd02af8ae 0xf02830f8 0xf02830f8 /usr/lib/libpthreads_compat. a(shr.o) 0xd014521c 0xd014593e 0xf0b89508 0xf0b89630 /usr/lib/libcrypt.a(shr.o) 0xd1fa8250 0xd1fafe98 0xf054383f 0xf0543cc0 /usr/local/lib/libltdl.a(lib ltdl.so.3) 0xd23b3270 0xd23d8d46 0xf0bd6d88 0xf0bd8b68 /usr/local/lib/libradius.a(l ibradius-1.1.6.so) 0xd0233a40 0xd02ada9b 0xf0d90248 0xf0e28418 /usr/lib/libnsl.a(shr.o) 0xd010e180 0xd01445c4 0xf0c53000 0xf0c57024 /usr/lib/libpthread.a(shr_xp g5.o) 0xd010a124 0xd010dc52 0xf0c10000 0xf0c524a8 /usr/lib/libpthread.a(shr_co mm.o) 0xd02f43a0 0xd05456ed 0xf0aeaf10 0xf0b88258 /usr/lib/libc.a(shr.o)
Hillel Seltzer wrote:
Following the docs/bugs instructions for looking at a coredump, I get the following in dbg:
info stack: #0 0x100017fc in main (argc=1, argv=0x2ff229a8) at radiusd.c:810
Not much information there. It's dying just as the program is starting, before it's really doing anything. Alan DeKok.
On Fri, 13 Jul 2007 06:36:48 +0200, Alan DeKok wrote
Not much information there. It's dying just as the program is starting, before it's really doing anything.
Alan DeKok.
If it gives a little more information, running radiusd after starting dbg gives the info: Starting program: /usr/local/sbin/radiusd Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1] 0x100017fc in main (argc=1, argv=0x2ff228cc) at radiusd.c:810 810 radiusd.c: No such file or directory. in radiusd.c Thanks. ---Hillel
participants (2)
-
Alan DeKok -
Hillel Seltzer