[mythtv] [mythtv-commits] Ticket #5177: qt4 link libdir order incorrect
Mark Spieth
mark at digivation.com.au
Tue Jun 24 07:06:15 UTC 2008
>
> 1) This is only a problem for people who use --prefix=/usr (''e.g.''
> KnoppMyth)
> [[BR]]
> 2) After some recent lib changes, programs/* linking had a several
> problems (lots of globalsettings.o:(.rodata._ZTV12HostComboBox[vtable for
> HostComboBox]+0x8c): undefined reference to
> `SelectSetting::ReplaceLabel(QString const&, QString const&)'). I could
> have purged /usr/lib/libmyth*, but remembered this ticker, and
> experimented a little. The following got me a clean build, and is a much
> simpler way to exclude /usr/lib:
> {{{
> Index: settings.pro
> ===================================================================
> --- settings.pro (revision 17609)
> +++ settings.pro (working copy)
> @@ -109,6 +109,10 @@
> }
> QMAKE_LIBDIR_OPENGL =
>
> +# Qt 4 has /usr/libs early in the link line, which can cause link errors
> +# (due to old libmyth* in there). # This works around that:
> +QMAKE_LIBDIR_QT =
> +
> EXTRA_LIBS = $$FREETYPE_LIBS -lmp3lame
> EXTRA_LIBS += $$CONFIG_AUDIO_OSS_LIBS
> EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS
> }}}
> Mark + others, can you tell me if it works for you?
I was pretty sure we had this resolved in myth and plugins. I remember doing
lots of tests and mail going back and forth a while back.
cheers
mark
More information about the mythtv-dev
mailing list