MantisBT - Zandronum
View Issue Details
0004235Zandronum[All Projects] Bugpublic2024-04-20 13:542024-04-21 13:11
Zom-B 
 
urgentblockalways
newopen 
x86-64Linux Mint22.04
3.2 
 
0004235: 3.2-240414-1910 can't start (existing library not found)
I downloaded and extracted `ZandroDev3.2-240414-1910linux-x86_64.tar.bz2`

When I try to start it, it can't find a library. A file with the same name exists in the same directory.

```
zom-b@zomb-pc-2020:~/Apps/zandronum$ ./zandronum
./zandronum: error while loading shared libraries: libfmodex64-4.44.64.so: cannot open shared object file: No such file or directory
```

The file it can't find is right there:

```
zom-b@zomb-pc-2020:~/Apps/zandronum$ ll
total 23540
drwxrwxr-x 2 zom-b zom-b 4096 Apr 20 15:39 ./
drwxr-xr-x 39 zom-b zom-b 4096 Apr 20 15:39 ../
-rwxr-xr-x 1 zom-b zom-b 1491584 Apr 15 00:03 libfmodex64-4.44.64.so*
-rwxr-xr-x 1 zom-b zom-b 29512 Apr 15 00:03 liboutput_sdl.so*
-rw-r--r-- 1 zom-b zom-b 57280 Apr 15 00:03 skulltag_actors.pk3
-rwxr-xr-x 1 zom-b zom-b 9788528 Apr 15 00:03 zandronum*
-rw-r--r-- 1 zom-b zom-b 884844 Apr 15 00:03 zandronum.pk3
-rwxr-xr-x 1 zom-b zom-b 11829848 Apr 15 00:03 zandronum-server*
```
Found via'https://zandronum.com/forum/viewtopic.php?f=55&t=11172 [^]'
No tags attached.
Issue History
2024-04-20 13:54Zom-BNew Issue
2024-04-20 15:36DrinkyBirdNote Added: 0023628
2024-04-20 15:36DrinkyBirdNote Edited: 0023628bug_revision_view_page.php?bugnote_id=23628#r14171
2024-04-20 19:50Zom-BNote Added: 0023629
2024-04-20 19:51Zom-BNote Edited: 0023629bug_revision_view_page.php?bugnote_id=23629#r14173
2024-04-21 12:54dukeNote Added: 0023630
2024-04-21 13:11Zom-BNote Added: 0023631

Notes
(0023628)
DrinkyBird   
2024-04-20 15:36   
Use as a workaround:

LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH ./zandronum


The actual fix to this issue is to compile with CMAKE_BUILD_RPATH_USE_ORIGIN=ON.

(0023629)
Zom-B   
2024-04-20 19:50   
(edited on: 2024-04-20 19:51)
With this the situation shifted to another lib it can't find.


zom-b@zomb-pc-2020:~/Apps/zandronum$ ./zandronum
./zandronum: error while loading shared libraries: libfmodex64-4.44.64.so: cannot open shared object file: No such file or directory
zom-b@zomb-pc-2020:~/Apps/zandronum$ LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH ./zandronum
./zandronum: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory


Besides, is it even possible to use this construct in DoomSeeker?

How do I set <a variable>=ON while compiling? I don't see a menuconfig option. That aside, I can compile, then run just fine.

Why does it appear that the Mercurial server is 4 days behind? The tip compiles to 20240410 whereas I need 20240414 to join to updated servers.

Can I not edit the bug 'description'?

(0023630)
duke   
2024-04-21 12:54   
To use LD_LIBRARY_PATH with Doomseeker you can run Doomseeker itself with the LD_LIBRARY_PATH you want. Then when Doomseeker launches Zandronum it will use the same LD_LIBRARY_PATH.

For 240414-1910 you'll want to compile this revision:
'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/fdf5f68843a5adfd823d5533381d1d8771759de0 [^]'

You can get it by doing `hg checkout fdf5f68843a5` and then compile.
(0023631)
Zom-B   
2024-04-21 13:11   
It was a wild ride from wondering why hg says that revision doesn't exist to finding out Zandronum entirely moved repositories.
Thanks for the of-topic help.