<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Thanks guys!<div><br></div><div>Anyone interested in curating these sorts of Q&As into a CCL FAQ?<br><br><div dir="ltr">--Tim</div><div dir="ltr"><br><blockquote type="cite">On Mar 10, 2023, at 16:30, dbm@refined-audiometrics.com wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">FWIW,<div><br></div><div>We had a similar experience about 2-3 years ago (ask Shanon about it). </div><div><br></div><div>It turned out that the Mac got confused by the existence of multiple different copies of a vital dynlib, located in two separate directories. It took us a while to track it down, but once we isolated the problem, and removed all extraneous copies (/usr/local/lib vs app/var/lib etc) we got things back to proper behavior. We settled by using our own var/lib folder for all our vital dynlibs. I would suspect anything still living in /usr/local/lib.</div><div><br></div><div>The Mac has a bunch of nonsense (e.g., pre-binding) going on to attempt to thwart dynlib injections. Perhaps that is your problem too?</div><div><br></div><div>- DM<br><div><br><blockquote type="cite"><div>On Mar 10, 2023, at 14:10, Arthur Cater <arthur.cater@ucd.ie> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Furthermore, my application built in Feb 2019 now says<div>Implementation Version is Version 1.12-dev (v1.12-dev.4-4-gd9740256) DarwinX8664</div><div><br></div><div>I don’t think I got v1.12 until December 2022. I don’t think it existed in 2019. And I haven’t tampered with my system clock.</div><div><br></div><div>and the files-info shows</div><div><span id="cid:7CECFDE3-BC60-4F1F-95F9-77541436619F@home"><Screenshot 2023-03-10 at 20.58.16.png></span></div><div><br></div><div><br></div><div>The strange app name is created by a build script I used. How could it have been changed between Feb 2019 and May 2019? It seems I changed the icon.</div><div>From Terminal,</div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">ArthursSSD:Desktop arthur$ cd 14Feb2019GoblinApp.app/</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">ArthursSSD:14Feb2019GoblinApp.app arthur$ ls -l</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">total 1184</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">drwxr-xr-x 6 arthur staff 192 14 Feb 2019 Contents</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">-rw-r--r--@ 1 arthur staff 0 10 May 2019 Icon?</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures">ArthursSSD:14Feb2019GoblinApp.app arthur$ </span></div></div><div><br></div><div><br><div><br><blockquote type="cite"><div>On 10 Mar 2023, at 19:55, Arthur Cater <<a href="mailto:arthur.cater@ucd.ie">arthur.cater@ucd.ie</a>> wrote:</div><br class="Apple-interchange-newline"><div><div>I have been running a ccl application that I built in 2019 using ccl11 on my MacBook Pro running Mojave. Until a couple of hours ago this was working (though a bit flaky, sometimes crashing for no obvious reason in a way it didn’t back in 2019, and Search Files not working). I’d recently been starting it up several times a day.<br><br>Today I tried to build another one using ccl12, in a different folder. I had made a backup copy of my program’s sources and fails etc. I changed my build script to CD to the location of ccl12 instead of ccl11.<br><br>So the new ClozureCL64 application doesn’t want to start. But listen, it’s worse.<br><br>The old application, with its ccl logical pathname set from the contents of a variable in my ccl-init.lisp file thus (the goblin::*ccl-translations* variable having been set before image creation)<br><br>#+:goblin-app<br>(progn<br> (setf (logical-pathname-translations "ccl") goblin::*ccl-translations*)<br> (defun goblin::format? () (cl-user::format?))<br> (defun goblin::kreuger nil (cl-user::kreuger))<br> (when goblin::*eval-queue-process*<br> (process-kill (shiftf goblin::*eval-queue-process* nil))))<br><br><br>now has problems starting up, which it didn’t earlier. I’m getting this<br><br>; Warning: Interface file #P"/Users/arthur/Desktop/darwin-x86-headers64/cocoa/constants.cdb" does not exist, and the containing directory does not exist.<br>; This may mean that that the "ccl:" logical-pathname host has not been properly initialized. <br>; While executing: CCL::CDB-OPEN, in process Listener(35).<br>; Warning: Interface file #P"/Users/arthur/Desktop/darwin-x86-headers64/libc/constants.cdb" does not exist, and the containing directory does not exist.<br>; This may mean that that the "ccl:" logical-pathname host has not been properly initialized. <br>; While executing: CCL::CDB-OPEN, in process Listener(35).<br>; Warning: Interface file #P"/Users/arthur/Desktop/darwin-x86-headers64/cocoa/vars.cdb" does not exist, and the containing directory does not exist.<br>; This may mean that that the "ccl:" logical-pathname host has not been properly initialized. <br>; While executing: CCL::CDB-OPEN, in process Listener(35).<br>; Warning: Interface file #P"/Users/arthur/Desktop/darwin-x86-headers64/libc/vars.cdb" does not exist, and the containing directory does not exist.<br>; This may mean that that the "ccl:" logical-pathname host has not been properly initialized. <br>; While executing: CCL::CDB-OPEN, in process Listener(35).<br><blockquote type="cite">Error: Foreign variable "NSCommandKeyMask" not found<br>While executing: CCL::%LOAD-VAR, in process Listener(35).<br>Type cmd-/ to continue, cmd-. to abort, cmd-\ for a list of available restarts.<br>If continued: Skip loading init file.<br>Type :? for other options.<br></blockquote>1 > <br><br><br><br>How can my existing application possibly get interfered with in this way? It happens even after restarting the computer. My mental model of the world is under siege. Is there some mechanism that causes strings used in pathnames to be quasi-magically linked across application bundles? I am really puzzled.<br><br>Arthur</div></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></blockquote></div></body></html>