Danny Bullis
Danny Bullis

Reputation: 3199

Apache server module installation: How do I resolve an apxs error?

Could you explain to me the meaning and possible fix(es) of the error below?

I am trying to install an Apache module for FTP http://httpd.apache.org/mod_ftp/ftp/index.html. I am getting this error when try to build the source file using apxs:

apxs:Error: Sorry, cannot determine bootstrap symbol name.
apxs:Error: Please specify one with option `-n'.

Here is the full code in context:

$ apxs -iac mod_ftp.c
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN -
DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/usr/include/apache2  -
I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_ftp.lo mod_ftp.c && touch 
mod_ftp.slo
/usr/share/apr-1/build-1/libtool --silent --mode=link gcc -o mod_ftp.la  -rpath 
/usr/libexec/apache2 -module -avoid-version    mod_ftp.lo
apxs:Error: Sorry, cannot determine bootstrap symbol name.
apxs:Error: Please specify one with option `-n'.

This is the first module I've ever attempted to Install on an Apache server, and I'm stumped. I can't seem to find an explanation of this. In particular, what is the bootstrap symbol name and how do I specify one with option -n?

Thanks for your help!

Upvotes: 0

Views: 3450

Answers (2)

MarkHelms
MarkHelms

Reputation: 55

apxs cannot extract or misses a description for the module. Provide it with the -n flag before the source file name, and it should work, e.g.

apxs -iac -n mod_ftp mod_ftp.c

Worked for me in the case of mod_authnz_pam:

apxs -iac -n mod_authnz_pam mod_authnz_pam.c -lpam -Wall -pedantic

where the author omitted the -n flag in his installation howto, and I encountered your problem

Upvotes: 2

Holden
Holden

Reputation: 7452

Have you tried following the directions from http://svn.apache.org/repos/asf/httpd/mod_ftp/trunk/README-FTP ?

Since apxs appears to be in your path you should be able to just do:

./configure.apxs
make
make install

Upvotes: 0

Related Questions