Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

/usr/bin/ld: warning: libicui18n.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) makefile:44: recipe for target 'DenseOpticalFlow' failed

I am trying to compile a simple program to load an image in code block and eclipse. I am getting the following compilation error

I tried reinstalling qt by using the command as suggested by some people in some other groups.

sudo apt-get install qt5-default qttools5-dev-tools

But no use. Anyone got a solution for this?


12:06:56 * Build of configuration Release for project DenseOpticalFlow * make all Building file: ../main.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include/opencv -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp" Finished building: ../main.cpp

Building target: DenseOpticalFlow Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "DenseOpticalFlow" ./main.o -lopencv_core -lopencv_highgui -lopencv_imgcodecs /usr/bin/ld: warning: libicui18n.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) makefile:44: recipe for target 'DenseOpticalFlow' failed /usr/bin/ld: warning: libicuuc.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libicudata.so.54, needed by /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_clone_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference touenum_next_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to u_strToLower_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_getStandardName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_setAttribute_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_setMillis_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_strcoll_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_setSubstChars_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_getTimeZoneDisplayName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_openCountryTimeZones_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_fromUnicode_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_open_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_getDefaultName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucol_open_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_inDaylightTime_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucol_getSortKey_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_getAvailableName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_get_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_openTimeZoneIDEnumeration_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_getDSTSavings_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_open_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucal_openTimeZones_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_toUnicode_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference tou_strToUpper_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to u_errorName_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to uenum_close_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_countAvailable_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucnv_getMaxCharSize_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_getAlias_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to ucal_getDefaultTimeZone_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference toucnv_compareNames_54' /home/santhosh/Qt/5.5/gcc_64/lib/libQt5Core.so.5: undefined reference to `ucnv_countAliases_54' collect2: error: ld returned 1 exit status make: * [DenseOpticalFlow] Error 1

12:06:57 Build Finished (took 1s.268ms)