fastotv icon indicating copy to clipboard operation
fastotv copied to clipboard

Kubuntu 18.10: error while loading shared libraries

Open BUG-reporter opened this issue 6 years ago • 7 comments

$ fastotv /opt/fastotv/bin/FastoTV: error while loading shared libraries: libva-drm.so.1: cannot open shared object file: No such file or directory

$ dpkg --get-selections | grep libva libva-drm2:amd64 install libva-wayland2:amd64 install libva-x11-2:amd64 install libva1:amd64 install libva2:amd64 install libvariable-magic-perl install

BUG-reporter avatar Dec 29 '18 16:12 BUG-reporter

Hey, please start fastotv, not FastoTV

topilski avatar Dec 29 '18 17:12 topilski

Here sources of fastotv script: https://github.com/fastogt/cmake/blob/ff71750e5dd07e7aae84d07d37416f0dcae4dc9c/projecthelper.cmake#L267

topilski avatar Dec 29 '18 18:12 topilski

Here content of fastotv file:

sasha@debian:~/work/fastotv/build$ cat build_linux/install/bin/fastotv 
#!/usr/bin/env bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
  DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
SOURCE_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
cd $SOURCE_DIR
export LD_LIBRARY_PATH="$SOURCE_DIR/../lib:$LD_LIBRARY_PATH"
"$SOURCE_DIR/FastoTV"

topilski avatar Dec 29 '18 18:12 topilski

Look, I'm starting fastotv, I don't know why it calls FastoTV.

BUG-reporter avatar Dec 29 '18 18:12 BUG-reporter

So, now application works as expected, we can close issue?

topilski avatar Dec 29 '18 18:12 topilski

Again: $ fastotv /opt/fastotv/bin/FastoTV: error while loading shared libraries: libva-drm.so.1: cannot open shared object file: No such file or directory

BUG-reporter avatar Dec 29 '18 18:12 BUG-reporter

Now i understand your issue, thank you!

topilski avatar Dec 29 '18 18:12 topilski