On 12/11/19 8:32 PM, Trent via blfs-support wrote:

On 12/9/19 10:55 PM, Bruce Dubbs via blfs-support wrote:
On 12/9/19 10:10 PM, Trent via blfs-support wrote:
This continues from my previous post , "Phonon-4.10.3: Cmake error: Could not find 'Qt5LinguistToolsConfig.cmake' "


This time it is :


--------------------------------

/opt/qt-5.13.0/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory[  4%] Generating sr@ijekavian/libphonon_qt.qm

make[2]: *** [CMakeFiles/translations_29.dir/build.make:61: zh_CN/libphonon_qt.qm] Error 127 /opt/qt-5.13.0/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory /opt/qt-5.13.0/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory make[2]: *** [CMakeFiles/translations_26.dir/build.make:61: sr@latin/libphonon_qt.qm] Error 127 make[1]: *** [CMakeFiles/Makefile2:145: CMakeFiles/translations_29.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/translations_28.dir/build.make:61: uk/libphonon_qt.qm] Error 127 make[1]: *** [CMakeFiles/Makefile2:199: CMakeFiles/translations_26.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:172: CMakeFiles/translations_28.dir/all] Error 2 /opt/qt-5.13.0/bin/lconvert: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory make[2]: *** [CMakeFiles/translations_24.dir/build.make:61: sr@ijekavian/libphonon_qt.qm] Error 127 make[1]: *** [CMakeFiles/Makefile2:226: CMakeFiles/translations_24.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

--------------------------------


This all seems to come from unable to find the needed requirements in the correct directory.

libQt5Xml.so.5 can be found in "/opt/qt-5.13.0/lib/libQt5Xml.so.5"


I installed Qt5 as per http://www.linuxfromscratch.org/blfs/view/stable-systemd/x/qt5.html

Where it has

"Tip

mkdir /opt/qt-5.13.0 ln -sfnv qt-5.13.0 /opt/qt5" The symbolic link is there, but during the Phonon build, it is having trouble finding what it needs.

So what is going on with this?

Was this tested recently?

Do you have

$ ll /opt/qt5
lrwxrwxrwx 1 root root 9 Oct 31 14:40 /opt/qt5 -> qt-5.13.2

$ echo $PATH
...:/opt/kf5/bin:.../opt/qt5/bin

$ cat /etc/ld.so.conf
...
/opt/xorg/lib
/opt/qt5/lib
/opt/kf5/lib
...

Did you run 'sudo ldconfig' ?

  -- Bruce


I did run ldconfig many times before.


For item 1) I don't have an "ll" alias, but I do have that symbolic link when using "ls -l"

That's a very common alias in ~/.bashrc. Mine is actually in /etc/bashrc which is sourced from ~/bashrc:

alias ll='LC_ALL=C ls -l'


For item 2) I do not recall those directories being put into the path from the book.

For Qt, look at the configuration section.
For xorg, look at 'Introduction to Xorg-7'
For KDE, look at 'KDE Frameworks 5 Pre-installation Configuration'

For item 3) Same as item 2, but I did add those directories, did ldconfig again, then rebooted. It compiled 100% this time.

Maybe you can link were I may have missed those additions?

See above.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to