Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2020 10:32:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 245048] emulators/virtualbox-ose: failed with message "version CXXABI_1.3.9 required by /usr/local/lib/virtualbox/VBoxRT.so not found"
Message-ID:  <bug-245048-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245048

            Bug ID: 245048
           Summary: emulators/virtualbox-ose: failed with message "version
                    CXXABI_1.3.9 required by
                    /usr/local/lib/virtualbox/VBoxRT.so not found"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox@FreeBSD.org
          Reporter: une@edu.hkg.ac.jp
          Assignee: vbox@FreeBSD.org
             Flags: maintainer-feedback?(vbox@FreeBSD.org)
 Attachment #212694 text/plain
         mime type:

Created attachment 212694
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212694&action=
=3Dedit
build log of virtualbox-ose (until DynamicConfig.kmk on early stage of buil=
d)

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

=3D=3D=3D 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.

=3D=3D=3D 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).=20=20

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

=3D=3D=3D 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245048-26505>