Error while packaging my game

Hello everyone , i am trying to package and lunch my game but whenever i try to package it , it gives me the following errors

UATHelper: Packaging (Windows): Building 2 actions with 2 processes…
UATHelper: Packaging (Windows): [1/2] Link MyProject3-Win64-Shipping.exe
UATHelper: Packaging (Windows): libblosc.lib(blosc.obj) : error LNK2005: pthread_cond_destroy already defined in mariadbclient.lib(my_pthread.obj)
UATHelper: Packaging (Windows): libblosc.lib(blosc.obj) : error LNK2005: pthread_cond_init already defined in mariadbclient.lib(my_pthread.obj)
UATHelper: Packaging (Windows): libblosc.lib(blosc.obj) : error LNK2005: pthread_cond_wait already defined in mariadbclient.lib(my_pthread.obj)
UATHelper: Packaging (Windows): Creating library E:\UnrealProjects\MyProject3\Binaries\Win64\MyProject3-Win64-Shipping.lib and object E:\UnrealProjects\MyProject3\Binaries\Win64\MyProject3-Win64-Shipping.exp
UATHelper: Packaging (Windows): E:\UnrealProjects\MyProject3\Binaries\Win64\MyProject3-Win64-Shipping.exe : fatal error LNK1169: one or more multiply defined symbols found
UATHelper: Packaging (Windows): [2/2] WriteMetadata MyProject3-Win64-Shipping.target cancelled
UATHelper: Packaging (Windows): Took 14.5871222s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\USER\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_5.1\UBT-MyProject3-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 17s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

This is my first game and my knowledge is very basic so i would appreciate the help

Hi! Im having the same issue when packaging the project. Have you discover something?

Here’s the error :

fatal error LNK1169: one or more multiply defined symbols found

To my limited knowledge, this usually means there are multiple variables/functions with the same name.

1 Like

The LNK2005 means that a symbol (class, module, etc.) was defined twice. By the message, it looks like that you included MariaDB twice to your project somehow.

Check if you don’t have MariaDB in 2 separated files/folders/paths, or maybe have a function/class with the same name as MariaDB.

1 Like