Error when executing make for kcodecs
I'm trying to install the kde-frameworks from the BLFS book and when trying to install the kcodecs package I get this error:
/opt/qt5/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory make[2]: *** [CMakeFiles/translations_99.dir/build.make:61: zh_HK/kcodecs5_qt.qm] Error 127 make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/translations_99.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 I know that it is a problem with lconvert not finding libQt5Xml.so.5 but when I checked /opt/qt5/lib/ libQt5Xml.so.5 was present I also tried "export LD_LIBRARY_PATH=/opt/qt54/lib" but this didn't solve the problem. If anyone could help that would be much appreciated. Thanks. |
Try typing...
Code:
ldconfig -v 2>/dev/null | grep -v ^$'\t' |
Thanks that solved that problem but after it gets past this I get this error:
/opt/qt5/bin/uic: relocation error: /opt/qt5/bin/uic: symbol qt_hash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference Sorry this is my first time building a desktop interface with LFS. Thanks for any help. |
You seem to have two different Qt5 versions on your system, with one being in ld.so.conf, other being referenced in PATH.
|
Is there a way I can work around or remove a version?
|
Just remove references to it from /etc/ld.so.conf and /etc/profile.d, or fix them to reference newest one, only.
|
Thank you very much that solved that problem, I have this error occurring now:
-- Building PolkitQt5-1 KAuth backend CMake Error at src/ConfigureChecks.cmake:153 (string): string sub-command REPLACE requires at least four arguments. Call Stack (most recent call first): src/CMakeLists.txt:5 (include) Thank you for all you assistance. |
All times are GMT -5. The time now is 06:09 AM. |