Troubleshooting
At this page we will adress common errors/issues while working with TrinityCore.
If your issue is not listed, you may check out our social media channels to get support.
Error/Issue
dyld: Library not loaded: libmysqlclient.XX.dylib
Tabs
Issue
Under macOS if you try to run the core and get the following error:
dyld: Library not loaded: libmysqlclient.18.dylib
Referenced from: /your/path/to/bin/./worldserver
Reason: image not found
Trace/BPT trap: 5This means it is looking for libmysqlclient.18.dylib file under /usr/lib/ folder but that file is not there.
Solution
The solution is to locate that file and create a symbolic link under /usr/lib/ by typing:
sudo ln -s /path/to/your/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylibFor example:
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylibApplication Error: 0xc000007b
Tabs
Issue
The following error appears when launching worldserver.exe, authserver.exe or bnetserver.exe:
Application Error
The application was unable to start correctly (0xc000007b). Click OK to close the application.Solution1
This error usually happens when mixing 32 bit and 64 bit DLLs.
It means that if you compiled TC in 32 bits mode (CMake option selected was "Visual Studio 12 2013") you will need the required DLLs in 32 bits as well. If you compiled TC in 64 bits mode (Cmake option selected was "Visual Studio 12 2013 Win64") you need all the DLLs in 64 bits mode.
- Make sure that the DLLs: libeay32.dll, libmysql.dll, ssleay32.dll and libzmq-v120-mt-X_X_X.dll match the compile mode you selected. a. Unsure if a .dll is 32 bits or 64 bits? See How to tell if .dll is 32 bits or 64 bits?. b. Download links to all these dependencies are available in the page Requirements.
Solution2
This error always occurs when you run 32bit applications on a 64bit operating system, never on 32bit operating systems.
- Install the corresponding / matching 32bit (x86) Visual C++ Runtime distributable, vcredist_x86.exe to solve the issue.
src\common\Cryptography\ARC4.cpp:31 in Trinity::Crypto::ARC4::ARC4 ASSERTION FAILED: result == 1
Tabs
Issue
The following error appears when trying to login:
...src\common\Cryptography\ARC4.cpp:31 in Trinity::Crypto::ARC4::ARC4 ASSERTION FAILED:
result == 1Solution
Your core has been compiled with OpenSSL 3.x. Therefor it requires legacy.dll. As written in the Windows Installation guide you forgot to copy the legacy.dll from openssl to your core folder.
Copy your openssl legacy.dll to your core folder
