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

Created attachment 212694
build log of virtualbox-ose (until DynamicConfig.kmk on early stage of build)

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/",) failed:
/usr/lib/ version CXXABI_1.3.9 required by
/usr/local/lib/virtualbox/ not found

VirtualBox: Tip! It may help to reinstall VirtualBox.

=== end error messages

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

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

=== end the output of ldconfig -r for

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

You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to