MySQL Forums
Forum List  »  Source, Builds, Binaries

Explaination of ERROR 1126 (HY000): Can't open shared library
Posted by: John Dunne
Date: January 12, 2010 05:41AM

Hi,

I'm trying to understand why I'm getting the following error from mysql

ERROR 1126 (HY000): Can't open shared library 'distance.so' (errno: 22 /usr/lib/mysql/plugin/distance.so: failed to map segment from shared object: Permission denied)

when i try to add a UDF usign the following command

CREATE FUNCTION distance RETURNS INTEGER soname "distance.so";

Can anyone offer advise as to what may be causing this error? The file ownership and permissions aren't the cause, file is owned by mysql and full executable/write/read have been tried.

Thanks in advance for any help!

Options: ReplyQuote


Subject
Views
Written By
Posted
Explaination of ERROR 1126 (HY000): Can't open shared library
15229
January 12, 2010 05:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.