can"t seem to statically link DBD-mysql against libmysqlclient.a

can"t seem to statically link DBD-mysql against libmysqlclient.a

am 04.07.2002 00:58:26 von jason

howdy

I'm using DBD-mysql-2.1011, perl 5.005_003 (same problem on 5.6)

here's my command line:

perl Makefile.PL LIB=/opt/foo PREFIX=/opt/foo "--libs=../pathto/libmysqlclient.a -lz -lnsl -lcrypt -lm" "--cflags=-I../pathto/include -I../pathto/otherinclude"

and it tells me this:

....

cflags (Users choice) = -I../pathto/include -I../pathto/otherinclude
libs (Users choice) = ../pathto/libmysqlclient.a -lz -lnsl -lcrypt -lm
nocatchstderr (default ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

....

Unrecognized argument in LIBS ignored: './pathto/libmysqlclient.a'


I've also tried absolute paths, no luck. What am I missing?

--
Jason Burnett
jason@jnj.org
~ No witty signature available at this time ~

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1845@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.