On Fri, Apr 17, 2015 at 01:57:41PM +0100, Robert Chalmers wrote:
> There’s a break there somewhere, and I can’t find it.
> 
> make -f Makefile.init dynamicmaps=yes CCARGS='-DUSE_TLS -DHAS_PCRE 
> -I/opt/local/include -DHAS_MYSQL -I/usr/local/include/mysql’ 
> AUXLIBS='-L/opt/local/lib -lssl -lcrypto' AUXLIBS_PCRE='-L/opt/local/lib 
> -lpcre’ AUXLIBS_MYSQL='-L/usr/local/lib -mysqlclient -lz -lm’ makefiles
> 
> 
> 
> THIS one works.
> 
> make -f Makefile.init dynamicmaps=yes CCARGS='-DUSE_TLS -DHAS_PCRE 
> -I/opt/local/include' AUXLIBS='-L/opt/local/lib -lssl -lcrypto' 
> AUXLIBS_PCRE='-L/opt/local/lib -lpcre’ makefiles
> 
> THIS ONE doesn’t - trying to add mysql ...
> 
> make -f Makefile.init dynamicmaps=yes CCARGS='-DUSE_TLS -DHAS_PCRE 
> -I/opt/local/include -DHAS_MYSQL -I/usr/local/include/mysql’ 
> AUXLIBS='-L/opt/local/lib -lssl -lcrypto' AUXLIBS_PCRE='-L/opt/local/lib 
> -lpcre’ AUXLIBS_MYSQL='-L/usr/local/lib -mysqlclient -lz -lm’ makefiles
> 

Is "-mysqlclient" a valid option? I suspect you want "-lmysqlclient".

Attachment: signature.asc
Description: Digital signature

Reply via email to