Recently, while after rebuilding gnuplot, I received a large number of error statement when I executed gnuplot. They were all of the form
objc[20179]: 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 (0x106c25c40)
and
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_core-3.0.dylib (0x105aaec40)
One of the two will be used. Which one is undefined.
Apparently, gnuplot was confused about which dylib it should load, libwx_osx_cocoau_core-3.0.0.4.0.dylib or libwx_osx_cocoau_core-3.0.dylib . From the output, gnuplot apparently tried both. As shown in the attached jpeg, gnuplot plotted each output curve correctly, and then plotted a straight line for each curve.
My questions are: First, which of the dylibs should be loaded? Second, how do I ensure the rebuilt gnuplot uses only the correct dylib?
I have tested which dylib is necessary by moving first one dylib and then the other into a temp directory, then running gnuplot. In both cases gnuplot abprted. For some reason, gnuplot needs both dylibs!