INSTALL PLUGIN says "cannot load specified object"

12 views
Skip to first unread message

qwerty

unread,
Oct 12, 2009, 9:33:27 PM10/12/09
to Q4M - a Message Queue for MySQL
Hey there,

I successfully compiled Q4M (0.8.8) for MySQL 5.1.38, but when trying
to load the library using:

INSTALL PLUGIN queue SONAME 'libqueue_engine.so';

it returns:

ERROR 1126 (HY000): Can't open shared library '/usr/local/lib/mysql/
plugin/libqueue_engine.so' (errno: 13 Cannot load specified object)

To rule out issues w/ permissions, I've chmod'ed the file to 777 and
made sure I could read the file as the mysqld user. So for whatever
reason MySQL sees the file, but can't process it.

I'd appreciate any help in resolving the issue.

Thanks

Kazuho Oku

unread,
Oct 13, 2009, 3:54:40 AM10/13/09
to q4m-g...@googlegroups.com
Hi,

Are you using linux? If so, errno=13 stands for "permission denied."

Would you please check the permissions once more? It might be one of
the directories (e.g. "/usr/local/lib/mysql") that do not have
appropriate permissions (denying access by the mysqld user).

2009/10/13 qwerty <sur...@gmail.com>:
--
Kazuho Oku

qwerty

unread,
Oct 15, 2009, 3:13:33 AM10/15/09
to Q4M - a Message Queue for MySQL
I'm running it on OpenBSD, and I can open all files in /usr/local/lib/
mysql as the mysqld user. If the permissions are 000 on the file it
gives me a different error (still 13, just different message). That
makes me wonder whether there's something OpenBSD specific that's
causing problems. I'm going to try recompiling MySQL w/ some different
options and see whether that fixes the issue.
Reply all
Reply to author
Forward
0 new messages