[Bug 766188] New: Error building pkg-config: Undefined symbols for architecture x86_64: "_iconv"

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 9 16:43:03 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766188

            Bug ID: 766188
           Summary: Error building pkg-config: Undefined symbols for
                    architecture x86_64: "_iconv"
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: elvis.dowson at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I am trying to build gstreamer from sources on Mac OS X 10.11.4, using Xcode
7.3.0. The build process fails with pig-config, with the following error:

libtool: link: clang -I./glib -I./glib/glib -I./glib/glib -Wall -g -O2 -arch
x86_64 -m64 -Wno-error=format-nonliteral
-I/Library/Frameworks/GStreamer.framework/Versions/1.0/include
-mmacosx-version-min=10.8 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral
-I/Library/Frameworks/GStreamer.framework/Versions/1.0/include
-mmacosx-version-min=10.8 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-headerpad_max_install_names -Wl,-headerpad_max_install_names
-Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch -Wl,x86_64
-mmacosx-version-min=10.8 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-headerpad_max_install_names -Wl,-headerpad_max_install_names
-Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch -Wl,x86_64
-mmacosx-version-min=10.8 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-o pkg-config pkg.o parse.o main.o 
-L/project/software/library/gstreamer/sdk/cerbero/build/build-tools/lib
./glib/glib/.libs/libglib-2.0.a -liconv -framework Foundation -framework Carbon
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _g_iconv in libglib-2.0.a(gconvert.o)
      _g_convert_with_iconv in libglib-2.0.a(gconvert.o)
      _open_converter in libglib-2.0.a(gconvert.o)
      _g_convert_with_fallback in libglib-2.0.a(gconvert.o)
     (maybe you meant: _g_iconv_close, _g_iconv , _g_iconv_open ,
_g_convert_with_iconv )
  "_iconv_close", referenced from:
      _g_iconv_close in libglib-2.0.a(gconvert.o)
      _close_converter in libglib-2.0.a(gconvert.o)
      _iconv_cache_bucket_expire in libglib-2.0.a(gconvert.o)
     (maybe you meant: _g_iconv_close)
  "_iconv_open", referenced from:
      _g_iconv_open in libglib-2.0.a(gconvert.o)
     (maybe you meant: _g_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [pkg-config] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make -j8'

***** Error running 'bootstrap' command:
Recipe 'pkg-config' failed at the build step 'compile'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list