Package libqyoto4.5-cil is missing dependency on libqyotoshared1

Bug #677903 reported by Colin Svingen
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kdebindings (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: libqyoto4.5-cil

cat /usr/lib/cli/qt-dotnet-4.5/qt-dotnet.dll.config
<configuration>
<dllmap dll="qyoto" target="/usr/lib/cli/qt-dotnet-4.5/libqyoto.so"/>
<dllmap dll="qyotoshared" target="/usr/lib/libqyotoshared.so.1"/>
</configuration>

aptitude show libqyoto4.5-cil
Package: libqyoto4.5-cil
New: yes
State: installed
Automatically installed: no
Version: 4:4.5.1-0ubuntu3
Priority: optional
Section: cli-mono
Maintainer: Kubuntu Developers <email address hidden>
Uncompressed Size: 3,535k
Depends: libc6 (>= 2.3.4), libqt4-dbus (>= 4:4.5.3), libqt4-network (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.5.3), libsmokebase4-3 (= 4:4.5.1-0ubuntu3),
         libsmokeqtcore4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtdbus4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtgui4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtnetwork4-3 (= 4:4.5.1-0ubuntu3),
         libsmokeqtopengl4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtsql4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtsvg4-3 (= 4:4.5.1-0ubuntu3), libsmokeqtxml4-3 (= 4:4.5.1-0ubuntu3), libstdc++6
         (>= 4.1.1), cli-common (>= 0.5.1), libmono-corlib2.0-cil (>= 2.6.3), libmono-system2.0-cil (>= 2.6.3), libsmokeqt4-3 (= 4:4.5.1-0ubuntu3)
Replaces: libqyoto4.4-cil
Description: Qt 4 bindings for CLI
 This package provides the Qt-dotnet assembly that allows CLI-based software to use the Qt library.

 This is part of the KDE Bindings module.
Homepage: http://www.kde.org

No dependency for libqyotoshared1 even though the config file implies it's required. NOTE: fixing the dependency won't completely fix the problem. The package libqyotoshared1 does not actually provide /usr/lib/libqyotoshared.so.1 as reported in a separate bug.

Revision history for this message
Colin Svingen (swoogan) wrote :

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.

Revision history for this message
flying sheep (flying-sheep) wrote :

your workaround does not work for me now (kubuntu maverick), although i know it did on an earlier ubuntu installation.

doing anything of the above doesn’t influence the exceptions thrown at runtime at all.

here my stack trace:
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 BooWorld.BooWorldModule.Main (System.String[] argv) [0x00000] in <filename unknown>:0

Changed in kdebindings (Ubuntu):
status: New → Confirmed
Revision history for this message
kstewart (kienan-stewart) wrote :

I experienced the same issue. (Ubuntu Maverick)
changes proposed by Colin worked for me (though I just symlinked /usr/lib/libqyoto.so.2 to /usr/lib/cli/qt-dotnet4.5/libqyoto.so)

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.