exporting LD_LIBRARY_PATH doesn't work and I can't static compile it.
Eggdrop version 1.6.15
MySQL version 3.23.51
The error message wrote:relocation error: /home/eggdrop/modules/mystats.so: undefined symbol: mysql_init
MySQL libs wrote:mysql_config --libs
-static -L'/usr/local/mysql/lib' -lmysqlclient -lz -lcrypt -lnsl -lm
MySQL incs wrote:mysql_config --cflags
-I'/usr/local/mysql/include'
Contens libs dir wrote:/usr/local/mysql/lib$ ls
libdbug.a libmygcc.a libmysqlclient.a libmystrings.a libmysys.a
Can anybody tell me what I'm doing wrong or what I'm missing?Contens incs dir wrote:/usr/local/mysql/include$ ls
config-os2.h getopt.h merge.h my_global.h my_sys.h mysql_com.h raid.h thr_alarm.h
config-win.h global.h my_alarm.h my_list.h my_tree.h mysql_version.h sslopt-case.h thr_lock.h
config.h hash.h my_base.h my_net.h myisam.h mysqld_error.h sslopt-longopts.h violite.h
dbug.h heap.h my_bitmap.h my_no_pthread.h myisammrg.h mysys_err.h sslopt-usage.h
errmsg.h m_ctype.h my_config.h my_nosys.h myisampack.h nisam.h sslopt-vars.h
ft_global.h m_string.h my_dir.h my_pthread.h mysql.h queues.h t_ctype.h
TIA,
GIR