Hello Alisha!
Happy New Year!
On 01 Jan 2023, Alisha Stutz said the following...
AS> As i write months ago, this is the only way for modern Debian/Ubuntu to
AS> work with Cryptolib and Mystic BBS. Following my Steps and it works.
When I compiled/installed cryptlib 3.4.5 with gcc 10 on Debian 11, I used this
(sorry for any unintended linebreaks):
wget https://cryptlib-release.s3-ap-southeast-1.amazonaws.com/cryptlib345.zip
unzip -a cryptlib345.zip
# for gcc version 10 (existing logic incorrectly detect/interprets
# this as gcc 1.0)
sed -i 's/if \[ "$GCC_VER" -ge 45 \]/if [ "$GCC_VER" -eq 10 ] || [ "$GCC_VER"
-ge 45 ]/g' tools/ccopts.sh
make shared
ln -s libcl.so.* libcl.so
mkdir -p ~/cryptlib
/bin/cp -df libcl.so* ~/cryptlib/
...and then set LD_LIBRARY_PATH for Mystic (MIS) to ~/cryptlib, e.g.
/home/bbs/cryptlib.
Maybe the version detection ought to be removed altogether. I wonder how many
that are using gcc < 4.5 nowadays when compiling cryptlib...
Best regards
Björn
--- Mystic BBS v1.12 A48 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
|