Undefined reference to libiconv since compiling Android project with gstreamer 1.16.1
Hi,
I cannot build Android project with the new gstreamer 1.16.1 release (I was using 1.14.3 before without problem). I am currently using NDK r17c but I also tried with NDK r18b which seems to be the recommended NDK for gst 1.16.1 and have got the same problem. I get the following errors building with Android Studio, system is MacOS Mojave:
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:175: error: undefined reference to 'libiconv_open'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:285: error: undefined reference to 'libiconv'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:308: error: undefined reference to 'libiconv_close'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:285: error: undefined reference to 'libiconv'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:308: error: undefined reference to 'libiconv_close'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:285: error: undefined reference to 'libiconv'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:308: error: undefined reference to 'libiconv_close'
/home/nirbheek/projects/repos/gst/cerbero.git/build/sources/android_universal/armv7/glib-2.56.1/_builddir/../glib/gconvert.c:308: error: undefined reference to 'libiconv_close'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Can someone please help on this ? Thanks.
Edited by Matthew Waters