Ubuntu 20.04: VLC error on startup

Found a problem? Is BallroomDJ 3 crashing or popping up error messages? Having trouble making something work? Describe the problem here.
m46aonat
Posts: 11
Joined: Fri Feb 01, 2019 10:04 pm

Ubuntu 20.04: VLC error on startup

Post by m46aonat »

Hi Brad,
I have installed version 3.29.21 on Ubuntu 20.04 with the ./INSTALLER script. It worked like a charm. :D Thanks.
When starting BallroomDJ, I get the message "VLC is missing important files or not installed".

Installation script installed VLC 3.0.9.
Installing VLC 3.0.11 manually does not solve the problem.

Any suggestions?
Many thanks
BR Wolfgang
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

Researching.
I can't even find that message in my code base.
You need both the 'vlc' package and 'libvlc5' package. And the versions should match.

I have to uninstall a bunch of packages on my Ubuntu 20.04 and try installing from scratch to see what happens.
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

If you start VLC only, does it run properly?
Also, if I can see your $HOME/BallroomDJ/data/linuxinstall.log, that would be useful.
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

Can you also run:

Code: Select all

cd $HOME/BallroomDJ
./utils/bdjinfo.tcl | grep -i vlc
And copy/paste the output here.
m46aonat
Posts: 11
Joined: Fri Feb 01, 2019 10:04 pm

Re: Ubuntu 20.04: VLC error on startup

Post by m46aonat »

Hi Brad,
sorry for being not correct, when entering the error message.
The correct error message is: "VLC version is too old or missing files. Please upgrade VLC"

The zip File attached contains the installation log and the output from bdjinfo.tcl

Many thanksfor your support.
BR Wolfgang
Attachments
bdjinfo.zip
(11.35 KiB) Downloaded 1214 times
m46aonat
Posts: 11
Joined: Fri Feb 01, 2019 10:04 pm

Re: Ubuntu 20.04: VLC error on startup

Post by m46aonat »

btw, VLC is starting up normally.
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

Ok, That's my error message. BallroomDJ is not finding libvlc.
Is this a 32-bit linux? I have Ubuntu 20.04 64-bit installed on a VM here.
I generally run the 32-bit tests on Ubuntu 16.04.

I check the following paths for libvlc.so or libvlc.so.5
/usr/lib /usr/lib64 /usr/lib/x86_64-linux-gnu /usr/lib/i386-linux-gnu /usr/local/lib $HOME/local/lib
On 64-bit Ubuntu 20.04, it is found here:
/usr/lib/x86_64-linux-gnu/libvlc.so.5
On 32-bit Ubuntu 16.04, it is found here:
/usr/lib/libvlc.so

Can you run the following command on your system:

Code: Select all

find /usr -name 'libvlc.so*' -print
And let me know what it outputs.
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

You're running a 64-bit linux, I don't know why the path to the library would be different.
Let's make sure libvlc exists.
m46aonat
Posts: 11
Joined: Fri Feb 01, 2019 10:04 pm

Re: Ubuntu 20.04: VLC error on startup

Post by m46aonat »

Output from find /usr -name 'libvlc.so*' -print
/usr/lib/x86_64-linux-gnu/libvlc.so.5.6.0
/usr/lib/x86_64-linux-gnu/libvlc.so.5
bll
Site Admin
Posts: 692
Joined: Fri Feb 28, 2014 2:12 am
Operating System: Linux

Re: Ubuntu 20.04: VLC error on startup

Post by bll »

This is very odd. I'm certainly not having any issues on my Ubuntu 20.04.
Try re-installing vlc and libvlc5:

Code: Select all

sudo apt remove vlc libvlc5
sudo apt install vlc libvlc5
I have a little test script in the attached zip file. Use the commands below to run it.
I would be interested in any output that is displayed.
testvlc.zip
(465 Bytes) Downloaded 1214 times

Code: Select all

unzip -q testvlc.zip  # or whatever method you prefer to extract the files
chmod a+rx testvlc.tcl
./testvlc.tcl
Locked