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

Bug #769916 reported by Alessio Parma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebindings (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.