WiC64 code requires "too new" libcurl version.
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Since the wic64 code was enabled by default, vice no longer builds out of the box on Ubuntu 20.04LTS due to the libcurl 7.71.0 requirement.
It's not trival for the casual user to obtain libcurl > 7.68 for such a system so lots of people will probably run into this.
It seems the only dependency is the define CURLSSLOPT_NATIVE_CA, so perhaps this could be fixed with an #ifdef, such that it builds albeit with less features on a stock 20.04LTS system?
If not, I suggest disabling this on default (equivalent to ./configure --without-libcurl).
Trunk r44741
I agree using an
#ifdef
to guard the call usingCURLSSOPT_NATIVE_CA
and adjusting configure to not check the libcurl version might be a good solution, assuming the emulation still works without it.Let's see what @pottendo thinks of this...
Hi, need to check a bit, but can't this weekend.
From what I see, it is related with SSL URLs.
So I assume https:// won't work.
One can try the Google maps App. this uses https. I expect, these will fail.
If others work, it's a matter of decision, whether we want a 90% Emulation.
Probably not the best, as the dumb User may be confused, as the Programs fail silently.
bye pottendo
As i understood it, that code only asks the lib to use the native ca storage. https works without it.
In any case, that code should go into ifdefs and the configure check relaxed (no version check) asap :)
A "fix" was implement in r44745. We relax the
libcurl
check by not requesting a minimum version and use#ifdef CURLSSLOPT_NATIVE_CA
to guard the function call using that constant.Hi,I've confirmed that the code works even for https:// URLs.
thanks, pottendo