I coded a module that uses the mysql-api to do some querys.
After a while I figured out that I have to compile eggdrop and the modules static to get the module to work.
Before this I got the error "eggdrop: error while loading shared libraries: foo.so undefined symbol: mysql_init"
Is there a way to tell eggdrop where to find the .so that contains the mysql-functions, so I don't have to compile as static?
1. Install the mysql libraries in a place like /usr/lib and run /sbin/ldconfig so the system knows about them.
2. Wherever they are installed (say /home/you/lib), add that dir to your LD_LIBRARY_PATH before starting eggdrop. In .bash_profile for instance, do, export LD_LIBRARY_PATH=/home/you/lib