Page 1 of 1

Missing dependencies

Posted: 02 Oct 2016, 11:23
by ralcocer
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
)

Re: Missing dependencies

Posted: 02 Oct 2016, 20:53
by brokenman
The following will show you all missing dependencies: usm -d

QT is not a part of xfce4 and is not required.

Re: Missing dependencies

Posted: 03 Oct 2016, 00:28
by Bogomips
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:

Re: Missing dependencies

Posted: 03 Oct 2016, 15:46
by ralcocer
then remove QT v4l2 test utility from the multimedia menu

Re: Missing dependencies

Posted: 04 Oct 2016, 02:03
by brokenman
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.

Re: Missing dependencies

Posted: 12 Nov 2016, 13:40
by ralcocer
Check the var/log/packages and it is or was in the xfce4 package.

Re: Missing dependencies

Posted: 12 Nov 2016, 21:55
by brokenman
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.