Bug #45488 Error installing ha_federated: (errno: 22 undefined symbol: dynstr_append_mem)
Submitted: 14 Jun 2009 21:32 Modified: 15 Jun 2009 7:44
Reporter: Roland Bouman Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Federated storage engine Severity:S2 (Serious)
Version:5.4 beta OS:Linux (Ubuntu 9.04)
Assigned to: CPU Architecture:Any

[14 Jun 2009 21:32] Roland Bouman
Description:
After compiling 5.4, I can't install the federated plugin. The error occurrs on INSTALL plugin and the complaint is that the symbol dynstr_append_mem is not found

How to repeat:
./configure --prefix=somedir

(no other config options, install db using mysql_install_db as usual)

finally, after installing:

mysql> install plugin federated soname 'ha_federated.so';
ERROR 1126 (HY000): Can't open shared library '/home/roland/mysql-builds/mysql-5.4.0-beta/lib/mysql/plugin/ha_federated.so' (errno: 22 undefined symbol: dynstr_append_mem)

(I can install ha_innodb.so and ha_archive.so without any issues.)

Suggested fix:
Please make federated work.
[15 Jun 2009 6:30] Giuseppe Maxia
I compiled 5.4.1 (latest sources from Launchpad (rev 2851), using the following script, as usual:

#! /bin/sh
path=`dirname $0`
. "$path/SETUP.sh"
extra_flags=" $fast_cflags $max_cflags -g"
extra_configs=" $max_no_ndb_configs"
. "$path/FINISH.sh"

Federated installs without problems.
Can you provide more detail on your operating system and source version?
[15 Jun 2009 6:37] Sveta Smirnova
This is duplicate of bug #40942
[15 Jun 2009 7:44] Roland Bouman
Hi Giuseppe,

I'm using a fresh ubuntu 9.04 and the tar.gz source download from http://dev.mysql.com/downloads/mysql/5.4.html

HTH, 

roland
(Sorry for not supplying that info right away)