Hi,
I can't use the latest K because it needs libc 2.25 and Debian (9.5) only has 2.24 on board.
"./K: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ./K)"
Would it be possible to downgrade K so it will run again on Debian 9.5.
Thanks!
moriing'''
i can consider to downgrade sure but first i will like to try to keep the latest; it will take me a few days; meanwhile you can also consider https://linuxconfig.org/how-to-upgrade-debian-9-stretch-to-debian-10-buster in case you dont wanna wait for me (the upgrade takes a few minutes)
many thanks for the reprot'''
Hm, ok I like running "stable" OS and not "testing" ;-)
(deb10 stable is planned for autumn 2019)
Same error on ubuntu 16.04
ubuntu 18.04 should work fine and is already released (in other words, lets say ubuntu 16.04 is not supported anymore)
see https://packages.ubuntu.com/bionic/libc-bin and https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes
Still getting the error after updating to the most recent release.
./app/server/K: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by ./app/server/K)
K crashed with exit code 1.. Respawning..
Debian 9.5
i really recommend you to upgrade your OS (https://linuxconfig.org/how-to-upgrade-debian-9-stretch-to-debian-10-buster)
im not friend of downgrades and im afraid it will take me many days to do if i ever do :S
by now, all is nice less than calls to getaddrinfo and gethostbyname_r; if i can replace this functions the app will run fine on older OS, but replace this 2 functions is a big effort, and maybe also a useless effort (on every new day 2.25 is more deprecated) :S
to replace this functions the plan is to use https://github.com/c-ares/c-ares; libcurl works nice with it, but still is not in use by libuWS and libquickfix :(
that's sad :-(
Since I want my server to remain "stable", I will upgrade to deb10 next autumn (when it's stable)...so it means 1 year no K upgrade for me :-(
i understand your situation and i will try to provide a fix or a final statement asap, but i need to say meanwhile that debian is not ubuntu or macos or windows; debian testing is far more trusted than whatever ubuntu or macos or windows stable version out there, anyway, let me try some fix on next days :dancer: (i hope for a fix instead of downgrade yet, maybe ina week the plan changes to just downgrade if this error refuses to be fixed; but then i will be sad if c++11 is back xD)
Hi Carles,
I'm against downgrades by philosophy as well, but my deal with Amazon prevents me from upgrading to GLIBC 2.25 for another 2 months or so 馃槩 how about we downgrade to the build where glibc 2.25 was not required (I believe it came when you upgraded to c++ 2017 right? solid upgrade in spirit btw) and stick there until we can upgrade glibc.
To the folks who want to go this route, just grab build 4.10.52 from https://github.com/ctubio/Krypto-trading-bot/releases/download/0.4.x/v0.4.10.52-x86_64-linux-gnu.tar.gz, unpack it, run a make install and you should be up
@nonkreon thanks for sharing your situation; agree with a downgrade if a fix is very painful; let me just try it a few more timez
yea all this is because moved my machines to c++17 (gcc7/8); a downgrade means go back to c++11 (gcc6)
well you know what? i really dont like to loose time; and fixing temporal errors is useless, lets downgrade and welcome c++17 next year :(
:koala: thanks for your patience and quick reports'' this way 0 commits were catched in between (and maybe i learned a leasson)
im sorry after a 5 days i find myself not wanting to downgrade, also not wanting to fix it; i really suggest to launch a new machine with a newer OS (Debian 10 or latest ubuntu) or upgrate using standard upgrade distribution commands (https://linuxconfig.org/how-to-upgrade-debian-9-stretch-to-debian-10-buster), or if because reasons is not possible im really sorry but only solution is to follow the suggestion of @nonkreon and use v0.4.10.52, i will try to not remove it for some months
downgrade is not possible because for some reason now on c++11 libquickfix fails to initialize ssl connection using llibopenssl, i donno why, no error, no nothing, and im tired of it
fix it is not possible because still getaddrinfo and gethostbyname_r are used from libc; the alternative is to use libcares as a DNS resolver but is a pain to recode libquickfix and libuWS to use it; by now only libcurl uses it; so libc is still a dependency and build/runtime versions still must mach
don't beat yourself up Carles, all you did was to advance your project to better, you shouldn't be sorry. We old timers know that the issue is on our side, what it is and will eventually catch up with you 鈽笍
:koala: lets close thiz now that github has released pinned issues
i think this will be fixed once https://github.com/ctubio/Krypto-trading-bot/pull/894 is merged; super @fuzzyTew fixed it
Yeah! :-)
Sadly, this still does not work on Debian 9.8:
"Makefile:91: * K require g++ v7 or greater, but it was not found."
(Deb9 has g++v6)
:koala: that is another issue, you need to install g++7 or 8
Add to your /etc/apt/sources.list the debian experimental repo, see https://wiki.debian.org/DebianExperimental
then:
$ sudo apt-get update
$ sudo apt-get -t experimental install gcc-7
Thanks, but there's only gcc-9 in experimental: https://packages.debian.org/experimental/devel/
I'll keep looking for gcc-7...
with gcc 9 should work too, just need to update the Makefile to allow v9 as well as 8 and 7
after 829a0c448e5d1f711a4ad98963483a5df8f5cd2a i believe you will not be asked to recompile anymore after make install (but you can do if you wish)