473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

apache 2.0.58 and mod_auth_mysql 3.0.0 problem!

Hi!
Have a problem with mod_auth_mysql.
Compilation and installation of module done ok:

# /usr/local/apache/bin/apxs -c -L/usr/lib/mysql -I/usr/include/mysql
-lmysqlclient -lm -lz mod_auth_mysql.c
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic

-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-g -O2 -pthread -I/usr/local/apache/include
-I/usr/local/apache/include -I/usr/local/apache/include
-I/usr/include/mysql -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch

mod_auth_mysql.slo
/usr/local/apache/build/libtool --silent --mode=link gcc -o
mod_auth_mysql.la -L/usr/lib/mysql -lmysqlclient -lm -lz -rpath
/usr/local/apache/modules -module -avoid-version mod_auth_mysql.lo
# /usr/local/apache/bin/apxs -i mod_auth_mysql.la
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' mod_auth_mysql.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp mod_auth_mysql.la
/usr/local/apache/modules/
cp .libs/mod_auth_mysql.so /usr/local/apache/modules/mod_auth_mysql.so
cp .libs/mod_auth_mysql.lai /usr/local/apache/modules/mod_auth_mysql.la

cp .libs/mod_auth_mysql.a /usr/local/apache/modules/mod_auth_mysql.a
ranlib /usr/local/apache/modules/mod_auth_mysql.a
chmod 644 /usr/local/apache/modules/mod_auth_mysql.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/apache/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.
----------------------------------------------------------------------
chmod 755 /usr/local/apache/modules/mod_auth_mysql.so
but trying run server config test break with error:
# /usr/local/apache/bin/apachectl -t
Syntax error on line 239 of /usr/local/apache/conf/httpd2.conf:
Can't locate API module structure `auth_mysql_module' in file
/usr/local/apache/modules/mod_auth_mysql.so:
/usr/local/apache/lib/libapr-0.so.0: undefined symbol:
auth_mysql_module
What's wrong?

Oct 18 '06 #1
0 3758

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rossz | last post by:
I was forced to reboot my linux server (power outage) and now apache php won't deal with mysql. I've double and triple checked /etc/php4/apache/php.ini and the proper settings are there. If I...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
0
by: System | last post by:
Hello All, Redhat 9.0 Mysql 3.23.56 ==> Running I want to upgarde to 4.0.13 but this is the error it says: # rpm -Uvh MySQL-server-4.0.13-0.i386.rpm warning: MySQL-server-4.0.13-0.i386.rpm: V3...
1
by: neha | last post by:
hi, i m trying to integrate python with apache on linux.For this i m using mod_python. I dont see any problem with the versions of python,apache and mod_python i m using. the versions i m using...
19
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the...
2
by: Jose.Dr.G | last post by:
Hi, I've set up mod_auth_mysql to authenticate users to a mysql database. However, I would like to pass the credentials passed to the auth_mod_mysql module on to a php script. Is this possible?
3
by: madunix | last post by:
My Server is suffering bad lag (High Utlization) I am running on that server Oracle10g with apache_1.3.35/ php-4.4.2 Web visitors retrieve data from the web by php calls through oci cobnnection...
9
by: davids58 | last post by:
I installed Apache 2.2.3 per the instructions in the book I'm reading 'AJAX and PHP' by Darie et al. After installation, I confirmed that the server was working. I then installed MySQL and PHP....
0
rsrinivasan
by: rsrinivasan | last post by:
Hi All, When i run my JSP program, ihave the following exception. How i solve this problem? HTTP Status 500 - ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.