Using iconv in cygwin, I got undefined reference to 'libiconv_open'?

Multi tool use
Using iconv in cygwin, I got undefined reference to 'libiconv_open'?
I just #include <iconv.h>
and I've installed libiconv
. I've been puzzled for a long time. Does anyone have an advice?
#include <iconv.h>
libiconv
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
May be you need to show us the code and log output. Please also look at unix.stackexchange.com/questions/445374/… for a specific case.
– matzeri
Jul 2 at 14:56