help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _idn2_punycode_decode undefined for static linkage


From: Alexey Rochev
Subject: Re: _idn2_punycode_decode undefined for static linkage
Date: Mon, 20 Feb 2023 00:47:47 +0300

FYI I have the same issue when building using Android NDK and linking shared library against static libidn2:
C/C++: ld: error: /home/alexey/projects/tremotesf-android/libtremotesf/.vcpkg_installed_arm64-android/arm64-android/lib/libidn2.a(puny_decode.o): symbol _idn2_punycode_decode@IDN2_0.0.0 has undefined version IDN2_0.0.0

Android NDK is based on LLVM 14 and uses lld for linking.

Patching config.h is not convenient since it would mean copying vcpkg buildscript for libidn2 and maintaining the modified version manually (unless it can be done via some special ./configure option or adding something to CFLAGS).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]