Menu

#1964 WiC64 code requires "too new" libcurl version.

v3.x
closed-fixed
pottendo
None
GTK3
2023-11-20
2023-11-17
No

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

Discussion

  • compyx

    compyx - 2023-11-17

    I agree using an #ifdef to guard the call using CURLSSOPT_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...

     
  • pottendo

    pottendo - 2023-11-17

    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

     
  • gpz

    gpz - 2023-11-18

    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 :)

     
  • compyx

    compyx - 2023-11-18

    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.

     
  • pottendo

    pottendo - 2023-11-20
    • status: open --> closed-fixed
     
  • pottendo

    pottendo - 2023-11-20

    Hi,I've confirmed that the code works even for https:// URLs.
    thanks, pottendo

     

Log in to post a comment.