[mythtv-users] OSX compile failure - ld: file not found: libmythservicecontracts-0.24.0.dylib for architecture i386

brad dreisbach bradd at ameri.ca
Wed May 18 12:47:15 UTC 2011


On May 12, 2011, at 8:01 AM, brad dreisbach wrote:

> 
> On May 12, 2011, at 2:42 AM, Jean-Yves Avenard wrote:
> 
>> On 12 May 2011 03:46, brad dreisbach <bradd at ameri.ca> wrote:
>> 
>>> its a completely new build environment with a slightly modified osx-packager.pl
>>> (just using newer versions of some of the software).  I will try it again with distributed
>>> osx-packager.pl.
>> 
>> Make sure you build for the 0.24 branch; not master...
> 
> are you saying the osx-packager.pl script does not support
> building master?  i WANT to build/run master and Im not
> sure why its mixing 0.24 and 0.25.  I am not passing any
> git related options to the script(just using -verbose -m32).

I tried this again using a completely clean install of 10.6.7/Xcode 4 and
I am still seeing this same problem.

I pulled down the packager script like so:

 [10:27pm]> git clone git://github.com/MythTV/packaging.git
Cloning into packaging...
remote: Counting objects: 3277, done.
remote: Compressing objects: 100% (1323/1323), done.
remote: Total 3277 (delta 2038), reused 3031 (delta 1815)
Receiving objects: 100% (3277/3277), 1.05 MiB | 645 KiB/s, done.
Resolving deltas: 100% (2038/2038), done.

and I ran the script using -verbose and -m32.  The only change I made to
osx-packager.pl was update the mysql 5.0 version to 5.0.92.

Any ideas what may be happening here?


Here is a bit of the log:
[osx-pkg] Configuring mythtv
[osx-pkg] ./configure --prefix=/Users/bradd/mythtv_build/.osx-packager/build --runprefix=../Resources --disable-distcc
./configure: line 4024: pkg-config: command not found
Firewire being disabled. /Developer/FireWireSDK* missing
./configure: line 4071: pkg-config: command not found
WARNING: disabling Python bindings; missing MySQLdb
WARNING: disabling Python bindings; missing lxml
WARNING: disabling Python bindings; missing urlgrabber
WARNING: disabling Perl bindings; missing Net::UPnP::QueryResponse
WARNING: disabling Perl bindings; missing Net::UPnP::ControlPoint
# Basic Settings
Compile type              release
Compiler cache            yes
DistCC                    no
qmake                     /Users/bradd/mythtv_build/.osx-packager/build/bin/qmake
install prefix            /Users/bradd/mythtv_build/.osx-packager/build
runtime prefix            ../Resources
CPU                       x86 x86_32 (Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz)
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              no

# Input Support
Joystick menu             no
lirc support              yes
Apple Remote              yes
Video4Linux sup.          no (v1 no)
ivtv support              no
HD-PVR support            no
FireWire support          no
DVB support               no [/usr/include]
DVB-S2 support            no
HDHomeRun support         yes
IPTV support              yes
ASI support               no

# Sound Output Support
PulseAudio support        no
OSS support               no
ALSA support              no
JACK support              no
libfftw3 support          no
libxml2 support           no [/usr/include/libxml2]

# Video Output Support
x11 support               no
OpenGL video              yes
Quartz video              yes
DirectFB                  no
MHEG support              yes
libass subtitle support   no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes
OpenGL ES 2.0             no

# Bindings
bindings_perl             no
bindings_python           no
bindings_php              yes

# mythffmpeg Options
mp3lame                   no
xvid                      no
x264                      no

Creating libs/libmythbase/mythconfig.h and libs/libmythbase/mythconfig.mak

