Missing dependency

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Missing dependency

Post#1 by Jack » 13 Dec 2017, 17:24

Is there a command that I can use to fine missing dependency? I use ldd like this ldd /usr/bin/mate-panel but it shows all the dependency but not the missing.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Missing dependency

Post#2 by fulalas » 13 Dec 2017, 20:00

ldd shows all the dependencies, including the missing ones (you'll see a 'file not found' in these cases).

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Missing dependency

Post#3 by wread » 13 Dec 2017, 21:31

@Jack
Use ldd /usr/bin/mate-panel | grep found to find the missing dependencies :crazy:
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Missing dependency

Post#4 by Jack » 13 Dec 2017, 22:17

This is the output.

Code: Select all

guest@porteus:~$ ldd /usr/bin/mate-panel | grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# ldd /usr/bin/mate-panel | grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
root@porteus:/home/guest#
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Missing dependency

Post#5 by Ed_P » 13 Dec 2017, 22:26

wread wrote:
13 Dec 2017, 21:31
Use ldd /usr/bin/mate-panel | grep found
Jack wrote:
13 Dec 2017, 22:17
This is the output.

Code: Select all

guest@porteus:~$ ldd /usr/bin/mate-panel | grep
  :
  :
root@porteus:/home/guest# ldd /usr/bin/mate-panel | grep
;)
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Missing dependency

Post#6 by Jack » 14 Dec 2017, 02:13

I did this USM -d and it found this.

Code: Select all

####################################

libkpathsea.so.6 => not found
libspectre.so.1 => not found
libgs.so.9 => not found
Required by: atril-1.19.4-x86_64-1_msb (/usr/lib64/atril/3/backends/libdvidocument.so)

libspectre.so.1 => not found
libgs.so.9 => not found
Required by: atril-1.19.4-x86_64-1_msb (/usr/lib64/atril/3/backends/libpsdocument.so)

libhunspell-1.6.so.0 => not found
Required by: enchant-1.6.1-x86_64-1 (/usr/lib64/enchant/libenchant_myspell.so)

libkdeui.so.5 => not found
libkdecore.so.5 => not found
libQtCore.so.4 => not found
libQtGui.so.4 => not found
Required by: flashplayer-plugin-27.0.0.187-x86_64-1 (/usr/lib64/kde4/kcm_adobe_flash_player.so)

libgd.so.3 => not found
Required by: glibc-2.26-x86_64-3 (/usr/bin/memusagestat)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/bin/diffimg)

libgd.so.3 => not found
libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/bin/dot_builtins)

libQtGui.so.4 => not found
libQtCore.so.4 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/bin/gvedit)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/graphviz/libgvplugin_gd.so.6.0.0)

libgs.so.9 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/graphviz/libgvplugin_gs.so.6.0.0)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/graphviz/tcl/libgdtclft.so.0.0.0)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/graphviz/tcl/libtcldot.so.0.0.0)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/tcl8.6/graphviz/libgdtclft.so.0.0.0)

libgd.so.3 => not found
Required by: graphviz-2.40.1-x86_64-1_msb (/usr/lib64/tcl8.6/graphviz/libtcldot.so.0.0.0)

libgstreamer-1.0.so.0 => not found
Required by: libcanberra-0.30-x86_64-5 (/usr/lib64/libcanberra-0.30/libcanberra-gstreamer.so)

libgd.so.3 => not found
Required by: libgphoto2-2.5.16-x86_64-1 (/usr/lib64/libgphoto2/2.5.16/ax203.so)

libgd.so.3 => not found
Required by: libgphoto2-2.5.16-x86_64-1 (/usr/lib64/libgphoto2/2.5.16/st2205.so)

libgd.so.3 => not found
Required by: libgphoto2-2.5.16-x86_64-1 (/usr/lib64/libgphoto2/2.5.16/tp6801.so)

libcpufreq.so.0 => not found
Required by: mate-applets-1.19.2-x86_64-1_msb (/usr/bin/mate-cpufreq-selector)

