The build process seems to be pretty straightforward, however I'm getting a linkage error and I'm not sure why it's happening or how it can be fixed:<br><br>$ make<br>Generating connect.moc<br>[ 0%] Built target QtGLib_automoc<br>
[ 1%] Copying gen.cpp to the build directory<br>[ 3%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o<br>[ 4%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/quark.cpp.o<br>[ 6%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/type.cpp.o<br>
[ 7%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/paramspec.cpp.o<br>[ 9%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/object.cpp.o<br>[ 10%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/value.cpp.o<br>
[ 12%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/signal.cpp.o<br>[ 13%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/error.cpp.o<br>[ 15%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/connect.cpp.o<br>
[ 16%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/wrap.cpp.o<br>[ 18%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/init.cpp.o<br>[ 20%] Building CXX object src/QGlib/CMakeFiles/QtGLib.dir/gen.cpp.o<br>Linking CXX shared library libQtGLib-2.0.dylib<br>
ld: library not found for -lintl<br>collect2: ld returned 1 exit status<br>make[2]: *** [src/QGlib/libQtGLib-2.0.0.10.1.1.dylib] Error 1<br>make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2<br>make: *** [all] Error 2<br>
<br>First thought that comes to mind is "I don't have this library and I need to install it". Good thought, but that's not the case, because when I turn up verbose I get:<br><br>Linking CXX shared library libQtGLib-2.0.dylib<br>
cd /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib && /usr/local/Cellar/cmake/2.8.6/bin/cmake -E cmake_link_script CMakeFiles/QtGLib.dir/link.txt --verbose=1<br>/usr/bin/c++ -Wall -Wextra -Wformat-security -Wundef -Wpointer-arith -Wcast-align -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -dynamiclib -Wl,-headerpad_max_install_names -current_version 0.10.1 -o libQtGLib-2.0.0.10.1.1.dylib -install_name /Users/karlphillip/installers/qt-gstreamer/build/src/QGlib/libQtGLib-2.0.0.dylib CMakeFiles/QtGLib.dir/QtGLib_automoc.cpp.o CMakeFiles/QtGLib.dir/quark.cpp.o CMakeFiles/QtGLib.dir/type.cpp.o CMakeFiles/QtGLib.dir/paramspec.cpp.o CMakeFiles/QtGLib.dir/object.cpp.o CMakeFiles/QtGLib.dir/value.cpp.o CMakeFiles/QtGLib.dir/signal.cpp.o CMakeFiles/QtGLib.dir/error.cpp.o CMakeFiles/QtGLib.dir/connect.cpp.o CMakeFiles/QtGLib.dir/wrap.cpp.o CMakeFiles/QtGLib.dir/init.cpp.o CMakeFiles/QtGLib.dir/gen.cpp.o -F/usr/local/Cellar/qt/4.7.4/lib -framework QtCore -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl <br>
ld: library not found for -lintl<br>collect2: ld returned 1 exit status<br>make[2]: *** [src/QGlib/libQtGLib-2.0.0.10.1.1.dylib] Error 1<br>make[1]: *** [src/QGlib/CMakeFiles/QtGLib.dir/all] Error 2<br>make: *** [all] Error 2<br>
<br>It seems that CMake failed to add the right library path for intl, which in my case is "/usr/local/Cellar/gettext/<a href="http://0.18.1.1/lib">0.18.1.1/lib</a>".<br><br>The library itself is compiled for x86_64 and so are the other libraries that QtGstreamer depends.<br>
<br>Where is the proper place to make this fix?<br><br>Thanks.<br>