Tim Wuyts writes:
> All,
> 
> I'm trying to use the UDF functionality, but I keep getting the same error
> when I issue the CREATE FUNCTION command.
> This is the error:
> 
> mysql> CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME "udf_example.so";
> ERROR 1126: Can't open shared library 'udf_example.so' (errno: 0 ld.so.1:
> /usr/local/mysql/libexec/mysqld: fatal: relocation erro)
> 

[skip]

> udf_example.so exists in /usr/lib
> 
> 
> I've seen a few posts on the net with a similar description of the problem,
> but never a solution :-(
> 
> does anyone have a clue how to resolve this issue?
> 
> 
> Thanks,
> Tim
> 
> 
> Tim Wuyts
> Software Engineer
> EUnet Systems
> KPN Belgium

Hi!

Probably unresolved symbol from some library.

Run ldd on shared lib and see what is missing. Most probably
libmysqlclient.so...

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to