httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Nuttall" <>
Subject [users@httpd] DSO compile of mod_auth_mysql
Date Mon, 30 Sep 2002 15:56:19 GMT
Environment:  RedHat 7.3/i386
Apache 2.0.42
Compile and Install Apache in /data/apache
Install MySQL via RPMS from
mod_auth_mysql from SourceForce (as maintained by Sam Brauer)

We can't figure out why we can't create the *.so for mod_auth_mysql.
Seems like the rc=65536 may be an indicator, but we don't know WHO can say
what causes that kind of an error message.

Please e-mail if any of the following makes sense to you:

With mod_auth_mysql source in the current directory, execute:
/data/apache/bin/apxs -c -D APACHE2 -L/usr/lib/mysql -lmysqlclient \
   -lm -lz mod_auth_mysql.c

Results appear to be OK, per off-line with Sam.

Follow that with:
/data/apache/bin/apxs -i

/data/apache/build/libtool --mode=install cp
cp .libs/mod_auth_mysql.lai /data/apache/modules/
cp .libs/mod_auth_mysql.a /data/apache/modules/mod_auth_mysql.a
ranlib /data/apache/modules/mod_auth_mysql.a
chmod 644 /data/apache/modules/mod_auth_mysql.a
PATH="$PATH:/sbin" ldconfig -n /data/apache/modules
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and manual pages.
mv: cannot move `/data/apache/modules' to a subdirectory of itself,
chmod 755 /data/apache/modules/
chmod: getting attributes of `/data/apache/modules/':  No
such file or directory
apxs:Error:  Command failed with rc:65536

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message