problem building static DBD:Mysql
problem building static DBD:Mysql
am 03.02.2004 01:51:36 von Jie Gao
Hi All,
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'
Any solutions?
Thanks,
Jie
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org
Re: problem building static DBD:Mysql
am 03.02.2004 02:17:02 von Jochen Wiedmann
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
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org
Re: problem building static DBD:Mysql
am 03.02.2004 02:17:02 von Jochen Wiedmann
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
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org
Re: problem building static DBD:Mysql
am 03.02.2004 05:25:42 von Jie Gao
On Tue, 3 Feb 2004, Jochen Wiedmann wrote:
> Date: Tue, 03 Feb 2004 02:17:02 +0100
> From: Jochen Wiedmann
> To: Jie Gao
> Cc: perl@lists.mysql.com
> Subject: Re: problem building static DBD:Mysql
>
> 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"
That did it.
Thanks a lot!
Jie
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org
Re: problem building static DBD:Mysql
am 03.02.2004 05:25:42 von Jie Gao
On Tue, 3 Feb 2004, Jochen Wiedmann wrote:
> Date: Tue, 03 Feb 2004 02:17:02 +0100
> From: Jochen Wiedmann
> To: Jie Gao
> Cc: perl@lists.mysql.com
> Subject: Re: problem building static DBD:Mysql
>
> 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"
That did it.
Thanks a lot!
Jie
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org