Linking to libiconv

354 views Asked by At

I've created a clean build of libmariadbclient and integrated it into my project. Whenever I try to build said project I fail with an error:

Undefined symbols for architecture x86_64: "_libiconv", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) "_libiconv_close", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) "_libiconv_open", referenced from: _mariadb_convert_string in libmariadbclient.a(my_charset.c.o) ld: symbol(s) not found for architecture x86_64

I then add libiconvlib.dylid to my project, cleaned it and tried to build again, but I still get the same error. Any ideas?

1

There are 1 answers

4
ruipacheco On BEST ANSWER

I filed a bug report with the developers and the issue was promptly fixed.