Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem compiling in mingw static. undefined reference to `libiconv_set_ relocation_prefix #2194

Open
Zibri opened this issue Mar 21, 2024 · 2 comments

Comments

@Zibri
Copy link

Zibri commented Mar 21, 2024

make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/Zibri/aria2/src/includes'
make[3]: Entering directory '/home/Zibri/aria2/src'
  CXXLD    aria2c.exe
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
: C:/msys64/mingw64/lib\libintl.a(relocatable.o):(.text+0x44): undefined reference to `libiconv_set_
relocation_prefix'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:2158: aria2c.exe] Error 1
make[3]: Leaving directory '/home/Zibri/aria2/src'
make[2]: *** [Makefile:2680: all-recursive] Error 1
make[2]: Leaving directory '/home/Zibri/aria2/src'
make[1]: *** [Makefile:558: all-recursive] Error 1
make[1]: Leaving directory '/home/Zibri/aria2'
make: *** [Makefile:469: all] Error 2

@Zibri
Copy link
Author

Zibri commented Mar 21, 2024

From MSYS MINGW I did:

# git clone https://github.com/aria2/aria2
# cd aria2
# autoreconf -i
# ./configure ARIA2_STATIC=yes
# make

@Zibri
Copy link
Author

Zibri commented Mar 23, 2024

help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant