[Mod_log_sql] problems with so creation on install

Matthew Boeckman mboeckman at servicemagic.com
Thu Jan 22 15:37:41 EST 2009


Hello. I'm having difficulty getting mod_log_sql-1.101 to create any
so's on Centos 5.2. I've got a system with mysql-5.0.45 and devel and
apache 2.0.61 configured from source. configure and make seem to pass
OK, but make install gets me the dump below. I end up with all the .a
and .la files installed in /usr/local/apache2/modules, but no so files
and seemingly no direct errors on so creation. 

I appreciate any pointers, and if I'm being boneheaded and missing
something obvious I apologize.

Thanks in advance for any help!

files created in apache2/modules:

ls /usr/local/apache2/modules/*sql*
/usr/local/apache2/modules/mod_log_sql.a
/usr/local/apache2/modules/mod_log_sql.la
/usr/local/apache2/modules/mod_log_sql_logio.a
/usr/local/apache2/modules/mod_log_sql_logio.la
/usr/local/apache2/modules/mod_log_sql_mysql.a
/usr/local/apache2/modules/mod_log_sql_mysql.la
/usr/local/apache2/modules/mod_log_sql_ssl.a
/usr/local/apache2/modules/mod_log_sql_ssl.la

output of make install:

[root at pwsin024 mod_log_sql-1.101]# make install
Making install in docs
make[1]: Entering directory `/home/mboeckma/mod_log_sql-1.101/docs'
make[1]: Leaving directory `/home/mboeckma/mod_log_sql-1.101/docs'
Making install in contrib
make[1]: Entering directory `/home/mboeckma/mod_log_sql-1.101/contrib'
make[1]: Leaving directory `/home/mboeckma/mod_log_sql-1.101/contrib'
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool'
mod_log_sql.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
mod_log_sql.la /usr/local/apache2/modules/
cp .libs/mod_log_sql.lai /usr/local/apache2/modules/mod_log_sql.la
cp .libs/mod_log_sql.a /usr/local/apache2/modules/mod_log_sql.a
chmod 644 /usr/local/apache2/modules/mod_log_sql.a
ranlib /usr/local/apache2/modules/mod_log_sql.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2/modules

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/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found in /usr/local/apache2/modules/mod_log_sql.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_log_sql.so
chmod: cannot access `/usr/local/apache2/modules/mod_log_sql.so': No
such file or directory
apxs:Error: Command failed with rc=65536
.
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool'
mod_log_sql_mysql.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
mod_log_sql_mysql.la /usr/local/apache2/modules/
cp .libs/mod_log_sql_mysql.lai /usr/local/apache2/modules/mod_log_sql_mysql.la
cp .libs/mod_log_sql_mysql.a /usr/local/apache2/modules/mod_log_sql_mysql.a
chmod 644 /usr/local/apache2/modules/mod_log_sql_mysql.a
ranlib /usr/local/apache2/modules/mod_log_sql_mysql.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2/modules

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/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found
in /usr/local/apache2/modules/mod_log_sql_mysql.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_log_sql_mysql.so
chmod: cannot access `/usr/local/apache2/modules/mod_log_sql_mysql.so':
No such file or directory
apxs:Error: Command failed with rc=65536
.
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool'
mod_log_sql_ssl.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
mod_log_sql_ssl.la /usr/local/apache2/modules/
cp .libs/mod_log_sql_ssl.lai /usr/local/apache2/modules/mod_log_sql_ssl.la
cp .libs/mod_log_sql_ssl.a /usr/local/apache2/modules/mod_log_sql_ssl.a
chmod 644 /usr/local/apache2/modules/mod_log_sql_ssl.a
ranlib /usr/local/apache2/modules/mod_log_sql_ssl.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2/modules

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/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found
in /usr/local/apache2/modules/mod_log_sql_ssl.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_log_sql_ssl.so
chmod: cannot access `/usr/local/apache2/modules/mod_log_sql_ssl.so': No
such file or directory
apxs:Error: Command failed with rc=65536
.
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool'
mod_log_sql_logio.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
mod_log_sql_logio.la /usr/local/apache2/modules/
cp .libs/mod_log_sql_logio.lai /usr/local/apache2/modules/mod_log_sql_logio.la
cp .libs/mod_log_sql_logio.a /usr/local/apache2/modules/mod_log_sql_logio.a
chmod 644 /usr/local/apache2/modules/mod_log_sql_logio.a
ranlib /usr/local/apache2/modules/mod_log_sql_logio.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2/modules
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/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning!  dlname not found
in /usr/local/apache2/modules/mod_log_sql_logio.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_log_sql_logio.so
chmod: cannot access `/usr/local/apache2/modules/mod_log_sql_logio.so':
No such file or directory
apxs:Error: Command failed with rc=65536
.
*************************************************************************
*** The mod_log_sql modules have been installed.
*** Please edit your Apache configuration files and
*** add the appropriate LoadModule directives per the documentation
*** in docs/manual.html
*** If you have previously used 1.18 or lower then you must change
*** >LoadModule sql_log_module modules/mod_log_sql.so
***   to
*** >LoadModule log_sql_module modules/mod_log_sql.so
*** in your httpd.conf as the internal name of the module has changed.
*** 
*** Also read the documentation about using SSL support and new 
*** configuration directives.
*************************************************************************


-- 
Matthew Boeckman
Sr Systems Administrator
ServiceMagic
303 963 7889


More information about the Mod_log_sql mailing list