Hi, Nihal!
On Mar 02, Nihal Dindar wrote:
> Hi,
>
> I guess I solved the problem with safe malloc but this time I have a
> problem with DBG_ON. Although I have
> INCLUDES = -DMYSQL_DYNAMIC_PLUGIN -DDBUG_ON -DSAFE_MUTEX
> -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC
> -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX $(MYSQL_INC)
> in the Makefile.am of my custom engine and I know that mysql runs in
> debugging mode, I have this error:
>
> Can't open shared library '/.../mysql_debug/lib/mysql/libStream_engine.so'
> (errno: 22 undefined symbol: _db_pargs_)
>
> How can I check where the problem is?
This is the opposite problem.
_db_pargs_ is only used (and defined) if DBUG_OFF is not defined.
The error means that the plugin uses _db_pargs_, but the server doesn't
provide it - which means, the server is compiled without dbug.
Regards / Mit vielen Grüßen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect
/_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028
<___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Häring