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

Anything and everything to do with DCP-o-matic.
mathiasdaniel
Posts: 4
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: 2620
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: 2843
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: 4
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: 2620
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: 4
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: 2620
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: 4
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...