Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubuntu 18.10: error while loading shared libraries #40

Open
BUG-reporter opened this issue Dec 29, 2018 · 7 comments
Open

Kubuntu 18.10: error while loading shared libraries #40

BUG-reporter opened this issue Dec 29, 2018 · 7 comments
Assignees

Comments

@BUG-reporter
Copy link

$ 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

@topilski
Copy link
Member

topilski commented Dec 29, 2018

Hey, please start fastotv, not FastoTV

@topilski
Copy link
Member

@topilski
Copy link
Member

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 topilski self-assigned this Dec 29, 2018
@BUG-reporter
Copy link
Author

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

@topilski
Copy link
Member

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

@BUG-reporter
Copy link
Author

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

@topilski
Copy link
Member

topilski commented Dec 29, 2018

Now i understand your issue, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants