Using X11 for an older program

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Dec 26 01:10:34 UTC 2020



> On Dec 25, 2020, at 2:05 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
> 
> On Dec 21, 2020, at 20:55, Ken Cunningham wrote:
> 
>> There are likely to be more libraries missing after you fix this one, but you can try.
>> 
>> EIther symlink a real library that is the same or as similar as you have into the position being looked for:
>> 
>> sudo ln -s /opt/local/lib/libpng16.16.dylib /opt/X11/lib/libpng15.15.dylib
>> 
>> or
>> 
>> use install_name_tool to change /opt/local/lib/libpng16.16.dylib to /opt/X11/lib/libpng15.15.dylib in your binary.
>> 
>> install_name_tool -change  /opt/local/lib/libpng16.16.dylib /opt/X11/lib/libpng15.15.dylib /path/to/my/binary
> 
> Definitely do not do that. The filename has changed because version 15 and version 16 are not meant to be interchangeable.
> 

Oh, you have nothing to lose trying it.

If it doesn’t work, just set it back.

you can’t break anything. It’s just a computer, and it does what you tell it to do.

K


More information about the macports-users mailing list