wxWidgets-3.0 warnings with Big Sur

Ryan Schmidt ryandesign at macports.org
Wed Dec 30 04:13:02 UTC 2020


On Dec 29, 2020, at 20:12, Kevin Horton wrote:

> On Dec 29, 2020, at 17:20, Ken Cunningham wrote:
>> 
>> Interesting.
>> 
>> /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> and
>> /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib
>> are actually the same library; one is just a symlink to the other:
>> 
>> % ls -la /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0*           
>> -rwxr-xr-x  1 macports  wheel  4563192 31 Oct  2019 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> lrwxr-xr-x  1 root      wheel       37 31 Oct  2019 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.dylib -> libwx_osx_cocoau_core-3.0.0.4.0.dylib
>> lrwxr-xr-x  1 root      wheel       33 31 Oct  2019 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib -> libwx_osx_cocoau_core-3.0.0.dylib
>> 
>> I have only one referenced:
>> 
>> % otool -L /opt/local/bin/gnuplot | grep core  
>> 	/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (compatibility version 5.0.0, current version 5.0.0)
>> 
>> and I see no such warnings on Catalina, but perhaps this is related to the new way that dylibs are found on BigSur, and it’s getting confused by the symlink…
>> 
>> It’s very hard to imagine nobody would have ever noticed that before, though.
>> 
>> Ken
> 
> Things seem different on Big Sur.  I don't see any symlinks here:
> 
> %  ls -la /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0*
> -rwxr-xr-x  1 root  wheel  4743504 Nov 23 00:52 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.4.0.dylib
> -rwxr-xr-x  1 root  wheel  4743504 Nov 23 00:52 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.0.dylib
> -rwxr-xr-x  1 root  wheel  4743504 Nov 23 00:52 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib

I suspect this is because of this Apple bug that I have mentioned before:

https://lists.macports.org/pipermail/macports-dev/2020-November/042641.html

Please check if Xcode 12.3 still has the problem. If it does, please file additional bug reports with Apple about this and mention that it is a duplicate of FB8915358 so that they realize how many people it affects so that they fix it.



More information about the macports-users mailing list