MySQL Forums
Forum List  »  General

How do I provide additional DLLs required by a UDF?
Posted by: Gareth Williams
Date: December 20, 2012 07:19AM

I am using MySQL 5.5.28 (32-bit) on windows 7.

I have got simple UDFs working using examples like udef_example.c

The problem is when I try to call functions in third-party DLLs from within my UDF. The DLL builds fine, linking with the external libraries. But it fails to load in MySQL with the error "The specified module could not be found".

Now, it can find my DLL itself which is in the lib/plugin directory. As long as my code does not refer to anything external it works fine. I guess it is not finding the third party DLLs. I have read they just go in the plugin directory alongside my DLL. But that is not working. What else do I need to do? Thanks for any help.

(PS I tried to post my exact sql command and error message but that was rejected by the forum as an attempted hack!)

Options: ReplyQuote


Subject
Written By
Posted
How do I provide additional DLLs required by a UDF?
December 20, 2012 07:19AM


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.