Hi, I downloaded and compiled makeMKV without errors or warnings, but when I want to start it, I get the error "CANT_LOCATE_MAKEMKVCON".
I run the Cinnamon Window Manager, no KDE. When I look into makemkvgui/src/main.cpp:96, the error appears when the program makemkvcon could not be initialized. I'm a bit lost, there is no file with this name in the source package, am I missing something?
Error on Linux Mint 21.2
-
segfaulted
- Posts: 112
- Joined: Mon May 06, 2024 11:10 am
Re: Error on Linux Mint 21.2
makemkvcon is part of the makemkv-bin package which is required in order to use the gui.Lord_Pinhead wrote: Thu Jul 25, 2024 7:28 am Hi, I downloaded and compiled makeMKV without errors or warnings, but when I want to start it, I get the error "CANT_LOCATE_MAKEMKVCON".
I run the Cinnamon Window Manager, no KDE. When I look into makemkvgui/src/main.cpp:96, the error appears when the program makemkvcon could not be initialized. I'm a bit lost, there is no file with this name in the source package, am I missing something?
Check the linux release page, it says to download both the oss and bin packages.
Re: Error on Linux Mint 21.2
Hello,
Thanks for this nice program. I just installed 1.17.9 because 1.17.8 claimed it was too old. I installed both oss and bin on linux Fedora 40 as usual.
I installed makemkv in /softs/makemkv-1.17.9 directory by running
./configure --prefix=/softs/makemkv-1.17.9 for the oss part
and I changed DESTDIR=/softs/makemkv-1.17.9 in the Makefile for the bin part.
I always do that which normally works fine.
But this time, I get an error when I start makemkv: "Application failed to initialize CANT_LOCATE_MAKEMKVCON".
However, the program makemkvcon is found in /softs/makemkv-1.17.9/usr/bin
I do not understand what to do.
Thanks for your help
Thanks for this nice program. I just installed 1.17.9 because 1.17.8 claimed it was too old. I installed both oss and bin on linux Fedora 40 as usual.
I installed makemkv in /softs/makemkv-1.17.9 directory by running
./configure --prefix=/softs/makemkv-1.17.9 for the oss part
and I changed DESTDIR=/softs/makemkv-1.17.9 in the Makefile for the bin part.
I always do that which normally works fine.
But this time, I get an error when I start makemkv: "Application failed to initialize CANT_LOCATE_MAKEMKVCON".
However, the program makemkvcon is found in /softs/makemkv-1.17.9/usr/bin
I do not understand what to do.
Thanks for your help
Re: Error on Linux Mint 21.2
I don't know if it's hard coded, but does it pass the "which" test? You could link it:
ln -s /softs/makemkv-1.17.9/usr/bin/makemkvcon /bin/makemkvcon
ln -s /softs/makemkv-1.17.9/usr/bin/makemkvcon /bin/makemkvcon
Re: Error on Linux Mint 21.2
Unfortunately, having a link in the PATH does not help.
-
segfaulted
- Posts: 112
- Joined: Mon May 06, 2024 11:10 am
Re: Error on Linux Mint 21.2
If you're installing makemkv to a custom path, you must also make sure the system knows where libmakemkv.so.1 is located. Based on the prefix you've given, the directory for you might be /softs/makemkv-1.17.9/lib64 though I could be wrong. Feel free to correct it for your system.elaranc wrote: Fri Mar 28, 2025 5:40 pm I installed makemkv in /softs/makemkv-1.17.9 directory by running
./configure --prefix=/softs/makemkv-1.17.9 for the oss part
and I changed DESTDIR=/softs/makemkv-1.17.9 in the Makefile for the bin part.
You can set the LD_LIBRARY_PATH variable to point to that lib64 directory before running makemkv.
Or you can add that diretory path into /etc/ld.so.conf then run ldconfig as root to apply the change.
Re: Error on Linux Mint 21.2
Thanks for your message. You are right, I include :
/softs/makemkv-1.17.9/bin to PATH
and
/softs/makemkv-1.17.9/lib to LD_LIBRARY_PATH.
This always worked for previous versions. First time I get this message (Application failed to initialize CANT_LOCATE_MAKEMKVCON) with 1.17.9. I do not know what to do.
/softs/makemkv-1.17.9/bin to PATH
and
/softs/makemkv-1.17.9/lib to LD_LIBRARY_PATH.
This always worked for previous versions. First time I get this message (Application failed to initialize CANT_LOCATE_MAKEMKVCON) with 1.17.9. I do not know what to do.
-
segfaulted
- Posts: 112
- Joined: Mon May 06, 2024 11:10 am
Re: Error on Linux Mint 21.2
You're saying it doesn't launch even when both of those variables are set up? What happens if you instead run makemkvcon on a terminal using those same variables?elaranc wrote: Sun Mar 30, 2025 8:13 pm Thanks for your message. You are right, I include :
/softs/makemkv-1.17.9/bin to PATH
and
/softs/makemkv-1.17.9/lib to LD_LIBRARY_PATH.
This always worked for previous versions. First time I get this message (Application failed to initialize CANT_LOCATE_MAKEMKVCON) with 1.17.9. I do not know what to do.
I looked at it again, and I suggest you use PREFIX instead of DESTDIR. Using DESTDIR will put the makemkv-bin content (such as makemkvcon) within a /usr subdirectory, and the resulting directory structure will be inconsistent with the content of makemkv-oss. Your PATH variable would need both /softs/makemkv-1.17.9/bin and /softs/makemkv-1.17.9/usr/binelaranc wrote: Fri Mar 28, 2025 5:40 pm I installed makemkv in /softs/makemkv-1.17.9 directory by running
./configure --prefix=/softs/makemkv-1.17.9 for the oss part
and I changed DESTDIR=/softs/makemkv-1.17.9 in the Makefile for the bin part.
It would be better if you start over with the install. When it's done correctly, the makemkv and makemkvcon executables should reside in the same bin folder.
Re: Error on Linux Mint 21.2
Big thank you @segfaulted!
You are completely right, in the past, I always set PREFIX, not DESTDIR and doing so still works in 1.17.9.
I feel so stupid!
Thank you so much.
You are completely right, in the past, I always set PREFIX, not DESTDIR and doing so still works in 1.17.9.
I feel so stupid!
Thank you so much.