LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-21-2021, 07:43 PM   #1
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Symlink of qt4 (although blacklisted) have been deleted on slackware64-current


Hi,

I use luckybackup, so I have qt4 installed
I've noticed (I don't really know exactly which upgrade) that all the symlinks have been removed from /usr/lib64 & /usr/lib64/qt/lib/ although I have blacklisted qt-4.* in /etc/slackpkg/blacklist

is the presence of qt4 a problem ?
And so, Should I avoid using it ?
Knowing I can do without it

My question is: is this normal for technical reasons, in which case we close the debate :-)

Last edited by marav; 04-21-2021 at 08:01 PM.
 
Old 04-22-2021, 06:22 AM   #2
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Is the package qt- there in /var/log/packages ?
If not your blacklist command was not applied correctly. Maybe because of a wrong syntax.

In this case do a installpkg qt-.... from your old qt4 package.

Else I don't see why some symlinks disappeared.

If you wan't a sbo like version of qt4 which can be compiled with the latest Slackware current, mine is here :
https://github.com/BrunoLafleur/pbsl.../kde4/other/qt
https://github.com/BrunoLafleur/pbsl...other/qtwebkit

The original qt package has been split in the two packages above for better respect of sbo rules.
 
Old 04-22-2021, 06:44 AM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Original Poster
Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by BrunoLafleur View Post
Is the package qt- there in /var/log/packages ?
Yes. but I reinstalled it

Here is my blacklist :
Code:
root:~/ # grep qt- /etc/slackpkg/blacklist
qt-4.*
Works well and was not removed, if a do a slackpkg clean-system

Quote:
In this case do a installpkg qt-.... from your old qt4 package.
Yes, I did that.

But it's ok for me.
Once I notice symlink have disapeared, I just have to reinstall the pkg
It doesn't take that long :-)

Last edited by marav; 04-22-2021 at 06:55 AM.
 
Old 04-23-2021, 11:33 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Were the symlinks ones that exist on the qt5 package? If so, any upgrade of qt5 will overwrite the symlinks from qt4 unless you make them immutable (chattr +i /location/to/symlink).
 
Old 04-23-2021, 12:17 PM   #5
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
qt4 has all libs in /usr/lib64/qt/lib
qt5 has them in /usr/lib64 and /usr/lib64/qt5

So there should not have conflicts between them.
 
Old 04-23-2021, 01:13 PM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Original Poster
Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by BrunoLafleur View Post
qt4 has all libs in /usr/lib64/qt/lib
qt5 has them in /usr/lib64 and /usr/lib64/qt5

So there should not have conflicts between them.
I confirm this :
Code:
root:~/ # locate libQtGui | xargs ls -l                                                                                                                     [20:12:02]
lrwxrwxrwx 1 root root       18 avril 22 02:33 /usr/lib64/libQtGui.so -> qt/lib/libQtGui.so
lrwxrwxrwx 1 root root       20 avril 22 02:33 /usr/lib64/libQtGui.so.4 -> qt/lib/libQtGui.so.4
lrwxrwxrwx 1 root root       22 avril 22 02:33 /usr/lib64/libQtGui.so.4.8 -> qt/lib/libQtGui.so.4.8
lrwxrwxrwx 1 root root       24 avril 22 02:33 /usr/lib64/libQtGui.so.4.8.7 -> qt/lib/libQtGui.so.4.8.7
-rw-r--r-- 1 root root      810 oct.  30 18:04 /usr/lib64/qt/lib/libQtGui.prl
lrwxrwxrwx 1 root root       17 avril 22 02:33 /usr/lib64/qt/lib/libQtGui.so -> libQtGui.so.4.8.7
lrwxrwxrwx 1 root root       17 avril 22 02:33 /usr/lib64/qt/lib/libQtGui.so.4 -> libQtGui.so.4.8.7
lrwxrwxrwx 1 root root       17 avril 22 02:33 /usr/lib64/qt/lib/libQtGui.so.4.8 -> libQtGui.so.4.8.7
-rwxr-xr-x 1 root root 11988192 oct.  30 18:12 /usr/lib64/qt/lib/libQtGui.so.4.8.7
EDIT : I re-opened this thread, I didn't think anyone was finally going to look into the subject :-)

Last edited by marav; 04-23-2021 at 01:18 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RHEL8 udev & partprob Error: Partition(s):1,2,3.. /dev/sdc1 have been written, but we have been unable to inform the kernel of the change scofieldd Red Hat 5 11-08-2019 11:02 AM
[SOLVED] symlink to symlink confusion, Reprovo Linux - Newbie 2 11-18-2014 02:17 PM
qt4.Slackbuild problems compiling qt4 Stragonian Slackware 3 11-26-2010 04:31 PM
Question How to get stat() of symlink and not of target of symlink ? ronbarak Programming 3 11-08-2010 12:14 PM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration