Frage

Ich möchte das Webbrowser-Steuerelement in einer Monoanwendung verwenden, erhalte jedoch die Fehlermeldung „libgluezilla nicht gefunden“.Um Webbrowser-Unterstützung zu haben, muss libgluezilla installiert sein.“ Die Installation von Intrepid Deb führt dazu, dass jede Anwendung, die auf das Webbrowser-Steuerelement verweist, beim Start abstürzt mit:„Thread (nil) wurde möglicherweise vorzeitig abgeschlossen.“

War es hilfreich?

Lösung

apt-cache search libgluezilla
libmono-mozilla0.1-cil - Mono Mozilla library

Aus der Paketbeschreibung:

Description: Mono Mozilla library
 Mono is a platform for running and developing applications based on the
 ECMA/ISO Standards. Mono is an open source effort led by Novell.
 Mono provides a complete CLR (Common Language Runtime) including compiler and
 runtime, which can produce and execute CIL (Common Intermediate Language)
 bytecode (aka assemblies), and a class library.
 .
 This package contains the implementation of the WebControl class based on the
 Mozilla engine using libgluezilla.
Homepage: http://www.mono-project.com/

Sie müssen wahrscheinlich alles deinstallieren, was von intrepid kam, ohne ordnungsgemäß zurückportiert zu werden.

Andere Tipps

Hier ist ein Link dazu auf der Ubuntu-Site:

http://packages.ubuntu.com/intrepid/libgluezilla

Unten gibt es einen Download-Bereich für ein Deb-Paket

Nach der Installation des DEB, auf das John hingewiesen hat, stürzt meine App ab ...Liegt das daran, dass die Deb für das falsche Ubuntu ist (8.08 statt 8.04)?Es scheint die richtige Version von libgluezilla für die Version von Mono zu sein (alles ist so).1.9.1)...

Folgendes erhalte ich, wenn ich versuche, die Anwendung mit auszuführen

$MONO_LOG_LEVEL=debug mono TestbedCSharp.exe


Mono-INFO: Assembly Loader probing location: '/usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll'.
Mono-INFO: Image addref Mono.Mozilla 0x8514cb0 -> /usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll 0x8514590: 2

Mono-INFO: Assembly Ref addref Mono.Mozilla 0x8514cb0 -> mscorlib 0x823ba30: 10

Mono-INFO: Assembly Mono.Mozilla 0x8514cb0 added to domain TestbedCSharp.exe, ref_count=1

Mono-INFO: AOT failed to load AOT module /usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll.so: /usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll.so: cannot open shared object file: No such file or directory

Mono-INFO: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll'.
Mono-INFO: Config attempting to parse: '/usr/lib/mono/gac/Mono.Mozilla/0.2.0.0__0738eb9f132ed756/Mono.Mozilla.dll.config'.
Mono-INFO: Config attempting to parse: '/etc/mono/assemblies/Mono.Mozilla/Mono.Mozilla.config'.
Mono-INFO: Config attempting to parse: '/home/kris/.mono/assemblies/Mono.Mozilla/Mono.Mozilla.config'.
Mono-INFO: Assembly Ref addref System.Windows.Forms 0x82880d8 -> Mono.Mozilla 0x8514cb0: 2

Mono-INFO: Assembly Ref addref Mono.Mozilla 0x8514cb0 -> System 0x8290908: 5

Mono-INFO: DllImport attempting to load: 'gluezilla'.
Mono-INFO: DllImport loading location: 'libgluezilla.so'.
Mono-INFO: Searching for 'gluezilla_init'.
Mono-INFO: Probing 'gluezilla_init'.
Mono-INFO: Found as 'gluezilla_init'.

** (TestbedCSharp.exe:22700): WARNING **: Thread (nil) may have been prematurely finalized
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top