LinuxQuestions.org
Review your favorite Linux distribution.
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 11-13-2023, 07:41 AM   #16
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148

Quote:
Originally Posted by Petri Kaukasoina View Post
They used mktemp.
Fair enough, been a while since I'd looked at either. My eyes/mind not as sharp as they/it once were/was!
 
Old 11-13-2023, 07:59 AM   #17
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
OK - Just tried the script on my system.
I accept that lyx is in need of an update. I have not used it in a while.
I really should remove vde2. That is an artifact from playing around with qemu.

But the others are all satisfied.
Code:
bash-5.1$ sh ./revdep.sh 
 lyx-2.3.6.1-x86_64-1_SBo: /usr/bin/lyx (requires libenchant.so.1)
 lyx-2.3.6.1-x86_64-1_SBo: /usr/bin/lyx (requires libhunspell-1.6.so.0)
 vde2-2.3.2-x86_64-1_SBo: /usr/bin/vde_cryptcab (requires libcrypto.so.1)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/gmp-clearkey/0.1/libclearkey.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libmozavcodec.so (requires libmozavutil.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libsoftokn3.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires liblgpllibs.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozgtk.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozsandbox.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozwayland.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/plugin-container (requires libxul.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libawt.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libawt_xawt.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libjava.so)
 libreoffice-7.6.2-x86_64-1alien: /usr/lib64/libreoffice/program/libofficebean.so (requires libjawt.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libmozavcodec.so (requires libmozavutil.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libprldap60.so (requires libldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires liblgpllibs.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozgtk.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozsandbox.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozsqlite3.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libprldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/plugin-container (requires libxul.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_baratinoo (requires libbaratinoo.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_ibmtts (requires libibmeci.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKAnalyse.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKGlobal.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKParle.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKTrans.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKali.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_voxin (requires libvoxin.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libmozavcodec.so (requires libmozavutil.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libsoftokn3.so (requires libmozsqlite3.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires liblgpllibs.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozgtk.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozsandbox.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozsqlite3.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozwayland.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/plugin-container (requires libxul.so)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/pcoip/vchan_plugins/libscredirvchanclient.so (requires libpcsclite.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/software/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavcodec.so.58 (requires libva.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavutil.so.56 (requires libva-x11.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavutil.so.56 (requires libva.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi2/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstapp-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstbase-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstreamer-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpau/libavcodec.so.58 (requires libx264.so.157.5)
 
1 members found this post helpful.
Old 11-13-2023, 08:12 AM   #18
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by allend View Post
OK - Just tried the script on my system.
I accept that lyx is in need of an update. I have not used it in a while.
I really should remove vde2. That is an artifact from playing around with qemu.

But the others are all satisfied.
Code:
bash-5.1$ sh ./revdep.sh 
 lyx-2.3.6.1-x86_64-1_SBo: /usr/bin/lyx (requires libenchant.so.1)
 lyx-2.3.6.1-x86_64-1_SBo: /usr/bin/lyx (requires libhunspell-1.6.so.0)
 vde2-2.3.2-x86_64-1_SBo: /usr/bin/vde_cryptcab (requires libcrypto.so.1)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/gmp-clearkey/0.1/libclearkey.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libmozavcodec.so (requires libmozavutil.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libsoftokn3.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires liblgpllibs.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozgtk.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozsandbox.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozsqlite3.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/libxul.so (requires libmozwayland.so)
 mozilla-firefox-115.4.0esr-x86_64-1_slack15.0: /usr/lib64/firefox/plugin-container (requires libxul.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libawt.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libawt_xawt.so)
 openjdk-8u382_b05-x86_64-1alien: /usr/lib64/java/lib/amd64/libjawt.so (requires libjava.so)
 libreoffice-7.6.2-x86_64-1alien: /usr/lib64/libreoffice/program/libofficebean.so (requires libjawt.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libmozavcodec.so (requires libmozavutil.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libprldap60.so (requires libldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires liblgpllibs.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozgtk.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozsandbox.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libmozsqlite3.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/libxul.so (requires libprldap60.so)
 seamonkey-2.53.17.1-x86_64-1_slack15.0: /usr/lib64/seamonkey/plugin-container (requires libxul.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_baratinoo (requires libbaratinoo.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_ibmtts (requires libibmeci.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKAnalyse.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKGlobal.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKParle.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKTrans.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_kali (requires libKali.so)
 speech-dispatcher-0.10.2-x86_64-5: /usr/lib64/speech-dispatcher-modules/sd_voxin (requires libvoxin.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libmozavcodec.so (requires libmozavutil.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libsoftokn3.so (requires libmozsqlite3.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires liblgpllibs.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozgtk.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozsandbox.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozsqlite3.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/libxul.so (requires libmozwayland.so)
 mozilla-thunderbird-115.4.1-x86_64-1_slack15.0: /usr/lib64/thunderbird/plugin-container (requires libxul.so)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/pcoip/vchan_plugins/libscredirvchanclient.so (requires libpcsclite.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/software/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavcodec.so.58 (requires libva.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavutil.so.56 (requires libva-x11.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi/libavutil.so.56 (requires libva.so.1)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vaapi2/libavcodec.so.58 (requires libx264.so.157.5)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstapp-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstbase-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpService/libtsmmrClient.so (requires libgstreamer-0.10.so.0)
 vmware-horizon-client-8.0.0-x86_64-7_DIA: /usr/lib64/vmware-client/vmware/view/vdpau/libavcodec.so.58 (requires libx264.so.157.5)
I suppose, the script does not look within /usr/lib64/seamonkey/, so not in the subfolders of the package itself
 
Old 11-13-2023, 08:34 AM   #19
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,794

Rep: Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473
This will probably find a lot fewer false positives: https://www.linuxquestions.org/quest...ml#post6446468
 
2 members found this post helpful.
Old 11-14-2023, 04:05 AM   #20
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
This will probably find a lot fewer false positives
True. It also trims out the missing speech-dispatcher modules (which are known to a special case).

I have also found that emmett1's script can have false positives reduced by creating these files in the /etc/ld.so.conf.d directory.
firefox.conf containing '/usr/lib64/firefox'
openjdk.conf containing '/usr/lib64/java/jre/lib/amd64'
seamonkey.conf containing '/usr/lib64/seamonkey'
thunderbird.conf containing '/usr/lib64/thunderbird'

Note that the above paths are for Slackware64 and that running 'ldconfig' is required to update the /etc/ld.so.cache file.

Last edited by allend; 11-14-2023 at 04:07 AM.
 
1 members found this post helpful.
Old 11-14-2023, 04:31 AM   #21
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Quote:
Originally Posted by allend View Post
True. It also trims out the missing speech-dispatcher modules (which are known to a special case).

I have also found that emmett1's script can have false positives reduced by creating these files in the /etc/ld.so.conf.d directory.
firefox.conf containing '/usr/lib64/firefox'
openjdk.conf containing '/usr/lib64/java/jre/lib/amd64'
seamonkey.conf containing '/usr/lib64/seamonkey'
thunderbird.conf containing '/usr/lib64/thunderbird'

Note that the above paths are for Slackware64 and that running 'ldconfig' is required to update the /etc/ld.so.cache file.
I once submitted an update of wps-office.SlackBuild that placed wps-office.conf there and it resulted in a broken system, since stuff tried to link against /opt/kingsoft/wps-office libraries instead of the default places. So, maybe it is not such good idea to do this...
 
2 members found this post helpful.
Old 11-14-2023, 04:37 AM   #22
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,794

Rep: Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473
Quote:
Originally Posted by allend View Post
creating these files in the /etc/ld.so.conf.d directory.
I'm not sure it's a good idea. Probably there is no harm, but they are supposed to be for internal use of those programs (firefox etc), not for general use. There are even libraries with same names, for example different sized libxul.so libraries in subdirectories of firefox, thunderbird, and seamonkey.

Last edited by Petri Kaukasoina; 11-14-2023 at 04:38 AM. Reason: solarfields was faster
 
2 members found this post helpful.
Old 11-14-2023, 04:42 AM   #23
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Thanks for the warning on the use of /etc/ld.so.conf.d
 
Old 11-14-2023, 04:46 AM   #24
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
allend,

CRUX's revdep has a special folder /etc/revdep.d, where you'd put paths specific for a package, e.g. wps-office.conf, so it does not report stuff that's OK. Also, I guess it scans recursively /usr/lib/foo, as well.
 
  


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] Script to trigger second script--second script gets arguments of first script keif Linux - General 10 08-12-2021 01:25 AM
Slackware Configuration Script - my first script moisespedro Slackware 14 01-27-2014 11:46 AM
revdep-rebuild always recompiles evolution-data-server crosstalk Gentoo 3 05-20-2011 07:52 AM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
revdep-rebuild error in Gentoo vharishankar Linux - Distributions 2 06-10-2005 04:05 AM

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

All times are GMT -5. The time now is 09:03 AM.

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