You'll need to install dependencies before running the server:
Code: Select all
$ pkg install sdl sqlite3 openssl
Moderator: Developers
Code: Select all
$ pkg install sdl sqlite3 openssl
Try my unofficial Linux builds or build it yourself and checkout commit 4f775b509b10.Avi wrote:Out of curiosity, when will the Ubuntu builds be available? (or is there a code repository out there I should know about?)
Hello, I want to test Zandronum 3 Alpha, however, I have a couple of inquiries.
NoYrvyne wrote: 1.) I installed Zandronum 2.1.2 through the drdteam multiverse repository. Will the quoted downloads conflict with my install?
Yrvyne wrote: 2.) If yes, what procedure can I execute to test the new alpha without replacing/touching 2.1.2?
Code: Select all
wget https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/linux/betas/zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
tar xf zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
chmod +x zandronum
./zandronum
Did not work.wget https://csnxs.uk/archive/id/doom/source ... 010.tar.gz
tar xf zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
chmod +x zandronum
./zandronum
Code: Select all
blc@blc:~$ wget https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/linux/betas/zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
--2016-09-07 19:25:48-- https://csnxs.uk/archive/id/doom/sourceports/zandronum/builds/linux/betas/zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
Resolving csnxs.uk (csnxs.uk)... 85.159.210.120, 2a01:7e00::f03c:91ff:fe55:1310
Connecting to csnxs.uk (csnxs.uk)|85.159.210.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9377565 (8.9M) [application/octet-stream]
Saving to: ‘zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz’
zandronum-linux-x86_64-3.0-alpha-1608 100%[========================================================================>] 8.94M 1.38MB/s in 7.0s
2016-09-07 19:25:56 (1.28 MB/s) - ‘zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz’ saved [9377565/9377565]
blc@blc:~$ tar xf zandronum-linux-x86_64-3.0-alpha-160814-2010.tar.gz
blc@blc:~$ chmod +x zandronum
blc@blc:~$ ./zandronum
./zandronum: error while loading shared libraries: libfmodex64-4.24.16.so: cannot open shared object file: No such file or directory
blc@blc:~$
Code: Select all
root@blc:~/zandronum-linux-x86_64-3.0-alpha-160814-2010# ./zandronum
./zandronum: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
You need to only install libssl1.0.2:Yrvyne wrote:Further research (here and here) points to the following package: libssl1.0.2 which in terminal gives me the following output: [spoiler]blc@blc:~$ sudo apt install libssl*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libssl-ocaml-4e458' for glob 'libssl*'
Note, selecting 'libssl-ocaml-dev-4e458' for glob 'libssl*'
Note, selecting 'libssl-ocaml' for glob 'libssl*'
Note, selecting 'libsslcommon2-dev' for glob 'libssl*'
Note, selecting 'libsslcommon2' for glob 'libssl*'
Note, selecting 'libssl1.0.2-dbg' for glob 'libssl*'
Note, selecting 'libssl1.0.0-dbg' for glob 'libssl*'
Note, selecting 'libssl-ocaml-dev' for glob 'libssl*'
Note, selecting 'libssl-ocaml-d7j01:i386' for glob 'libssl*'
Note, selecting 'libssl-dev' for glob 'libssl*'
Note, selecting 'libssl0.9.8-dbg' for glob 'libssl*'
Note, selecting 'libssl-doc' for glob 'libssl*'
Note, selecting 'libssl0.9.8' for glob 'libssl*'
Note, selecting 'libssl-ocaml-dev-d7j01:i386' for glob 'libssl*'
Note, selecting 'libssl1.0.2-dbgsym' for glob 'libssl*'
Note, selecting 'libssl1.0.0' for glob 'libssl*'
Note, selecting 'libssl1.0.2' for glob 'libssl*'
Note, selecting 'libssl-ocaml-dev' instead of 'libssl-ocaml-dev-4e458'
Note, selecting 'libssl-ocaml' instead of 'libssl-ocaml-4e458'
Note, selecting 'libssl-ocaml-dev:i386' instead of 'libssl-ocaml-dev-d7j01:i386'
Note, selecting 'libssl-ocaml:i386' instead of 'libssl-ocaml-d7j01:i386'
libssl-dev is already the newest version (1.0.2g-1ubuntu8).
libssl-doc is already the newest version (1.0.2g-1ubuntu8).
libssl-doc set to manually installed.
libssl1.0.0 is already the newest version (1.0.2g-1ubuntu8).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-ocaml : Depends: ocaml-base-nox-4.02.3
Conflicts: libssl-ocaml:i386 but 0.5.2-1 is to be installed
libssl-ocaml:i386 : Conflicts: libssl-ocaml but 0.5.2-1 is to be installed
libssl-ocaml-dev : Depends: ocaml-nox-4.02.3
Recommends: ocaml-findlib but it is not going to be installed
Conflicts: libssl-ocaml-dev:i386 but 0.5.2-1 is to be installed
libssl-ocaml-dev:i386 : Depends: ocaml-nox-4.02.3:i386
Conflicts: libssl-ocaml-dev but 0.5.2-1 is to be installed
E: Unable to correct problems, you have held broken packages.[/spoiler]
So, please, correct me if I'm wrong but do I require all those packages to run the Linux builds?
Thanks.
Code: Select all
sudo apt-get install libssl1.0.2
Code: Select all
sudo apt install libssl*
Yes, you are, in fact, correct. I absent-mindedly neglected to mention that I was forced to type the asterisk because of this output:skyrimguy wrote: you are telling apt to match and install any package whose name begins with libssl. An asterisk (*) matches any string, of any length.
Code: Select all
blc@blc:~$ sudo apt-get install libssl1.0.2
[sudo] password for blc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl1.0.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.0.2' has no installation candidate
It may be easier to compile Zandronum yourself. This way it will just use the lib versions you have, so that you don't have to try to install lib versions compatible with the precompiled binary. https://wiki.zandronum.com/Compiling_Zandronum_on_LinuxYrvyne wrote: Anything else, I can do?
Did that using the following script. This is simply a copy'n'paste of the required parts as per the provided link.Torr Samaho wrote:It may be easier to compile Zandronum yourself.
Your compiler is too new ;). I backported the ZDoom fix for the only compiler error shown in your log. Please update your clone and try again.Yrvyne wrote: The following is the resultant log.
Yes, please.Yrvyne wrote:Too new for my own good I see! Well, I ran the script again and had still a whole log of similar stuff as before. Shall I post it?
GCC 6.2.0, the compiler you are using, was released less than a month ago. Nobody adapted Zandronum's source to it yet. This is a good opportunity to adapt the source though, so you don't need to switch to a different compiler. We'll just have to go through the errors and fix them.Yrvyne wrote:Any hint on where I am going wrong?
To fix your GCC 6.2.0 compile problem I transplanted a ZDoom fix from 2015-03-08, that's why your build number differs. Even though the date string suggests otherwise, your version is actually newer than 160814-2010.Yrvyne wrote: One thing: the build numbers are different - this thread title says 160814-2010 but the img title is 150308-2221.
Compiling from source does not delete previously installed versions. Your script also installs the compiled binaries, overwriting what is already installed.Yrvyne wrote: Also, I did not imagine that compiling from source, would erase version 2.1.2. I should have probably used different directories, oh, well, I'll stick with this alpha and test it with Project Brutality since this was my intention in the first place.
My reasoning for the Installation script was that compiling might not have been enough because I was observing the log having such output as [100%] Generating ../zandronum.pk3 and the wiki explanation saying Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex64-4.24.16.so or libfmodex-4.24.16.so to /usr/games/zandronum.Torr Samaho wrote:Your script also installs the compiled binaries, overwriting what is already installed.