On Sun, Feb 24, 2019 at 12:15 AM Bruce Dubbs via blfs-dev
<[email protected]> wrote:
>
> 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.

Yes. I deleted them and followed the book manually to build Qt and
received the same error.
The ld.so.conf isn't updated until after make install and all of the
.desktop files are added.
Up to this point, I build everything using jhalfs with tests disabled.
My system (ThinkPad) is common enough, I didn't see a reason to wait
for all of the tests. I haven't had any trouble with any other
package.

> 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
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to