Hi, i am trying to get libcod (with mysql) working on Arch Linux.
I am using mariadb as mysql server.
If you have got 64bit Arch. Then download the mysql client files from there. (delete libmysqlclient.so and libmysqlclient.so.18 and copy libmysqlclient.so.18.0.0 2 times and rename them as the 2 files you removed)
https://www.archlinux.org/packages/e...mariadbclient/
My startup line (no new lines otherwise the preloads are ignored)
Code:
LD_LIBRARY_PATH=/path/to/libs/:/path/to/libs/mysql LD_PRELOAD=/path/to/libs/libcod2_1_3.so ./cod2_lnxded +set dedicated "2" +exec server.cfg +map_rotate
But now after starting cod2 it crashes. I am using my own build from source. (also kung's build from 30 August crashes)
Error message from dmesg
Code:
[80191.481300] cod2_lnxded[6964]: segfault at 4 ip 00000000f770a37b sp 00000000ffae0820 error 4 in libcod2_1_3.so[f7702000+12000]