MySQL library initialization failed (on "init")

Thomas Klausner wiz at NetBSD.org
Sat Oct 3 17:16:27 UTC 2009


On Sat, Oct 03, 2009 at 11:15:05AM -0400, Jeff Mitchell wrote:
> Try running cmake with
> 
> -DCMAKE_CXX_FLAGS='-Wl,-R/usr/pkg/mysqld/lib/mysql'

Thanks. I've got lib/kde4/amarok_collection-mysqlecollection.so linked
against mysqlclient.so.16 now, and ldd is happily find all libraries
for that object.

However, I still see the same problem during startup.

amarok:             [PluginManager] Trying to load:  "amarok_collection-mysqlecollection"
amarok:             [PluginManager]
"            " PluginManager Service Info:
"            " ---------------------------
"            " name                          : "MySQLe Collection"
"            " library                       : "amarok_collection-mysqlecollection"
"            " desktopEntryPath              : "amarok_collection-mysqlecollection.desktop"
"            " X-KDE-Amarok-plugintype       : "collection"
"            " X-KDE-Amarok-name             : "mysqle-collection"
"            " X-KDE-Amarok-authors          : ("Maximilian Kossick")
"            " X-KDE-Amarok-rank             : "100"
"            " X-KDE-Amarok-version          : "1"
"            " X-KDE-Amarok-framework-version: "49"

amarok:             [CollectionManager] Initialising sqlcollection
amarok:             BEGIN: ScanManager::ScanManager(SqlCollection*)
amarok:             END__: ScanManager::ScanManager(SqlCollection*) - Took 7.9e-05s
amarok:             BEGIN: MySqlEmbeddedCollection::MySqlEmbeddedCollection(const QString&, const QString&)
amarok:                [ERROR!] MySQL library initialization failed.
amarok:                [ERROR!] GREPME MySQL query failed!   on  "init"
amarok:             END__: MySqlEmbeddedCollection::MySqlEmbeddedCollection(const QString&, const QString&) - Took 0.0051s

Further ideas how to track this down?
 Thomas



More information about the Amarok mailing list