diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-12-09 22:00:37 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-12-09 22:00:37 +0100 |
| commit | 8806c8ba8b9f8a34e666c30cc1139e55797a994d (patch) | |
| tree | cc11ee7c65c75e75df318b0643ebf48a92b12ac1 /src | |
| parent | 0df1e38ded3e0ee608c90959b63b82901ef2c423 (diff) | |
| download | box64-8806c8ba8b9f8a34e666c30cc1139e55797a994d.tar.gz box64-8806c8ba8b9f8a34e666c30cc1139e55797a994d.zip | |
Added lib64 to loaded libs in pressur-vessel emulation
Diffstat (limited to 'src')
| -rw-r--r-- | src/steam.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/steam.c b/src/steam.c index 2bbbe6cb..b221b54f 100644 --- a/src/steam.c +++ b/src/steam.c @@ -87,9 +87,11 @@ void pressure_vessel(int argc, const char** argv, int nextarg, const char* prog) if(system(tmp)<0) printf_log(LOG_INFO, "%s failed\n", tmp); snprintf(tmp, sizeof(tmp), "ldconfig -i -n %s/lib", sniper); if(system(tmp)<0) printf_log(LOG_INFO, "%s failed\n", tmp); + snprintf(tmp, sizeof(tmp), "ldconfig -i -n %s/lib64", sniper); + if(system(tmp)<0) printf_log(LOG_INFO, "%s failed\n", tmp); // setup LD_LIBRARY_PATH const char* ld = getenv("LD_LIBRARY_PATH"); - snprintf(tmp, sizeof(tmp), "%s/lib/x86_64-linux-gnu:%s/lib/i386-linux-gnu:%s/lib:%s", sniper, sniper, sniper, ld?ld:""); + snprintf(tmp, sizeof(tmp), "%s/lib/x86_64-linux-gnu:%s/lib/i386-linux-gnu:%s/lib:%s/lib64:%s", sniper, sniper, sniper, ld?ld:""); setenv("LD_LIBRARY_PATH", tmp, 1); printf_log(LOG_DEBUG, "setenv(%s, %s, 1)\n", "LD_LIBRARY_PATH", tmp); } |