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
aria2 doesn't work in Sonoma #2083
Comments
|
Setting any |
@Ryu-ga, and how did you know that was the problem? :D |
_nl_locale_name_default + 72 The error was occurred in here. So I just added LC_ALL or LC_MESSAGES to env to bypass default locale name function. |
And yesterday I found more interesting one. |
And what does fish-shell do in the env settings? |
Actually aria2c works well without such settings if I build it from build-system files built with more recent gettext.
|
Probably a silly question, but how did you build the gettext from master? I tried to install version 0.22, but it didn't install
Trying to create
|
Seems to be a related problem |
I'm using gettext-runtime v0.20. |
I understand how to build aria2c, I don't understand how to build gettext 0.22 I already have gettext 0.21.1. |
I thought my version of gettext 0.21.1 was old |
I made misleading words "if I build it from build-system files built with more recent gettext.". |
I test it with custom gettext-runtime v0.21.1. |
This patch let aria2 work well. |
Adding the |
Great, it works, thank you. And I update the plist file so it can run at boot. 😄 |
TL;DR. add Link libraries I figure out what is problem. |
Hi, can you tell me how to link CoreServices to binaries?? |
@crazyi To solve these issues globally, add |
Fix for aria2/aria2#2083 (comment) and for Homebrew#142161 (comment) CoreServices is not linked to gettext on Sonoma, causing aria2c to fail. So we have to explicitly link CoreServices to gettext. Seems to be a bug of Sonoma, maybe fixed in the future by Apple.
Reported by Shupeng Xue <dspxue@gmail.com> at <https://lists.gnu.org/archive/html/bug-gettext/2023-10/msg00001.html>. Cf <aria2/aria2#2083 (comment)>. * m4/intlmacosx.m4 (gt_INTL_MACOSX): Link with the CoreServices framework in addition to the CoreFoundation framework.
Reported by Shupeng Xue <dspxue@gmail.com> at <https://lists.gnu.org/archive/html/bug-gettext/2023-10/msg00001.html>. Cf <aria2/aria2#2083 (comment)>. * m4/intlmacosx.m4 (gt_INTL_MACOSX): Link with the CoreServices framework in addition to the CoreFoundation framework.
Reported by Shupeng Xue <dspxue@gmail.com> at <https://lists.gnu.org/archive/html/bug-gettext/2023-10/msg00001.html>. Cf <aria2/aria2#2083 (comment)>. * m4/intlmacosx.m4 (gt_INTL_MACOSX): Link with the CoreServices framework in addition to the CoreFoundation framework.
Reported by Shupeng Xue <dspxue@gmail.com> at <https://lists.gnu.org/archive/html/bug-gettext/2023-10/msg00001.html>. Cf <aria2/aria2#2083 (comment)>. * gettext-runtime/m4/intlmacosx.m4 (gt_INTL_MACOSX): Link with the CoreServices framework in addition to the CoreFoundation framework.
A new release, gettext 0.22.3, is out, that should fix this problem. |
If one needs that gettext immediately just fetch in homebrew-core (/opt/homebrew/Library/Taps/homebrew/homebrew-core) and do an brew upgrade. Had to do that in order to install ruby through rbenv. |
~ > gettext --version
gettext (GNU gettext-runtime) 0.22.3
Copyright (C) 1995-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
~ > aria2c
Specify at least one URL.
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE]...
See 'aria2c -h'. problem solved, I think we can close the thread |
Reported by Shupeng Xue <dspxue@gmail.com> at <https://lists.gnu.org/archive/html/bug-gettext/2023-10/msg00001.html>. Cf <aria2/aria2#2083 (comment)>. * m4/intlmacosx.m4 (gt_INTL_MACOSX): Link with the CoreServices framework in addition to the CoreFoundation framework.
The simplest call results in an error
What I tried:
Installing like this:
The text was updated successfully, but these errors were encountered: