pkgsrc pure-ftpd mysql option

Mark Cullen mark.r.cullen at gmail.com
Wed Jun 7 15:49:20 PDT 2006


joerg at xxxxxxxxxxxxxxxxx wrote:
On Wed, Jun 07, 2006 at 11:18:33PM +0100, Mark Cullen wrote:

   (cmd-sink) pop: conftest.c
   (cmd-sink) pop: -lmysqlclient
   (cmd-sink) pop: -lz
   (cmd-sink) pop: -lm
   (cmd-sink) pop: -lcrypt
   (cmd-sink) pop: -I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include
   (cmd-sink) pop: -L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib
<.> /usr/obj/pkgsrc/net/pure-ftpd/work/.gcc/bin/gcc -o conftest -O2 
-I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include/mysql 
-D_GNU_SOURCE=1 -I/usr/include/mysql 
-L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib/mysql 
-Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -L/usr/lib/mysql conftest.c 
-I/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/include 
-L/usr/obj/pkgsrc/net/pure-ftpd/work/.buildlink/lib -lmysqlclient -lz 
-lm -lcrypt


Hm. Command line is correct, I wonder why it can't find it. It is a
local problem since it works fine here... I'm too tired to think of a
solution right now.
Joerg
Really? The /usr/lib/mysql bit is correct? That directory doesn't exist 
:-S Does it work alright for you even with MySQL 4.1?

I shall leave you to sleep or whatever anyhow. Thanks for your help so far.





More information about the Users mailing list