[mythtv-users] cannot find -lmythzmq while trying to build 0.27.3

Udo van den Heuvel udovdh at xs4all.nl
Fri Sep 12 11:51:28 UTC 2014


Hello,

I tried to compile 0.273 from git using the packaging repo files but the
compile ends with:

(...)
g++ -c -pipe -march=k8 -mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -fomit-frame-pointer -fomit-frame-pointer -fPIC -pthread -g -Wall
-Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch
-Woverloaded-virtual -funit-at-a-time -fvisibility=hidden
-fomit-frame-pointer -D_REENTRANT -Wall -W -DPIC -fPIC -D_GNU_SOURCE
-DPREFIX="/usr" -DMMX -D_FILE_OFFSET_BITS=64 -DMPLUGIN_API -DQT_NO_DEBUG
-DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
-I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include -I/usr
-I/usr/include/libxml2
-I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include -I/usr/include
-I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv
-I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv/libmythbase -I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv/libmythui
-I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv/libmyth
-I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv/libavformat -I/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/include/mythtv/libswscale
-I/usr/X11R6/include -I. -o moc_importnative.o moc_importnative.cpp
rm -f libmytharchive.so
g++ -Wl,-O1 -Wl,-z,relro -shared -o libmytharchive.so main.o
archivesettings.o logviewer.o fileselector.o recordingselector.o
videoselector.o dbcheck.o archiveutil.o selectdestination.o mythburn.o
themeselector.o editmetadata.o thumbfinder.o exportnative.o
importnative.o moc_logviewer.o moc_fileselector.o
moc_recordingselector.o moc_videoselector.o moc_selectdestination.o
moc_mythburn.o moc_themeselector.o moc_editmetadata.o moc_thumbfinder.o
moc_exportnative.o moc_importnative.o
-L/root/rpmbuild/BUILD/mythtv-0.27.3/temp/usr/lib64 -L/usr/X11R6/lib
-L/usr/lib64 -L/root/rpmbuild/BUILD/mythtv-0.27.3/temp/usr/lib64 -lXext
-lXinerama -lXxf86vm -lXv -lXrandr -lX11 -lxml2 -lcrypto -lfftw3_threads
-lfftw3f -lfftw3 -lva -lpulse -ljack -lasound -lxvidcore -lx264
-lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lcrystalhd -lm
-ludev -luuid -pthread -lbz2 -ldl -lfreetype -lz -lmp3lame -lraw1394
-liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib -lmythzmq -lmythnzmqt
-lmythqjson -lmythbase-0.27 -lmyth-0.27 -lmythui-0.27 -lmythupnp-0.27
-lmythservicecontracts-0.27 -lmythswresample -lmythswscale
-lmythavformat -lmythavcodec -lmythavutil -lmythmetadata-0.27 -lpthread
-lQtSql -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL
/usr/bin/ld: cannot find -lmythzmq


I can find libmythzmq in
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/libmythzmq.la
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/pkgconfig/libmythzmq.pc
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/libmythzmq.so.1
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/libmythzmq.so.1.0.1
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/libmythzmq.a
/usr/src/redhat/BUILD/mythtv-0.27.3/temp/usr/lib/libmythzmq.so

Shouldn't that be a lib64 instead of lib?

So perhaps the spec file needs updating?

Does anybody here have an idea about what is missing?

Kind regards,
Udo


More information about the mythtv-users mailing list