[Bug 766188] Error building pkg-config: Undefined symbols for architecture x86_64: "_iconv"
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue May 10 12:36:41 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766188
--- Comment #4 from Elvis Dowson <elvis.dowson at gmail.com> ---
The following steps allowed me to build gstreamer-1.0 on Mac OS X 10.11.4 using
Xcode-7.3.0 :
01. Completely disable MacPorts by temporarily renaming .profile to
.profile_bak
02. Install CMake-3.5.3 binary from cmake.org. Set the path to cmake
PATH="/Applications/CMake.app/Contents/bin":"$PATH"
make is required for some packages like the vpx encoder.
03. Clone cerbero, and work from the master branch.
git clone git://anongit.freedesktop.org/gstreamer/sdk/cerbero sdk/cerbero
cd sdk/cerbero
git checkout master
04. Edit config/osx-x86-64.cbc to have the following entries:
from cerbero.config import Architecture
target_arch=Architecture.X86_64
prefix='/Library/Frameworks/GStreamer.framework/Versions/1.0'
recipes_commits = {
'gstreamer-1.0' : '1.8.1',
'gstreamer-1.0-static' : '1.8.1',
'gst-plugins-base-1.0' : '1.8.1',
'gst-plugins-base-1.0-static' : '1.8.1',
'gst-plugins-good-1.0' : '1.8.1',
'gst-plugins-good-1.0-static' : '1.8.1',
'gst-plugins-bad-1.0' : '1.8.1',
'gst-plugins-bad-1.0-static' : '1.8.1',
'gst-plugins-ugly-1.0' : '1.8.1',
'gst-plugins-ugly-1.0-static' : '1.8.1',
'gst-libav-1.0' : '1.8.1',
'gst-libav-1.0-static' : '1.8.1',
'gnonlin-1.0' : '1.8.1',
'gnonlin-1.0-static' : '1.8.1',
'gst-editing-services-1.0' : '1.8.1',
'gst-rtsp-server-1.0' : '1.8.1',
}
I had some trouble building the Universal build earlier, so I did't both to try
and reproduce the issue, since it doesn't make sense to build for the i386
architecture anymore on Mac OS X 10.11.4 using Xcode 7.3.0
05. Create a file ~/.cerbero/cerbero.cbc with the following contents:
import os
from cerbero.config import Platform, Architecture, Distro
packages_prefix = 'gstreamer-sdk'
packager = 'GStreamer SDK packagers <packages at gstreamer.com>'
prefix = '/Library/Frameworks/GStreamer.framework/Versions/1.0'
git_root = "git://anongit.freedesktop.org/gstreamer-sdk"
# Uncomment to allow parallel builds
allow_parallel_build = True
# Uncomment this to allow cross-building for another architecture
# target_arch = Architecture.X86_64
06. Use the following commands to build gstreamer-1.0
./cerbero-uninstalled bootstrap
./cerbero-uninstalled -c config/osx-x86-64.cbc package gstreamer-1.0
--
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