Page 1 of 2
Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 7:24 am
by m46aonat
Hi Brad,
I have installed version 3.29.21 on Ubuntu 20.04 with the ./INSTALLER script. It worked like a charm.

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
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 7:51 am
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.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 8:02 am
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.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 8:11 am
by bll
Can you also run:
Code: Select all
cd $HOME/BallroomDJ
./utils/bdjinfo.tcl | grep -i vlc
And copy/paste the output here.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 10:54 am
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
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 10:57 am
by m46aonat
btw, VLC is starting up normally.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 12:31 pm
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.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 12:45 pm
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.
Re: Ubuntu 20.04: VLC error on startup
Posted: Fri Aug 14, 2020 10:15 pm
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
Re: Ubuntu 20.04: VLC error on startup
Posted: Sat Aug 15, 2020 3:36 pm
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.
Code: Select all
unzip -q testvlc.zip # or whatever method you prefer to extract the files
chmod a+rx testvlc.tcl
./testvlc.tcl