Public bug reported:

Ubuntu release I am using: Ubuntu 11.04 beta 2

Package name: libqyoto4.5-cil
Package version: 4:4.6.2b-0ubuntu1

I expected to be able to compile the applications using Mono/Qt with the
following command (MyQtApp.cp contains the first example presented here:
http://zetcode.com/tutorials/qyotosharptutorial/introduction/):

gmcs -r:/usr/lib/cli/qt-dotnet-4.5/qt-dotnet.dll MyQtApp.cs

The compilation went fine but, when I started the executable, I got 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
  at (wrapper managed-to-native) Qyoto.Qyoto:Init_qyoto ()
  at Qyoto.SmokeInvocation.InitRuntime () [0x00000] in <filename unknown>:0 
  at Qyoto.SmokeInvocation..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Qyoto.QApplication..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at QyotoApp.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Looking in the folder /usr/lib/cli/qt-dotnet-4.5, I found that the file
libqyoto.so (installed by the package) is a broken link. Making that
file pointing to /usr/lib/libqyoto.so.2.0.0 (installed by package
libqyoto2) makes the program compile and run correctly.

** Affects: kdebindings (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebindings in Ubuntu.
https://bugs.launchpad.net/bugs/769916

Title:
  Package "libqyoto4.5-cil" has a broken link

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to