Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-12 Thread Bernhard Fröhlich
On Sun, Dec 8, 2013 at 8:15 PM, Mark Felder f...@freebsd.org wrote:


 On Sat, Dec 7, 2013, at 2:02, Bernhard Fröhlich wrote:
 Am 06.12.2013 23:24 schrieb Eitan Adler li...@eitanadler.com:
 
  On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich de...@bluelife.at
 wrote:
  
   Am 06.12.2013 21:45 schrieb Eitan Adler li...@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?

Should be fixed in r336267 now.

http://svnweb.freebsd.org/ports?view=revisionrevision=336267

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-08 Thread Mark Felder


On Sat, Dec 7, 2013, at 2:02, Bernhard Fröhlich wrote:
 Am 06.12.2013 23:24 schrieb Eitan Adler li...@eitanadler.com:
 
  On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich de...@bluelife.at
 wrote:
  
   Am 06.12.2013 21:45 schrieb Eitan Adler li...@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?
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-07 Thread Bernhard Fröhlich
Am 06.12.2013 23:24 schrieb Eitan Adler li...@eitanadler.com:

 On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich de...@bluelife.at
wrote:
 
  Am 06.12.2013 21:45 schrieb Eitan Adler li...@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.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182468
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-06 Thread 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 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?


-- 
Eitan Adler
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-06 Thread Bernhard Fröhlich
Am 06.12.2013 21:45 schrieb Eitan Adler li...@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.
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox errors when I try to run (dlopen(/usr/local/lib/virtualbox/VBoxRT.so, ))

2013-12-06 Thread Eitan Adler
On Fri, Dec 6, 2013 at 4:04 PM, Bernhard Fröhlich de...@bluelife.at wrote:

 Am 06.12.2013 21:45 schrieb Eitan Adler li...@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?



-- 
Eitan Adler
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org