Missing dependencies

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
ralcocer
Samurai
Samurai
Posts: 187
Joined: 02 Jan 2011, 12:53
Distribution: 3.2rc5 Xfce
Location: Puerto Rico
Contact:

Missing dependencies

Post#1 by ralcocer » 02 Oct 2016, 11:23

The following dependencies in xfce4 in the recent r5 are missing

qv4l2
libQtOpenGL.so.4 => not found
libQtGui.so.4 => not found
libQtCore.so.4 => not found

I use this script to find dependancies

Code: Select all

#!/bin/bash



dir="${1}"

if [ "${dir}" == "" ]; then
	echo "You must pass a directory as a parameter."
	exit 1
fi

echo "The following file in ${dir} depend on a lib and will need to be rebuilt:"

( cd "${dir}" &&
  for file in *
  do
    if [ ! -d ${file} ]; then
      elf=`file ${file} | grep ELF`
      if [ "${elf}" != "" ]; then
          missing=`ldd ${file} | grep "not found"`
          if [ "${missing}" != "" ]; then
            echo "-------" 
            echo "${file}" 
	    echo "${missing}"
	    
	   
          fi
      fi
    fi
  done
)

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Missing dependencies

Post#2 by brokenman » 02 Oct 2016, 20:53

The following will show you all missing dependencies: usm -d

QT is not a part of xfce4 and is not required.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Missing dependencies

Post#3 by Bogomips » 03 Oct 2016, 00:28

ralcocer wrote:I use this script to find dependancies
Thanks for the script. I'm forever doing this manually for the odd bin/lib. Gave something to build on in order to do just the one bin/lib in keeping with my requirements. Could not see need of doing all in a directory. :unknown:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
ralcocer
Samurai
Samurai
Posts: 187
Joined: 02 Jan 2011, 12:53
Distribution: 3.2rc5 Xfce
Location: Puerto Rico
Contact:

Re: Missing dependencies

Post#4 by ralcocer » 03 Oct 2016, 15:46

then remove QT v4l2 test utility from the multimedia menu

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Missing dependencies

Post#5 by brokenman » 04 Oct 2016, 02:03

Are you sure you don't have some other module activated (like printing) that has the v4l-utils package in it? I am on rc5 and there is no v4l desktop file in xfce4.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ralcocer
Samurai
Samurai
Posts: 187
Joined: 02 Jan 2011, 12:53
Distribution: 3.2rc5 Xfce
Location: Puerto Rico
Contact:

Re: Missing dependencies

Post#6 by ralcocer » 12 Nov 2016, 13:40

Check the var/log/packages and it is or was in the xfce4 package.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Missing dependencies

Post#7 by brokenman » 12 Nov 2016, 21:55

Check the var/log/packages and it is or was in the xfce4 package.
The package is there, yes. The desktop file for it is removed automatically via script when I build the module.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply