Ref Beyond LinuxR From Scratch - Version 2015-05-24 Chapter 25. X Libraries Qt-4.8.6
I'm unable to compile QtWebKit because gst-plugins-base-0.10.36 is not detected by the configure script. pkg-config --cflags/libs correctly detects gst-plugins-base-0.10.36 and, if I hack the configure script to force the detection of gst-plugins-base and to enter the results of pkg-config --cflags/libs, QtWebKit compiles but things fail afterwards as per below. Any suggestions on how to fix this would be welcome. Regards John ---------- g++ -Wl,-rpath-link,/usr/src/qt-everywhere-opensource-src-4.8.6/lib -fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -o ../../bin/qtconfig .obj/release-shared/colorbutton.o .obj/release-shared/main.o .obj/release-shared/previewframe.o .obj/release-shared/previewwidget.o .obj/release-shared/mainwindow.o .obj/release-shared/paletteeditoradvanced.o .obj/release-shared/moc_colorbutton.o .obj/release-shared/moc_previewframe.o .obj/release-shared/moc_previewwidget.o .obj/release-shared/moc_mainwindow.o .obj/release-shared/moc_paletteeditoradvanced.o .obj/release-shared/qrc_qtconfig.o -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lQtGui -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lQtCore -lpthread -lXrender -L/usr/local/lib -lfontconfig -lfreetype -lXext -lX11 -lm /usr/local/bin/ld: .obj/release-shared/mainwindow.o: undefined reference to symbol 'gst_object_unref' /usr/local/lib/libgstreamer-0.10.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:129: recipe for target '../../bin/qtconfig' failed make[2]: *** [../../bin/qtconfig] Error 1 make[2]: Leaving directory '/usr/src/qt-everywhere-opensource-src-4.8.6/tools/qtconfig' Makefile:266: recipe for target 'sub-qtconfig-make_default-ordered' failed make[1]: *** [sub-qtconfig-make_default-ordered] Error 2 make[1]: Leaving directory '/usr/src/qt-everywhere-opensource-src-4.8.6/tools' Makefile:854: recipe for target 'sub-tools-make_default-ordered' failed make: *** [sub-tools-make_default-ordered] Error 2 Command exited with non-zero status 2 -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
