fastogt/fastotv

Kubuntu 18.10: error while loading shared libraries

Opened this issue · 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

Hey, please start fastotv, not FastoTV

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"

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

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

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

Now i understand your issue, thank you!