LW 11.6.3 installer not working on Catalina?

jwiede

Electron wrangler
Thanks all. Much appreciated.

I'll look at a VM setup.

Okay, I tried installing on my Catalina VM, and I can see what's going on. The problem, as surmised, is that the LW11.6.3 installer is 32-bit only (or rather, it supports i386 & ppc, but not x86_64), even though LW11.6.3 has a 64-bit Mac version.

Here's the relevant details (installbuilder.sh is the setup script the installer app first calls -- see .app's Info.plist -- and "Lightwave 11.6.3" is the actual installer):

Code:
jwiede$ cat installbuilder.sh

#!/bin/sh

os_version=`uname -r`
machine_platform=`uname -p`
if [ "${os_version:0:1}" == "6" ];then
    executable="osx-10.2"
elif [ "${machine_platform}" == "i386" ];then
    executable="osx-intel"
else
    executable="osx-ppc"
fi

if [ "$executable" == "none" ]; then
    echo "The current OS X version is not supported"
    exit 1
fi

        if [[ "${1}" == --help ]];then
    "`dirname \"${0}\"`/$executable" "[email protected]"
else
    "`dirname \"${0}\"`/LightWave 11.6.3" $executable "[email protected]"
fi


Code:
macos10-15:MacOS jwiede$ file "LightWave 11.6.3"

LightWave 11.6.3: Mach-O universal binary with 2 architectures: [ppc:Mach-O executable ppc] [i386:Mach-O executable i386]
LightWave 11.6.3 (for architecture ppc):        Mach-O executable ppc
LightWave 11.6.3 (for architecture i386):       Mach-O executable i386

So because "Lightwave 11.6.3" installer's fat executable only contains ppc & i386 (32-bit Intel) code, and Catalina no longer supports 32-bit Intel code, install fails with "wrong executable" error. If you run installbuilder.sh directly from shell (use sudo), you'll even see the error message.

Unfortunately, there's likely no easy solution here, as Newtek is unlikely to go back and fix the issue for old versions.

If someone wants to file a bug on this, feel free to take needed details from this post, but not worth holding breath for fix.
 
Last edited:
Top Bottom