how about a 'snowleopardfixes' library port?
Ryan Schmidt
ryandesign at macports.org
Tue Aug 23 10:13:39 PDT 2016
On Aug 23, 2016, at 12:00, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
>>
>> Maybe, if you can make a dylib out of it.
>
>
> Hmmm. Making the dylib wasn't too hard:
>
> clang -dynamiclib -std=gnu99 strnlen.c getline.c -current_version 1.0 -compatibility_version 1.0 -o libsnowleopardfixes.a.dylib
>
>
> dyld: Library not loaded: libsnowleopardfixes.a.dylib
> Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_lnav/lnav/work/lnav-0.8.1/./conftest
> Reason: image not found
You haven't set the library's install_name to the absolute path where it is installed.
I would prefer you work with the developers of the affected software packages to get the necessary compatibility functions into their sources. This will help all Snow Leopard users, not just those using MacPorts.
More information about the macports-dev
mailing list