List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:February 3 2004 1:17am
Subject:Re: problem building static DBD:Mysql
View as plain text  
Jie Gao wrote:

> I am using mysql-3.23.33 on sun-solaris2.7-sparc, statically compiled.
> 
> I tried to build DBD::mysql statically with the following:
> 
> /usr/bin/perl Makefile.PL --cflags="-I/usr/local/mysql/include"
> --libs='/usr/local/mysql/lib/libmysqlclient.a'
> 
> but got error message:
> 
>     Unrecognized argument in LIBS ignored: '/usr/local/mysql/lib/libmysqlclient.a'

Put the file libmysqlclient.a into a separate directory, say
/usr/local/mysql/lib-static. Then try

     --libs="-L/usr/local/mysql/lib-static -lmysqlclient"


Jochen

Thread
problem building static DBD:MysqlJie Gao3 Feb
  • Re: problem building static DBD:MysqlJochen Wiedmann3 Feb
    • Re: problem building static DBD:MysqlJie Gao3 Feb