Re: mod_auth_mysql link problems

2003-08-22 Thread Reini Urban
Bill McCormick schrieb: Directory /var/www/htdocs/*/admin Directory ~ /var/www/htdocs/*/admin -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: mod_auth_mysql link problems

2003-08-22 Thread Bill McCormick
Directory /var/www/htdocs/*/admin Directory ~ /var/www/htdocs/*/admin Maybe you could be a little more forthright? You're saying that using the directive in this form will allow me to NOT have use a .htaccess file? Thanks, Bill --- Outgoing mail is certified Virus Free. Checked by AVG

Re: mod_auth_mysql : HELP!!!

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as zlib is a dependency, AFAIK). [...] my_compress.c: undefined reference to `_uncompress' Still no joy :O Looks better with libz.a at the end like in your previous mail, or did you removed errors

RE: mod_auth_mysql (2nd request)

2003-08-21 Thread Bill McCormick
Thanks Stipe: [snip] Auth_MySQL_Info host user password Auth_MySQL_Encryption_Types Plaintext, Crypt_DES, MySQL Directory /var/www/htdocs/*/admin AuthType Basic AuthName Password Required Auth_MySQL_DB * Auth_MySQL_Password_Table http_auth

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
Hmm, which version of mysql are you using, and is there any version recommended for httpd? I'm not sure ... to both questions. I can't (quickly) locate the ver number in the source. BTW, I'm *running* the Win32 and *using* the Linux source (fresh d/l) to link against. $ nm libmysqlclient.a

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: Hmm, which version of mysql are you using, and is there any version recommended for httpd? I'm not sure ... to both questions. I can't (quickly) locate the ver number in the source. BTW, I'm *running* the Win32 and *using* the Linux source (fresh d/l) to link against. $ nm

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
$ nm libmysqlclient.a | grep _mysql_connect 2db0 T _mysql_connect This is version 3.23.43 In version 4.1.0-alpha I just find: $ nm libmysqlclient.a | grep connect T _mysql_real_connect T _mysql_manager_connect T _my_connect I downloaded the 4.0 production

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: $ nm libmysqlclient.a | grep _mysql_connect 2db0 T _mysql_connect This is version 3.23.43 In version 4.1.0-alpha I just find: $ nm libmysqlclient.a | grep connect T _mysql_real_connect T _mysql_manager_connect T _my_connect I downloaded

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
It is in the binutils package like ld, should be available for every platform, I don't know if this has s.th. to do with POSIX, but it is not Right, I found it (obviously) I guess what I meant to say was: I don't see this command in Linux (that is - it's not listed in the index of my Linux

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: It is in the binutils package like ld, should be available for every platform, I don't know if this has s.th. to do with POSIX, but it is not Right, I found it (obviously) I guess what I meant to say was: I don't see this command in Linux (that is - it's not listed in the

Re: mod_auth_mysql

2003-08-20 Thread Gerrit P. Haase
Hello Bill, You need a mysql client library to link against. _compress is probably in zlib. Sorry Gerrit, I said binaries and meant src (above). I see no zlib nor find no zlib*. zlib is the canonical name of the zlib package / project, the library is called cygz.dll and the archive libz.a

Re: mod_auth_mysql

2003-08-20 Thread Elfyn McBratney
Bill McCormick [EMAIL PROTECTED] wrote: You need to link against zlib. gcc -I/usr/local/mysql/include/mysql -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/auth_mysql/libauth_mysql.a main/libmain.a

RE: mod_auth_mysql : HELP!!!

2003-08-20 Thread Bill McCormick
Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as zlib is a dependency, AFAIK). gcc -I/usr/local/mysql/include/mysql -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a

RE: mod_auth_mysql

2003-08-19 Thread Bill McCormick
So I went ahead and tried to rebuild Apache (the build on mod_auth_mysql) said that I needed to. I'm stuck here: modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth _mysql.c: undefined reference to `_mysql_connect'

RE: mod_auth_mysql (2nd request)

2003-08-19 Thread Bill McCormick
So I went ahead and tried to rebuild Apache (the build on mod_auth_mysql) said that I needed to. I'm stuck here: modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth _mysql.c: undefined reference to `_mysql_connect'