wxWidgets-3.0 warnings with Big Sur

Kevin Horton kevin01 at kilohotel.com
Wed Dec 30 16:51:14 UTC 2020



> On Dec 29, 2020, at 9:18 PM, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
> 
> 
> 
>> On Dec 29, 2020, at 8:47 PM, Kevin Horton <kevin01 at kilohotel.com> wrote:
>> 
>> I moved libwx_osx_cocoau_core-3.0.0.dylib and libwx_osx_cocoau_core-3.0.dylib aside and symlinked those names to /libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> 
>> ls -al *core*
>> -rwxr-xr-x  1 root  wheel  4743504 Nov 23 00:52 libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> lrwxr-xr-x  1 root  wheel       37 Dec 29 20:44 libwx_osx_cocoau_core-3.0.0.dylib -> libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> lrwxr-xr-x  1 root  wheel       37 Dec 29 20:44 libwx_osx_cocoau_core-3.0.dylib -> libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> 
>> I rebuilt gnuplot, but still get the same errors:
>> 
>> objc[90874]: Class wxNSAppController is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10c39fc40) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10b1fbc40). One of the two will be used. Which one is undefined.
>> objc[90874]: Class ModalDialogDelegate is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10c39fc68) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10b1fbc68). One of the two will be used. Which one is undefined.
>> objc[90874]: Class wxNSApplication is implemented in both /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib (0x10c39fcb8) and /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x10b1fbcb8). One of the two will be used. Which one is undefined.
>> 
>> Anything else to try to learn something useful?
> 
> Nah — turns out it’s a known bug, so add another vote to Ryan’s radar if you can.
> 
> Make the symlinks yourself, and then you’re good. 
> 
> Nothing wrong with wxWidgets-3.0. Not worth rewriting the scripts in wxWidgets for this Apple bug, IMHO.
> 
> K

I needed to make the symlinks for all sets of libraries in /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib.  After that gnuplot runs without the wall of warnings.

I'll have a go at filing a feedback with Apple.

Thanks,

Kevin


More information about the macports-users mailing list