[mysterious owner of 'libc++.1.dylib']

Floyd, Paul pjfloyd at wanadoo.fr
Thu Mar 16 11:07:30 UTC 2023

On 15/03/2023 21:49, Clemens Lang wrote:
> Hi,
> On Wed, Mar 15, 2023 at 06:00:44PM +0000, Maxim Abalenkov wrote:
>> Further inquiry with ‘pkgutil’ doesn’t shed more light either:
>>    pkgutil --file-info "/usr/lib/libc++.1.dylib"
>>    volume: /
>>    path: /usr/lib/libc++.1.dylib
>> Would you please tell me, who is the mysterious owner of the ‘libc++’?
> It is provided by the Operating System, except you cannot see it in the
> filesystem. This is a trick that Apple has started with one of its
> recent OS releases, where you can link against libraries that do not
> exist in the filesystem, but the dynamic loader dyld(1) still knows
> where to find them.

Search for "DSC" (dyld shared cache) for details.

It's a royal pain in the rear for tools developers.



More information about the macports-users mailing list