Can't compile project because -iconv_close is missing
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 531
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
macOS Sequoia x86_64
GNAT Studio from https://sourceforge.net/projects/gnuada/
Compiler from https://github.com/simonjwright/distributing-gcc/releases/download/gcc-14.1.0-x86_64/gcc-14.1.0-x86_64-apple-darwin21.pkg
it is the latest release for x86_64.
The compiler works in Terminal
sergey@iMac GNAT_studio % gprbuild -Pproba
Compile
[Ada] main.adb
Bind
[gprbind] main.bexch
[Ada] main.ali
Link
[link] main.adb
sergey@iMac GNAT_studio %
with the project created by the GNATstudio.
But the GNAT Studio can't compile the project because on _iconv dependencies
gprbuild -d -P/Applications/1App/GNAT_studio/proba.gpr /Applications/1App/GNAT_studio/src/main.adb
Compile
[Ada] main.adb
dyld[1844]: symbol '_iconv_close' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
dyld[1844]: symbol '_iconv_open' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
dyld[1844]: symbol '_iconv' missing from root that overrides /usr/lib/libiconv.2.dylib. Use of that symbol in /usr/lib/libcups.2.dylib is being set to 0xBAD4007.
Is it possible somehow use $PATH/libiconv.dylib instead of assumed?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on macOS Sequoia with GNAT Studio using /Applications/1App/GNAT_studio/proba.gpr and src/main.adb, comparing it with the successful gprbuild -Pproba run in Terminal. Trace how GNAT Studio invokes gprbuild and resolves libiconv.dylib; done means the project compiles from GNAT Studio without the missing _iconv symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100