[mythtv] Broken OS X Build on 0.24-fixes

Emlyn Bolton emlyn.bolton at gmail.com
Thu Mar 31 19:56:41 UTC 2011


On 29 March 2011 22:33, Nigel Pearson <nigel at ind.tansu.com.au> wrote:

>
> On 30/03/2011, at 6:34 AM, Emlyn Bolton wrote:
> ...
> > Has anyone seen this problem:
> ...
> > LD      libavcore/libmythavcore.0.dylib
> > ld: -dylib_compatibility_version must be greater than zero
> > /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit
> > command failed
>
> I think that was fixed by one of the hacks in 104diffs.patch back in Feb.
>
>
> http://www.gossamer-threads.com/lists/mythtv/dev/470975?do=post_view_threaded
>
> It changed SHFLAGS in configure.
>
>
Ah yes, thanks for pointing me back at the original thread :-)

That cured the particular problem, but did present a new issue.

ld: warning can't open dynamic library: /usr/local/lib/libmythavcore.dylib
referenced from: ../../external/FFmpeg/libavcodec/libmythavcodec.dylib
(checking for undefined symbols may be affected) (No such file or directory,
errno = 2)
ld: Undefined symbols:
_av_check_image_size referenced from libmythavcodec expected to be defined
in /usr/local/lib/libmythavcore.dylib
_av_fill_image_linesizes referenced from libmythavcodec expected to be
defined in /usr/local/lib/libmythavcore.dylib
_av_fill_image_pointers referenced from libmythavcodec expected to be
defined in /usr/local/lib/libmythavcore.dylib
_av_get_image_linesize referenced from libmythavcodec expected to be defined
in /usr/local/lib/libmythavcore.dylib
_av_parse_video_rate referenced from libmythavcodec expected to be defined
in /usr/local/lib/libmythavcore.dylib
_av_parse_video_size referenced from libmythavcodec expected to be defined
in /usr/local/lib/libmythavcore.dylib
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit
command failed
make[2]: *** [libmyth-0.24.0.24.0.dylib] Error 1
make[2]: Leaving directory
`/Volumes/Data/src/localBuild/mythtv/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth-make_default] Error 2
make[1]: Leaving directory `/Volumes/Data/src/localBuild/mythtv/mythtv/libs'
make: *** [libs] Error 2

I went back into external/FFmpeg/libavcore and did a sudo make install,
which remedied this for me, but is this the problem? (from libmyth.pro,
lines 85-87)

LIBS += -L../../external/FFmpeg/libavcodec -lmythavcodec
LIBS += -L../../external/FFmpeg/libavcore  -l*mythavcodec  # should this be
-lmythavcore
*LIBS += -L../../external/FFmpeg/libavutil  -lmythavutil

I should get a server up sometime in the next few days and give it a go.

For the record, I'm using this for a configure:
./configure --disable-ssse3 --disable-mmx2 --disable-amd3dnow
--disable-amd3dnowext --disable-lirc --disable-firewire --disable-iptv
--disable-hdhomerun --disable-v4l --disable-dvb --disable-ivtv
--disable-joystick-menu --disable-hdpvr --enable-crystalhd --disable-ccache
--disable-distcc








> --
> Nigel Pearson, nigel at ind.tansu.com.au|"Reality is that which,  |
> Telstra Net. Eng., Sydney, Australia | when you stop believing |
> Office: 9202 3900    Fax:  9212 6348 | in it, doesn't go away."|
> Mobile: 0408 664435  Home: 9792 6998 | Philip K. Dick - 'Valis'|
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-dev/attachments/20110331/45869621/attachment.html 


More information about the mythtv-dev mailing list