This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mod_auth_mysql


Bill McCormick <wpmccormick@covad.net> 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 ./os/cygwin/libos.a
> ap/libap.a
> regex/libregex.a   -L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt   -lcr
> ypt -lgdbm -lexpat -lz
>[...]

Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as
zlib is a dependency, AFAIK).

-- Elfyn

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]