1

I'm facing this issue in my wsl 2.0 Arch. After I update curl via pacman this error shows up.

pacman: symbol lookup error: /usr/lib/libcurl.so.4: undefined symbol: libssh2_session_set_read_timeout

Something similar was showing when try to use curl but i manage remove curl but error stayed.

Dajmond
  • 21
  • 3

1 Answers1

1

I think i had a corrupt file in libssh2 on my Arch setup. Check with md5sum -b /usr/lib/libssh2.so.1.0.1 and compare it to the release. I fixed it by replacing it manually.

If sudo ldd -r /usr/lib/libssh2.so.1.0.1 should give an error at the bottom of the output it's most likely the same.

sadekarhu
  • 26
  • 3
  • 1
    In [How to Answer](https://stackoverflow.com/help/how-to-answer), note the section _Answer Well-Asked Questions_, and the bullet point therein linking back to https://stackoverflow.com/help/on-topic. System administration and troubleshooting (of tools that aren't exclusively for development purposes) is generally better suited to [unix.se] rather than here. – Charles Duffy Aug 23 '23 at 01:18