orhun/sixel-rs

Compiling error

Closed this issue · 0 comments

Getting this error when compiling


error: linking with `cc` failed: exit status: 1
...
  = note: /usr/bin/ld: /home/badr/cli/target/debug/deps/libsixel_sys_static-587fae7417fe1ef6.rlib(libsixel_la-status.o): in function `sixel_helper_format_error':
          status.c:(.text+0x31c): undefined reference to `curl_easy_strerror'
          collect2: error: ld returned 1 exit status

the libsixel is correctly installed

$ ldconfig -p | rg sixel
        libsixel.so.1 (libc6,x86-64) => /usr/lib/libsixel.so.1
        libsixel.so (libc6,x86-64) => /usr/lib/libsixel.so

Do you have any tip on how to fix it ?

Thanks

Os: Arch linux