[osx-pkg] Removing Nigel's hacks from file programs/programs.pro
[osx-pkg] Making mythtv
.......
......
ccache g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -m32 -fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3 -fvisibility-inlines-hidden -F/System/Library/Frameworks/{ApplicationServices,AudioUnit,Carbon,CoreAudio,IOKit,DiskArbitration}.framework/Frameworks -fvisibility=hidden -arch i386 -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -DMYTH_API -DUSING_DARWIN_DA -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/Users/bradd/mythtv_build/.osx-packager/build/mkspecs/macx-g++ -I. -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtCore -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtNetwork -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtGui -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtXml -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtSql -I/Users/bradd/mythtv_build/.osx-packager/build/include/QtScript -I/Users/bradd/mythtv_build/.osx-packager/build/include -I/usr/include -I/Users/bradd/mythtv_build/.osx-packager/build -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -o moc_virtualkeyboard_qt.o moc_virtualkeyboard_qt.cpp
rm -f libmyth-0.24.0.24.0.dylib libmyth-0.24.dylib libmyth-0.24.0.dylib libmyth-0.24.0.24.dylib
ccache g++ -headerpad_max_install_names -arch i386 -single_module -dynamiclib -compatibility_version	0.24 -current_version	0.24.0 -install_name	libmyth-0.24.0.dylib -o libmyth-0.24.0.24.0.dylib audiooutput.o audiooutputbase.o spdifencoder.o audiooutputdigitalencoder.o audiooutputnull.o audiooutpututil.o audiooutputdownmix.o audiosettings.o audiooutputsettings.o pink.o volumebase.o xmlparse.o backendselect.o dbsettings.o dialogbox.o generictree.o langsettings.o managedlist.o mythconfigdialogs.o mythconfiggroups.o mythcontext.o mythdialogs.o mythmediamonitor.o mythplugin.o mythwidgets.o mythwizard.o schemawizard.o output.o settings.o uilistbtntype.o uitypes.o storagegroupeditor.o mythcommandlineparser.o mythterminal.o remoteutil.o rawsettingseditor.o hardwareprofile.o programinfo.o programinfoupdater.o programtypes.o recordingtypes.o mythrssmanager.o netgrabbermanager.o rssparse.o netutils.o virtualkeyboard_qt.o audiooutputca.o mediamonitor-darwin.o moc_backendselect.o moc_dialogbox.o moc_langsettings.o moc_managedlist.o moc_mythconfigdialogs.o moc_mythconfiggroups.o moc_mythcontext.o moc_mythdialogs.o moc_mythmediamonitor.o moc_mythwidgets.o moc_mythwizard.o moc_schemawizard.o moc_settings.o moc_uilistbtntype.o moc_uitypes.o moc_storagegroupeditor.o moc_mythterminal.o moc_rawsettingseditor.o moc_hardwareprofile.o moc_mythrssmanager.o moc_netgrabbermanager.o moc_rssparse.o moc_virtualkeyboard_qt.o    -L../libmythsamplerate -lmythsamplerate-0.24 -L../libmythsoundtouch -lmythsoundtouch-0.24 -L../libmythbase -lmythbase-0.24 -L../libmythui -lmythui-0.24 -L../libmythupnp -lmythupnp-0.24 -L../libmythfreesurround -lmythfreesurround-0.24 -L../../external/FFmpeg/libavcodec -lmythavcodec -L../../external/FFmpeg/libavutil -lmythavutil -L../../external/FFmpeg/libavformat -lmythavformat -framework ApplicationServices -framework AudioUnit -framework Carbon -framework CoreAudio -framework IOKit -framework DiskArbitration -lmp3lame -L/Users/bradd/mythtv_build/.osx-packager/build/lib -lbz2 -lfreetype -lQtScript -L/Users/bradd/mythtv_build/.osx-packager/build/lib/mysql -lQtSql -F/System/Library/Frameworks -L/usr/lib -m32 -lmysqlclient -lz -lm -lQtXml -lQtGui -lQtNetwork -lQtCore  
ld: file not found: libmythservicecontracts-0.24.0.dylib for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [libmyth-0.24.0.24.0.dylib] Error 1
make[1]: *** [sub-libmyth-make_default] Error 2
make: *** [libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j9 " with error code 2
Died at ./osx-packager.pl line 966.



More information about the mythtv-users mailing list