Jump to content

Problem with compiled game/database on FreeBSD 12


Recommended Posts

Hello,
since few days i have a problem.
I switched from Freebsd 11.2 to -> 12.3.

The game/db are compileable without problems. (All packages are also installed)
currently installed mariadb103 but also tried with mysql56 and no change was seen.

Problem

When i use the game/database which compiled on the FreeBSD 11 server everything works fine without problems.
But when i use the game/database which compiled on the new FreeBSD server 12.3 the game doesnt start and only a core file will generated which contain the following content (Look below for the gdb output).

 gdb-output (database)

Type "apropos word" to search for commands related to "word"...
Reading symbols from /game/share/database...

warning: exec file is newer than core file.
[New LWP 100276]
Core was generated by `/home/game/database/database'.
Program terminated with signal SIGSEGV, Segmentation fault.
Address not mapped to object.
#0  0xad18e6df in ?? ()
(gdb) bt full
#0  0xad18e6df in ?? ()
No symbol table info available.
(gdb)

 

Problem solved

 Information
1. You need FreeBSD 32 Bit Server (After that you can use the static libs on FreeBSD 64BIT with "CFLAGS += -m32" option to compile as 32BIT)
2. Install devil/cryptopp via pkg or through the ports
3. Compile the devil/cryptopp libs & copy them to your extern folder (libIL / libILU / cryptopp .a)
I had some problems with cryptopp which installed trough pkg. You can also download Cryptopp manually and use "gmake -libcryptopp.a"
4. Add if missed to db/src/makefile

# OpenSSL
LIBS += -lssl -lcrypto

5. Compile libgame/liblua/libpoly/libserverkey/libsql/libthecore and after that game & db
enjoy

Edited by Peaky
Problem fixed, information for the next one
  • Metin2 Dev 1
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.