From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 22 13:14:37 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F2C2106564A for ; Thu, 22 Apr 2010 13:14:37 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id F00988FC20 for ; Thu, 22 Apr 2010 13:14:36 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id o3MDEQq6024681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Apr 2010 17:14:27 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1O4wEc-00065v-Ge; Thu, 22 Apr 2010 17:14:26 +0400 From: Vladimir Grebenschikov To: Bernhard Froehlich In-Reply-To: <1271941698.23318.2.camel@localhost> References: <1271848624.4068.6.camel@localhost> <6e74840f54319f7b98129e686bddf445@bluelife.at> <1271911737.2639.62.camel@localhost> <1271941698.23318.2.camel@localhost> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Apr 2010 17:14:26 +0400 Message-ID: <1271942066.23318.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.30.0.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org Subject: Re: VBoxManage CLI does not works any more ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 13:14:37 -0000 Hi=20 And looks like png linked in non-trivial fashion into VBox: $ ldd /usr/local/lib/virtualbox/components/VBoxC.so | fgrep png=20 $ nm /usr/local/lib/virtualbox/components/VBoxC.so | fgrep t\ png_ | wc -l 176 $ nm /usr/local/lib/virtualbox/components/VBoxC.so | fgrep U\ png U png_set_longjmp_fn $ -----Original Message----- From: Vladimir Grebenschikov Reply-to: vova@fbsd.ru To: Bernhard Froehlich Cc: freebsd-emulation@freebsd.org Subject: Re: VBoxManage CLI does not works any more ? Date: Thu, 22 Apr 2010 17:08:19 +0400 Hi=20 Looks like you are right, png involved here. $ VBoxManage start XP Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. Type Manifest File: /home/vova/.VirtualBox/xpti.dat nsNativeComponentLoader: autoregistering begins. *** Registering VirtualBox_Server_Module components (all right -- a generic= module!) pr_LoadLibraryByPathname(): Failed to load '/usr/local/lib/virtualbox/compo= nents/VBoxC.so' nsNativeComponentLoader: SelfRegisterDll(VBoxC.so) Load FAILED with error: = /usr/local/lib/virtualbox/components/VBoxC.so: Undefined symbol "png_set_lo= ngjmp_fn" nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) pr_LoadLibraryByPathname(): Failed to load '/usr/local/lib/virtualbox/compo= nents/VBoxC.so' nsNativeComponentLoader: GetFactory(VBoxC.so) Load FAILED with error: /usr/= local/lib/virtualbox/components/VBoxC.so: Undefined symbol "png_set_longjmp= _fn" ERROR: failed to create a session object! ERROR: code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not regist= ered (extended info not available) Most likely, the VirtualBox COM server is not running or failed to start. ipcDConnectService Stats =3D> number of worker threads: 1 nsStringStats =3D> mAllocCount: 70 =3D> mReallocCount: 15 =3D> mFreeCount: 70 =3D> mShareCount: 108 =3D> mAdoptCount: 13 =3D> mAdoptFreeCount: 13 $ -----Original Message----- From: Bernhard Froehlich To: vova@fbsd.ru Cc: freebsd-emulation@freebsd.org Subject: Re: VBoxManage CLI does not works any more ? Date: Thu, 22 Apr 2010 09:27:58 +0200 On Thu, 22 Apr 2010 08:48:57 +0400, Vladimir Grebenschikov wrote: > Hi=20 >=20 > It does not fail: >=20 > $ VBoxSVC=20 > ********************************************* > Sun VirtualBox XPCOM Server Version 3.1.6_OSE > (C) 2008-2010 Sun Microsystems, Inc. > All rights reserved. >=20 > Starting event loop.... > [press Ctrl-C to quit] > ^CTerminated event loop. > XPCOM server has shutdown. > $ Hm okay. I did not expect that. What happens if you compile vbox with DEBUG enabled and then call VBoxManage? This should also give you a more verbose output of what is failing. --=20 Vladimir B. Grebenschikov vova@fbsd.ru