mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
fix(server): add ld_library_path in start.sh (#13686)
add ld_library_path in start.sh
This commit is contained in:
parent
d455a547cc
commit
a93fda8e0d
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ echo "Initializing Immich $IMMICH_SOURCE_REF"
|
||||||
|
|
||||||
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
|
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
|
||||||
export LD_PRELOAD="$lib_path"
|
export LD_PRELOAD="$lib_path"
|
||||||
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jellyfin-ffmpeg/lib"
|
||||||
|
|
||||||
read_file_and_export() {
|
read_file_and_export() {
|
||||||
if [ -n "${!1}" ]; then
|
if [ -n "${!1}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue