When running my qyoto application I was receiving the following error:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Qyoto.QApplication ---> System.TypeInitializationException: An exception was thrown by the type initializer for Qyoto.SmokeInvocation ---> System.DllNotFoundException: /usr/lib/cli/qt-dotnet-4.5/libqyoto.so
/usr/lib/cli/qt-dotnet-4.5/libqyoto.so is a hard link to /usr/lib/libqyoto.so.2 which in turn is a sym link to /usr/lib/libqyoto.so.2.0.0
First I moved /usr/lib/libqyoto.so.2.0.0 to /usr/lib/cli/qt-dotnet-4.5/libqyoto.so and that fixed the error. Next, I changed the file /usr/lib/cli/qt-dotnet-4.5/qt-dotnet.dll.config by removing the reference to libqyotoshared.so.1 and then change the line:
<dllmap dll="qyoto" target="/usr/lib/cli/qt-dotnet-4.5/libqyoto.so"/>
to
<dllmap dll="qyoto" target="/usr/lib/libqyoto.so.2"/>
And that fixed the problem. So it appears that libqyotoshared1 isn't required and that hard links don't work from the config files.
When running my qyoto application I was receiving the following error: TypeInitializat ionException: An exception was thrown by the type initializer for Qyoto.QApplication ---> System. TypeInitializat ionException: An exception was thrown by the type initializer for Qyoto.SmokeInvo cation ---> System. DllNotFoundExce ption: /usr/lib/ cli/qt- dotnet- 4.5/libqyoto. so
Unhandled Exception: System.
/usr/lib/ cli/qt- dotnet- 4.5/libqyoto. so is a hard link to /usr/lib/ libqyoto. so.2 which in turn is a sym link to /usr/lib/ libqyoto. so.2.0. 0
First I moved /usr/lib/ libqyoto. so.2.0. 0 to /usr/lib/ cli/qt- dotnet- 4.5/libqyoto. so and that fixed the error. Next, I changed the file /usr/lib/ cli/qt- dotnet- 4.5/qt- dotnet. dll.config by removing the reference to libqyotoshared.so.1 and then change the line:
<dllmap dll="qyoto" target= "/usr/lib/ cli/qt- dotnet- 4.5/libqyoto. so"/> "/usr/lib/ libqyoto. so.2"/>
to
<dllmap dll="qyoto" target=
And that fixed the problem. So it appears that libqyotoshared1 isn't required and that hard links don't work from the config files.