libtcl8.6.so => not found
Required by: newt-0.52.20-x86_64-2 (/usr/lib64/whiptcl.so)

libboost_program_options.so.1.65.1 => not found
Required by: pamixer-1.3.1-x86_64-4 (/usr/bin/pamixer)

libmariadb.so.3 => not found
Required by: perl-5.26.1-x86_64-3 (/usr/lib64/perl5/vendor_perl/auto/DBD/mysql/mysql.so)

libQtGui.so.4 => not found
libQtXml.so.4 => not found
libQtCore.so.4 => not found
Required by: poppler-0.59.0-x86_64-1 (/usr/lib64/libpoppler-qt4.so.4.11.0)

libtk8.6.so => not found
libtcl8.6.so => not found
Required by: python-2.7.14-x86_64-1 (/usr/lib64/python2.7/lib-dynload/_tkinter.so)

libtk8.6.so => not found
libtcl8.6.so => not found
Required by: python3-3.6.3-x86_64-1 (/usr/lib64/python3.6/lib-dynload/_tkinter.cpython-36m-x86_64-linux-gnu.so)

libQtOpenGL.so.4 => not found
libQtGui.so.4 => not found
libQtCore.so.4 => not found
Required by: v4l-utils-1.10.0-x86_64-1 (/usr/bin/qv4l2)

libMagickWand-6.Q16HDRI.so.5 => not found
libMagickCore-6.Q16HDRI.so.5 => not found
Required by: xine-lib-1.2.8-x86_64-3 (/usr/lib64/xine/plugins/2.6/xineplug_decode_image.so)

####################################


 Missing dependencies:  19

libMagickCore-6.Q16HDRI.so.5
libMagickWand-6.Q16HDRI.so.5
libQtCore.so.4
libQtGui.so.4
libQtOpenGL.so.4
libQtXml.so.4
libboost_program_options.so.1.65.1
libcpufreq.so.0
libgd.so.3
libgs.so.9
libgstreamer-1.0.so.0
libhunspell-1.6.so.0
libkdecore.so.5
libkdeui.so.5
libkpathsea.so.6
libmariadb.so.3
libspectre.so.1
libtcl8.6.so
libtk8.6.so
Searching  libMagickCore-6.Q16HDRI.so.5:  found 0 packages.
Searching  libMagickWand-6.Q16HDRI.so.5:  found 0 packages.
Searching  libQtCore.so.4:  found 3 packages.
This was nice tool.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Missing dependency

Post#7 by Jack » 14 Dec 2017, 03:38

I rerun USM -d and downloaded these.

Code: Select all

 The following packages are ready to download: 

copasi-4.22.170-x86_64-1_slonly.txz [28.92 MB]
cpufrequtils-008-x86_64-1.txz [36 KB]
gd-2.2.4-x86_64-1_slack14.2.txz [144 KB]
ghostscript-9.19-x86_64-2.txz [13.19 MB]
gstreamer-1.6.4-x86_64-1.txz [1.69 MB]
kdelibs-4.14.32-x86_64-1_slack14.2.txz [12.51 MB]
texlive-2017.171108-x86_64-1_slonly.txz [76.46 MB]
libspectre-0.2.7-x86_64-1.txz [40 KB]
tcl-8.6.5-x86_64-2.txz [2.67 MB]
tk-8.6.5-x86_64-2.txz [1.66 MB]
I look at the size do I need these if it seem to work?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Missing dependency

Post#8 by francois » 15 Dec 2017, 22:55

No you do not necessarily need all of the content of these packages. But surely some libraries within these pacages.
Try

Code: Select all

/usr/bin/mate-panel
to pick them up one by one.
or look at the output you gave us, second post above of yours:

Code: Select all

...
libQtCore.so.4
...
...
Searching  libQtCore.so.4:  found 3 packages.
Prendre son temps, profiter de celui qui passe.

Post Reply