[Fwd: Re: prepared statement and embedded server support on Dev-2_9CVS]

[Fwd: Re: prepared statement and embedded server support on Dev-2_9CVS]

am 14.09.2004 00:31:56 von Giuseppe Maxia

--------------080509020700060801070700
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

FYI.
Problem solved.

Cheers

gmax

--
____ ____ _____ _ _
/ _ | \(____ ( \ / )
( (_| | | | / ___ |) X (
\___ |_|_|_\_____(_/ \_)
(_____|
MySQL Certified Professional
Sapere, saper fare, fare, far sapere
http://gmax.oltrelinux.com


--------------080509020700060801070700
Content-Type: message/rfc822;
name="Re: prepared statement and embedded server support on Dev-2_9 CVS"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Re: prepared statement and embedded server support on Dev-2_9 CVS"

Message-ID: <41461DFA.4070702@cpan.org>
Date: Tue, 14 Sep 2004 00:23:54 +0200
From: Giuseppe Maxia
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3
X-Accept-Language: en
MIME-Version: 1.0
To: ranger@mysql.com
Subject: Re: prepared statement and embedded server support on Dev-2_9 CVS
References: <41461410.7050409@cpan.org> <20040913225712.GA8243@regul.home.lan>
In-Reply-To: <20040913225712.GA8243@regul.home.lan>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit



Alexey Stroganov wrote:
> Hi,
>
> On Mon, Sep 13, 2004 at 11:41:36PM +0200, Giuseppe Maxia wrote:
>
>>I am testing the DBD::mysql module as modified by Patrick Galbraith
>>(http://lists.mysql.com/perl/3166) but I am having problems getting the
>>embedded server to work.
>>
>>I am having the same problem with both MySQL 4.1.4 and 4.1.5. In both
>>cases I compiled the source.
>
>
> Could you provide information how you build DBD::mysql. I mean
> output of 'perl Makefile.PL ...'?



>
>
>>I can use the embedded server with a C program, but in Perl, using this
>>module, the embedded test fails at the very beginning with this error:
>>
>>install_driver(mysqlEmb) failed: Can't load
>>'/mypath/DBD-mysql/mysqlEmb/../blib/arch/auto/DBD/mysqlEmb /mysqlEmb.so'
>>for module DBD::mysqlEmb:
>>/mypath/DBD-mysql/mysqlEmb/../blib/arch/auto/DBD/mysqlEmb/ mysqlEmb.so:
>>undefined symbol: crc32 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
>
>
> It looks like you missed -lz during compilation.


Exactly!
I missed it because in the "libs" clause it was there, while in the
"embedded" clause it wasn't.

Now it works.
I wonder why mysql_config doesn't include "-lz" in its output for
--embedded.

Thanks.

All the best

gmax

--
____ ____ _____ _ _
/ _ | \(____ ( \ / )
( (_| | | | / ___ |) X (
\___ |_|_|_\_____(_/ \_)
(_____|
MySQL Certified Professional
Sapere, saper fare, fare, far sapere
http://gmax.oltrelinux.com



--------------080509020700060801070700
Content-Type: text/plain; charset=us-ascii

--
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
--------------080509020700060801070700--