DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Anything and everything to do with DCP-o-matic.
mathiasdaniel
Posts: 7
Joined: Tue Feb 04, 2025 8:41 am

DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by mathiasdaniel »

Hi!
I've just installed the latest version (first 2.18.9, then 2.18.10) but the program aborts during startup with the error message "DCP-o-matic courld not start. Unable to load openssl xmlsec-crypto library". I've tried installing, uninstalling, reinstalling, rebooting in between, and tried the two latest installers.. Anyone who has any clue about what is going on here? - Any help would be much appreciated!:)
carl
Site Admin
Posts: 2727
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by carl »

Hi,

That's strange, I just tested it on a empty Windows 10 VM and it works for me. Please could you try this installer?

https://dcpomatic.com/temp/xmlsec-debug ... taller.exe

At the very least it should give a slightly more informative error message.

Best,
Carl
Carsten
Posts: 2918
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by Carsten »

Maybe some antivirus/security essential hickup. Check your antivirus logs.
mathiasdaniel
Posts: 7
Joined: Tue Feb 04, 2025 8:41 am

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by mathiasdaniel »

Hi Carl!
Thanks so much for the quick reply! I ran the installer - but the error message is pretty much the same - only this time it ends with (-1). I also checked the windows security settings and currently there is no report of any detected threats of any kind - so there is no indication that there has been a problem running any sub process - from a very superficial pov at least...
carl
Site Admin
Posts: 2727
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by carl »

Maybe we can try to get some more debug logs... can you download this file

https://dcpomatic.com/temp/config.xml

and copy it to c:\users\your_user_name\AppData\Local\dcpomatic2\2.18\config.xml

Then install

https://dcpomatic.com/temp/xmlsec-debug ... taller.exe

and run DCP-o-matic - alongside the crashing DCP-o-matic there should be a black window with some text, of which a screenshot might be useful!

Thanks,
Carl
mathiasdaniel
Posts: 7
Joined: Tue Feb 04, 2025 8:41 am

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by mathiasdaniel »

Thanks again -
So the terminal readout is like this:
DCP-o-matic is starting.
../../xmlsec-xmlsec-1_2_29/src/dl.c 135 xmlSecCryptoDLLibraryCreate (null) lt_dlopenext 7 name="libxmlsec1-openssl"; errno=2
../../xmlsec-xmlsec-1_2_29/src/dl.c 442 xmlSecCryptoDLGetLibraryFunctions (null) xmlSecCryptoDLLibraryCreate 1 crypto=openssl
../../xmlsec-xmlsec-1_2_29/src/dl.c 400 xmlSecCryptoDLLoadLibrary (null) xmlSecCryptoDLGetLibraryFunctions 1
I've attached a screengrab as well..
You do not have the required permissions to view the files attached to this post.
carl
Site Admin
Posts: 2727
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by carl »

Do you have the file libxmlsec1-openssl.dll in c:\Program Files\DCP-o-matic 2\bin ?
mathiasdaniel
Posts: 7
Joined: Tue Feb 04, 2025 8:41 am

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by mathiasdaniel »

both the libxmlsec1.dll and libxmlsec1-openssl.dll are there...
mathiasdaniel
Posts: 7
Joined: Tue Feb 04, 2025 8:41 am

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by mathiasdaniel »

Hi again Carl! -back here after a long while-
after installing the latest build of dcp-o-matic, and getting the same error message as described earlier, I also tried launching the CLI-version of d-o-m and got a more helpful error message (maybe) saying: "dcpomatic2_cli.exe - Entry Point Not Found" - "The procedure entry point DllMain could not be located in the dynamic link library C:\Porgram Files\SGO Apps\Mistika Boutique\bin\libxmlsec1-openssl.dll
So, the Program Mistika Boutique (which is my main application on this workstation - and thus can not be removed or disabled) also uses this .dll. So this application cross-linking (not sure if this is the right use of the term) - could this be caused by some settings in PATH or Registry? And - in that case - would it be possible to alleviate this without removing/disabling either of the apps?
Edit: add full terminal readout:
func=xmlSecCryptoDLLibraryCreate:file=../../xmlsec-xmlsec-1_2_29/src/dl.c:line=135:obj=unknown:subj=lt_dlopenext:error=7:io function failed:name="libxmlsec1-openssl"; errno=2
func=xmlSecCryptoDLGetLibraryFunctions:file=../../xmlsec-xmlsec-1_2_29/src/dl.c:line=442:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=../../xmlsec-xmlsec-1_2_29/src/dl.c:line=400:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
terminate caught unhandled exception. what(): unable to load openssl xmlsec-crypto library

Best, Mathias
carl
Site Admin
Posts: 2727
Joined: Thu Nov 14, 2013 2:53 pm

Re: DCP-o-matic will not start (on Windows 10) - xmlsec-issue

Post by carl »

Hi Mathias,

Sorry I lost track of this thread! It's strange that Windows seems to be choosing that other libxmlsec1-openssl DLL.

Are you running dcpomatic2_cli.exe from the Program Files\DCP-o-matic 2\bin directory? If so, what does

Code: Select all

dir libxml1-openssl.dll
display?