maintainer-feedback requested: [Bug 245048] emulators/virtualbox-ose: failed with message "version CXXABI_1.3.9 required by /usr/local/lib/virtualbox/VBoxRT.so not found"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 25 10:33:18 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked vbox at FreeBSD.org for
maintainer-feedback:
Bug 245048: emulators/virtualbox-ose: failed with message "version CXXABI_1.3.9
required by /usr/local/lib/virtualbox/VBoxRT.so not found"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245048



--- Description ---
After I upgraded virtualbox-ose to 5.3.34_1 (ports r528258) built by poudriere
(I attached the build log until DynamicConfig.kmk was build), it failed with
the following error messages.  

=== begin error messages
% virtualbox
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
/usr/lib/libstdc++.so.6: version CXXABI_1.3.9 required by
/usr/local/lib/virtualbox/VBoxRT.so not found

VirtualBox: Tip! It may help to reinstall VirtualBox.

=== end error messages

IMHO, /usr/local/lib/virtualbox/VBoXRT.so dlopen(3)ed by virtualbox should be
linked with /usr/local/lib/gcc9/libstdc++.so.6 installed by lang/gcc9 which is
used to build virtualbox-ose.  However, rtld(1) chooses /usr/lib/libstdc++.so.6
to link due to the following configuration by ldconfig(8).  

=== begin the output of ldconfig -r for libstdc++.so.6
% ldconfig -r | grep libstdc\+\+
	105:-lstdc++.6 => /usr/lib/libstdc++.so.6
	1189:-lstdc++.6 => /usr/local/lib/gcc7/libstdc++.so.6
	1201:-lstdc++.6 => /usr/local/lib/gcc8/libstdc++.so.6
	1207:-lstdc++.6 => /usr/local/lib/gcc9/libstdc++.so.6

=== end the output of ldconfig -r for libstdc++.so.6

I tried using LD_LIBRARY_PATH, but it had no effect.  I would appreciate if
someone gives any suggestion.


More information about the freebsd-emulation mailing list