That had me puzzled on a number of counts...

First it warned me not to rely on the Mac utility Spotlight. It did
not show anything for: libc.dylib. For: .dylib it shows a long list in
which libc doesn't figure. So I made the assumption it was not
something installed by the J701 gtk download, and had nothing to do
with whether J worked correctly or not.
But I guess Spotlight doesn't look in the (Mac) hidden folder: /usr .
It does look in /Developer (an optional folder and therefore something
not essential to the operational Mac OS) -- but it doesn't look hard
enough.

Opening Terminal I get the following result:

bash-3.2$ locate libc.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libc.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libc.dylib
/usr/lib/libc.dylib

The first two are alias files, pointing to originals in (respectively):
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.B.dylib
/Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.B.dylib

The last (/usr/lib/libc.dylib) is dated 22 Dec 2009 (when I installed
Snow Leopard) and is in among a mass of working dylibs,
...so I guess it's what's being used for sockets. I cannot believe
that the optional folder /Developers/ installed for developers only by
special request from the Snow Leopard CDROM will contain the
operational binary for an essential service (except as a replacement).

@Patrick: does your internet browser work at all on your MacBook Pro?



On Sun, Feb 6, 2011 at 2:56 AM, bill lam <[email protected]> wrote:
> Вск, 06 Фев 2011, Ian Clark писал(а):
>> A Spotlight search of my Mac shows me I don't have a file called
>> libc.dylib anywhere, though it is mentioned inside 3 text files:
>> core.ijs, jfile.ijs and socket.ijs. I suspect it's a red-herring.
>
> I think libc.dylib must be there, otherwise socket calls from jhs cannot
> succeed. Did locate libc.dylib return anything?
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to