• macosx 11 shared libraries.

    From Siri Cruise@chine.bleu@yahoo.com to comp.sys.mac.system,comp.unix.programmer on Friday, March 19, 2021 02:45:35
    From Newsgroup: comp.sys.mac.system

    Does Apple have a list of clear, consistent rules for how to use
    shared libraries on macosx 11? Builds that work fine on macosx 10
    break in new and surprising ways on macosx 11.

    One of the things I do is
    -install_name @executable_path/lib/library.dylib
    When building intertwined packages, the libraries are out of
    place but macosx 10 can still find them with DYLD...whatever.
    macosx 11 apparently refuses to look anywhere else if it sees an
    install_name. Or maybe not. Absent documentation I've only got
    guesses.

    I just wasted a day learning that when autotrace does -L./.libs
    -lautotrace , macosx 11 pukes all over core. So I have to mung
    the makefile to do .libs/libautotrace.a . And I have to find
    where in the makefile. And I have to ballgag ed to mung the file.
    Then give up on ed and have tclsh do the edit.

    And various other crap. So does Apple explain how to avoid these?
    Or do I have to step in each one to find it?

    --
    :-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
    'I desire mercy, not sacrifice.' /|\ Discordia: not just a religion but also a parody. This post / \
    I am an Andrea Doria sockpuppet. insults Islam. Mohammed
    --- Synchronet 3.18b-Win32 NewsLink 1.113