dom96/choosenim

possible issue with `update self` breaking choosenim (libcurl)

telatin opened this issue · 1 comments

Working on an old Linux (Ubuntu 16.04) server I realized I had nim 1.2.x installed, so I checked if choosenim was available.

It was (couldn't check the version) so I tried

choosenim update self
...
   Updating choosenim
[##################################################] 100.0% 0kb/s
      Info: Updated choosenim to version 0.8.4

but then invoking choosenim:

$ choosenim
could not load: libcurl.so(|.4)
(compile with -d:nimDebugDlOpen for more information)

(sudo apt-get install libcurl4-gnutls-dev fixed the problem, but I was intrigued by the fact that choosenim was working before the update, so it might be worth a check ...)

dom96 commented

Yeah, choosenim was updated to use libcurl because of an upstream bug: 214b629. Surprised you need that package for libcurl.so to exist though. Maybe there is another .so that the curl wrapper doesn't know about?