Date: Sun, 8 Dec 2013 20:47:13 +0100
From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
To: Mark Felder <feld@freebsd.org>
Cc: freebsd-emulation@freebsd.org
Subject: Re: VirtualBox errors when I try to run (dlopen("/usr/local/lib/virtualbox/VBoxRT.so", ))
Message-ID: <CAE-m3X0Qhpt3Npp38JaBTLS14pWDqQhhG4hEXBYwO8E4hLjsTg@mail.gmail.com>
In-Reply-To: <1386530129.29428.57028485.308F72BE@webmail.messagingengine.com>
References: <CAF6rxg=8voakpCH%2BzccSYprCtr=k9AS1b7LFXN=zOQeqYK9NHg@mail.gmail.com> <CAE-m3X3=KcPxGR3MyDXfHA=u3jRNUnUxT3ansAhiPgtN=ukP=g@mail.gmail.com> <CAF6rxg=ZzcozpXRSX1HBWarzt2Gs5c3gCjyTMGd8hto77sfdKQ@mail.gmail.com> <CAE-m3X0fmio_BAWPOvKMq-gR1jRJGNTgi5mQLaJyzTQtTxP_xg@mail.gmail.com> <1386530129.29428.57028485.308F72BE@webmail.messagingengine.com>
index | next in thread | previous in thread | raw e-mail
Am 08.12.2013 20:15 schrieb "Mark Felder" <feld@freebsd.org>:
>
>
>
> On Sat, Dec 7, 2013, at 2:02, Bernhard Fröhlich wrote:
> > Am 06.12.2013 23:24 schrieb "Eitan Adler" <lists@eitanadler.com>:
> > >
> > > On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich <decke@bluelife.at>
> > wrote:
> > > >
> > > > Am 06.12.2013 21:45 schrieb "Eitan Adler" <lists@eitanadler.com>:
> > > >
> > > >
> > > >>
> > > >> 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
required
> > > >> 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=/usr/local/lib/gcc46
>
> Why aren't the virtualbox binaries ignoring those LDFLAGS?
Could you describe your proposal a bit more precisely? Vbox has a rpath
config variable that we can tune a bit. I am not sure yet if this is a bug
in the vbox build framework or the ports framework is doing something
stupid or the mess in 10 is triggering that.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X0Qhpt3Npp38JaBTLS14pWDqQhhG4hEXBYwO8E4hLjsTg>
