Skip to content

Can't compile project because -iconv_close is missing #189

@SergeySlice

Description

@SergeySlice

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions