On 2/24/19 12:53 AM, Ken Moffat via blfs-dev wrote:
On Fri, Feb 08, 2019 at 11:49:04AM -0700, Roger Koehler via blfs-dev wrote:
On Fri, Feb 8, 2019 at 10:44 AM Pierre Labastie via blfs-dev
<[email protected]> wrote:
On 08/02/2019 17:21, Roger Koehler via blfs-dev wrote:
FYI, I am still unable to build Qt for some reason.
I am curious what others see in their log file. Search for vulkan.
My log file is mangled, since I used -j4, but I do see the same commands as in
yours, except of course the last one...
I suspect some old libQt5Core.so.5 file (it is a symlink) is found by the
ld-linux-x86_64/so.2 loader, and that the symlink is broken.
If you install qt5 in /opt try "find /opt -name libQt5Core\*". If you install
in /usr try "find /usr -name libQt5Core\*". If something appears, try removing
what appears...
I have never successfully built Qt on this system, but several
attempts have left the following:
roger [ ~ ]$ cd /opt
roger [ /opt ]$ ls *
qt5:
qt-5.12.0:
qt-5.12.1:
roger [ /opt ]$ ls -l
total 8
lrwxrwxrwx 1 root root 9 Feb 8 07:23 qt5 -> qt-5.12.1
drwxr-xr-x 2 root root 4096 Jan 15 13:38 qt-5.12.0
drwxr-xr-x 2 root root 4096 Feb 3 17:22 qt-5.12.1
Thanks,
Roger
Since you are still having trouble, I went back and looked at this
earlier post. It doesn't say if those directories are both empty
(as implied by your "never successfully") or perhaps contain an
incomplete broken install.
To check that,
ls -lR /opt/qt-5.12.* | less
and see what is there.
If there is something there, remove the directory. In fact you
should remove the 5.12.0 directory anyway because it is at best
taking up space (even if only a 4K inode with no subdirectories).
And please check again that /etc/ld.so.conf knows about /opt/qt/lib.
I agree with that. My script begins with:
VERSION=5.12.1
export QT5PREFIX=/opt/qt5
sudo rm -rf /opt/qt-$VERSION $QT5PREFIX
sudo mkdir -p $QT5PREFIX
...
./configure -prefix $QT5PREFIX \
...
So I install int the directory, not symlink, /opt/qt5
At the end of the script, assuming success, I do:
sudo mv $QT5PREFIX /opt/qt-$VERSION &&
sudo ln -svfn qt-$VERSION /opt/qt5
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page