1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(server): add ld_library_path in start.sh (#13686)

add ld_library_path in start.sh
This commit is contained in:
Mert 2024-10-22 18:41:59 -04:00 committed by GitHub
parent d455a547cc
commit a93fda8e0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ echo "Initializing Immich $IMMICH_SOURCE_REF"
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
export LD_PRELOAD="$lib_path"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib"
read_file_and_export() {
if [ -n "${!1}" ]; then