[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] apache_1.3.27 on a Qube2



On Saturday, February 8, 2003, at 09:21  PM, Gerald Waugh wrote:


I can't seem to get mod_auth_pam to load as a DSO.
When I compile with apxs apache complains that mod_auth_pam.so is corrupt.

When I try to compile into apache it says it can't find pam_start and a few
other things.

Is this what you get Gerald?

modules/extra/libextra.a(mod_auth_pam.o): In function `pam_auth_basic_user':
mod_auth_pam.c(.text+0x5f8): undefined reference to `pam_start'
mod_auth_pam.c(.text+0x628): undefined reference to `pam_strerror'
mod_auth_pam.c(.text+0x674): undefined reference to `pam_fail_delay'
mod_auth_pam.c(.text+0x690): undefined reference to `pam_authenticate'
mod_auth_pam.c(.text+0x6c0): undefined reference to `pam_strerror'
mod_auth_pam.c(.text+0x728): undefined reference to `pam_end'
mod_auth_pam.c(.text+0x754): undefined reference to `pam_end'
mod_auth_pam.c(.text+0x790): undefined reference to `pam_acct_mgmt'
mod_auth_pam.c(.text+0x7c0): undefined reference to `pam_strerror'
mod_auth_pam.c(.text+0x800): undefined reference to `pam_end'
mod_auth_pam.c(.text+0x824): undefined reference to `pam_end'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/src/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/src/apache_1.3.27'


Could it be that apxs on the qube2 is too old?
Where can I get a new one?

Just edit apache_1.3.27/src/Makefile and add the -lpam to EXTRA_LIBS and then try make again. At least this worked for me. YMMV.

HTH,
j