FAQ/SQL

From the makers of InspIRCd.
Jump to: navigation, search

SQL

When starting with m_mysql on FreeBSD i get undefined symbol errors

If you get the following error:

[*] There was an error loading the module 'm_mysql.so': Loader/Linker error: /usr/home/smokin/inspircd/modules/m_mysql.so: Undefined symbol "pthread_attr_init"

You need to ensure that InspIRCd is starting up linked to the threaded libc. Try this before starting InspIRCd:

export LD_PRELOAD=/usr/lib/libc_r.so