From owner-freebsd-emulation@FreeBSD.ORG Thu Dec 12 15:31:08 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D54E2DFC for ; Thu, 12 Dec 2013 15:31:08 +0000 (UTC) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 902111B40 for ; Thu, 12 Dec 2013 15:31:08 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id k1so592774oag.20 for ; Thu, 12 Dec 2013 07:31:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=KhB1BC1xVeHWWci2Q+lHujK9VVsg8e7R6Q3MV0r05r4=; b=DgYhYcXWUEDrcPJPKLzhAp9MnkKBys1kdC+UiTyaTmNVDhQkOWyawcW7PWNZUCCja3 b8MIfQU6Gpmi26eXyWaJEkoOyhVYeomm/moMzaJEn7d8itzme5u4Aw4i/foNgmKwR4XJ lCcTS1c6rEyQQsTc/+4skDSVzelPfVwDjq3No= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KhB1BC1xVeHWWci2Q+lHujK9VVsg8e7R6Q3MV0r05r4=; b=eNDVy/sqrdgSqWpvx39C9Zwzvg+wXnImIcYlLk/GoeD1xtZb0AkYLTKk4ZpgMz9tnE 2ar8zoJbar3Xx4ndvb5lQX1GmkPJXDEQEx03BMHzT2sVC2gDNmsxQqh+Mqov9w2xl809 mp/kiTvdooxoOCZ4V5OHUW4P3RanmhM31ETC++cDRdvSQUKOXf+eTFof0rEGK9h5e22Y DpCCXmWvqzQWh0fdmIOM6Z7iFBUcdRwn/NcaBfrj95Htb2pIqWPjD/7uTdgDS1QgdSe8 oZwxZvPj8dXCyseIRsDWleFtu0H9XapULxMdbcf6fJSzWaoWQWDPvpirvOi/GIFQRjIv zGKw== X-Gm-Message-State: ALoCoQl5HODJ9W4WuHjuQk3shPpObCzkG2aHUY8p/jL3stvccKLS6qvahVp0cytANAsFL9vCWms1 MIME-Version: 1.0 X-Received: by 10.182.66.164 with SMTP id g4mr5853273obt.47.1386862267454; Thu, 12 Dec 2013 07:31:07 -0800 (PST) Sender: decke@bluelife.at Received: by 10.76.154.2 with HTTP; Thu, 12 Dec 2013 07:31:07 -0800 (PST) X-Originating-IP: [80.123.233.199] In-Reply-To: <1386530129.29428.57028485.308F72BE@webmail.messagingengine.com> References: <1386530129.29428.57028485.308F72BE@webmail.messagingengine.com> Date: Thu, 12 Dec 2013 16:31:07 +0100 X-Google-Sender-Auth: zxolj4HGFSTYGs_IO5EPAybyHW8 Message-ID: Subject: Re: VirtualBox errors when I try to run (dlopen("/usr/local/lib/virtualbox/VBoxRT.so", )) From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-emulation@freebsd.org" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 15:31:09 -0000 On Sun, Dec 8, 2013 at 8:15 PM, Mark Felder wrote: > > > On Sat, Dec 7, 2013, at 2:02, Bernhard Fr=F6hlich wrote: >> Am 06.12.2013 23:24 schrieb "Eitan Adler" : >> > >> > On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fr=F6hlich >> wrote: >> > > >> > > Am 06.12.2013 21:45 schrieb "Eitan Adler" : >> > > >> > > >> > >> >> > >> I get the following when try to run VirtualBox. >> > >> >> > >> VirtualBox: Error -610 in supR3HardenedMainInitRuntime! >> > >> VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: >> > >> /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 requir= ed >> > >> by /usr/local/lib/virtualbox/VBoxRT.so not found >> > >> >> > >> %pkg info -x compat9x >> > >> compat9x-amd64-9.2.902000.201310 >> > >> %pkg info -x virtualbox >> > >> virtualbox-ose-4.2.18_1 >> > >> virtualbox-ose-kmod-4.2.18 >> > >> >> > >> Any ideas how for to fix this? >> > > >> > > Deinstall the compat port(s) and it will work again. >> > >> > I need the compat port for Java. Is it possible to have VirtualBox >> > ignore the compat libs? why is it looking their anyway? >> >> I think it's a similar problem as described in ports/182468 and for some >> reason rtld seems to pickup libs from compat which might be correct in >> general but it's causing problems for us. >> > > We discussed this in IRC the other day, Bernard. Look at the rpath ( > readelf -d )of /usr/local/lib/virtualbox/VBoxRT.so -- it's wrong. It's > only listing /usr/local/lib/virtualbox. > > /usr/ports/emulators/virtualbox-ose > make -V LDFLAGS > -Wl,-rpath=3D/usr/local/lib/gcc46 > > Why aren't the virtualbox binaries ignoring those LDFLAGS? Should be fixed in r336267 now. http://svnweb.freebsd.org/ports?view=3Drevision&revision=3D336267 --=20 Bernhard Froehlich http://www.bluelife.at/