I've got an interesting one for you all. I'm running a clean install of Ubuntu 20.04, and I've been trying to find the right combination of MakeMKV and VLC. So far, I'm using VLC installed and running via Snap and MakeMKV which has been installed from source (based upon the
post from Mike as cited by belmakier).
I've been trying to troubleshoot VLC's access to /usr/lib/libmmbd.so.0 for a week or so. The read-only filesystem features of the snap installation are desirable from a security and runtime perspective. Being the case that VideoLAN is maintaining their snap, this seems to be the recommended way to install, and I'd like to stick with that if possible. Of course, this makes it challenging to override VLC's library usage via strategic symlinks to libmmbd. I've been picking their brain over at the VideoLAN forum as well.
In the course of my analysis, I found something curious (thanks to the posts in this thread). When I looked at the following:
Code: Select all
~$ ll /usr/lib/x86_64-linux-gnu/libmmbd*
lrwxrwxrwx 1 root root 14 Aug 19 06:16 /usr/lib/x86_64-linux-gnu/libmmbd.so.0 -> libbdplus.so.0 # Symlink created by what?
I found a symlink pointing to libbdplus.so.0. The date of my compile and install of MakeMKV was August 11th, so I know that wasn't placed by that installation. Unless I was really tired one night and accidentally created this symlink (unlikely), I cannot figure out what would have created this.
For comparison, my actual /usr/lib/libmmbd.so.0 was installed on August 11th with MakeMKV:
Code: Select all
$ ll /usr/lib/libmmbd*
-rw-r--r-- 1 root root 47688 Aug 11 23:19 /usr/lib/libmmbd.so.0 ## Installed by MakeMKV
$ ll /usr/bin/makemkv*
-rwxr-xr-x 1 root root 30669960 Aug 11 23:19 /usr/bin/makemkv*
-rwxr-xr-x 1 root root 6023048 Aug 11 23:28 /usr/bin/makemkvcon*
I don't know if the VLC install is the culprit either as my copy is from August 17th.
Code: Select all
$ ll /var/lib/snapd/snaps/vlc*
-rw------- 2 root root 304545792 Aug 17 20:58 /var/lib/snapd/snaps/vlc_1700.snap
Either way, this symlink to libbdplus seems like the complete opposite of what we want to do with libmmbd. I don't know why
I would have created it, so I'm curious to know how it got there. Has anyone else seen this magically appear on their system?
Ultimately, I'm not getting VLC to play Blu-ray discs directly at this point. I may look into compiling VLC instead of using the snap install (which would allow me to create a libaacs and libbdplus symlink to libmmbd and get things working), but I'd really like to stick with the convenience of the snap method. I'd appreciate any suggestions or thoughts on this as well.