08.09.2007, 17:29
Quote:
Originally Posted by visagalis
i get same error:
[21:34] Server Plugins [21:34] -------------- [21:34] Loading plugin: sampmysql.so [21:34] Failed (libmysqlclient.so.15: cannot open shared object file: No such file or directory) [21:34] Loaded 0 plugins. used: Код:
gcc -shared -W1,-soname,sampmysql -o sampmysql.so *.o -L/usr/local/mysql/5.0.45/lib/mysql -lmysqlclient |
The link must pointing the "libmysqlclient.so" located in your "/usr/local/mysql/5.0.45/lib/mysql" folder.
I think it's a problem similar to the one under windows when you don't put "libmysql.dll" in the correct location.