title: Error 1127 in MySQL udf creation
body: <p>i am attempting to create a UDF for use in MySQL.  I have compiled the function using gcc and it works properly.  I then moved the .so file into my plugin directory and entered into the MySQL server.  I attempted to create the function using the following code:</p>
  
  <pre><code>CREATE FUNCTION mynew_udf RETURNS INT SONAME 'mynew_udf.so';
  </code></pre>
  
  <p>However, instead of creating the function as it should, the server outputs the following error:</p>
  
  <blockquote>
    <p>ERROR 1127 (HY000): Can't find symbol
    'mynew_udf' in library</p>
  </blockquote>
  
  <p>Does anyone know a solution for this or why this error would occur?  Thank you.</p>