Seite 1 von 1

Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Mo 13. Mai 2019, 14:15
von dersh
I just upgraded to V5 and Z88 Aurora fails to open. It seems that there are some permission issues with how GTK4Z88V5 is being installed. When I start it, here's the error that I get:

$ cd ~/z88aurorav5/bin/mac && ./aurorastartv5
dyld: Library not loaded: /opt/Z88/lib/libgtk-x11-2.0.0.dylib
Referenced from: /Users/adershowitz/z88aurorav5/bin/mac/./z88aurora
Reason: no suitable image found. Did find:
/opt/Z88/lib/libgtk-x11-2.0.0.dylib: open() failed with errno=13
/opt/Z88/lib/libgtk-x11-2.0.0.dylib: stat() failed with errno=1
/opt/Z88/lib/libgtk-x11-2.0.0.dylib: open() failed with errno=13
./aurorastartv5: line 5: 27506 Abort trap: 6 z88aurora

I did a removal and clean install of GTK4Z88V5 with the same results. The libraries are clearly being installed, but it seems that their permissions will not allow a user to execute them. I've tried changing permissions on the files, without having any luck getting it to run. Any suggestions would be greatly appreciated.

Thanks,

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Mi 15. Mai 2019, 08:33
von SHautsch
Dear dersh,

please try to install/extract Z88Aurora V5 without "sudo". There is a mistake in the english install manual, the german manual recommends to extract only with "tar -xvf z88aurorav5_de.tar.gz". We tried it out and got errors with sudo extraction, while normal user extraction results in a working Z88Aurora V5 application.

However, we did not get the same error messages as you did, so please try extracting without sudo and hopefully this solves your problem. If it doesn't, please answer in this thread!

Kind regards,
SHautsch

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Mi 15. Mai 2019, 16:18
von dersh
I deleted the install directory: ~/z88aurorav5. Then installed re-installed without sudo. But, I see the same error as I described before.
It seems that the permissions are wrong for library files being installed in /opt/Z88
To be clear, I think that you were only referring to z88aurorav5, not for GTK4Z88V5.

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Do 16. Mai 2019, 06:49
von SHautsch
We also did a clean install on a fresh macOS 10.14. Nothing except /opt/X11 present. We followed the install manual and got a working Z88Aurora V5 out of that (not using sudo on extracting the z88aurorav5_en.tar.gz). We used the standard macOS user account, which should have admin rights. Do you use another setup when trying to run Z88Aurora, for example an account with reduced user rights?

We will try to reproduce your errors and then find a solution...

It could be of help if you provide screenshots of your terminal where the permissions and ownerships of the files/folders are shown. Navigate in terminal to /opt/Z88 and run "ls -la". Same for ~/z88aurorav5.

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Fr 17. Mai 2019, 14:59
von dersh
I am running OS 10.14.5. I believe Apple did change some security stuff in that version, so perhaps that relates?

Code: Alles auswählen

$ ls -al /opt/Z88
total 0
drwxr-xr-x@   7 root  wheel   224 May 15 11:19 .
drwxr-xr-x    9 root  admin   288 May 15 11:19 ..
drwxr-xr-x@  19 root  wheel   608 May 15 11:19 etc
drwxr-xr-x@ 143 root  wheel  4576 May 15 11:19 lib
drwxr-xr-x@   7 root  wheel   224 May 15 11:19 share
drwxr-xr-x@   3 root  wheel    96 May 15 11:19 var
drwxr-xr-x@  33 root  wheel  1056 May 15 11:19 z88libs

Code: Alles auswählen

$ ls -al /Users/adershowitz/z88aurorav5
total 16
drwxr-xr-x@   7 adershowitz  staff   224 May 15 11:01 .
drwxr-xr-x+ 190 adershowitz  staff  6080 May 15 15:06 ..
-rw-r--r--@   1 adershowitz  staff  6148 Apr 26 03:36 .DS_Store
drwxr-xr-x@   4 adershowitz  staff   128 Apr 26 03:36 bin
drwxr-xr-x@   3 adershowitz  staff    96 Apr 26 03:36 data
drwxr-xr-x@   6 adershowitz  staff   192 Apr 26 03:36 docu
drwxr-xr-x@ 264 adershowitz  staff  8448 Apr 26 03:36 ico

And, if I just look, for example, at the library that is causing the problem:

Code: Alles auswählen

$ ls -al /opt/Z88/lib/libgdk*
-rwx------  1 administrator  wheel  645092 Mar 14 05:05 /opt/Z88/lib/libgdk-x11-2.0.0.dylib
-rwx------  1 administrator  wheel  937128 Mar 14 05:05 /opt/Z88/lib/libgdk-x11-2.0.a

ls: /opt/Z88/lib/libgdk-x11-2.0.dylib: Permission denied
lrwx------  1 administrator  wheel      22 Feb  8  2018 /opt/Z88/lib/libgdk-x11-2.0.dylib
-rwx------  1 administrator  wheel  131568 Mar 14 05:05 /opt/Z88/lib/libgdk_pixbuf-2.0.0.dylib

ls: /opt/Z88/lib/libgdk_pixbuf-2.0.dylib: Permission denied
lrwx------  1 administrator  wheel      25 Feb  8  2018 /opt/Z88/lib/libgdk_pixbuf-2.0.dylib
-rwx------  1 administrator  wheel   73596 Mar 14 05:05 /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.0.dylib

ls: /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.dylib: Permission denied
lrwx------  1 administrator  wheel      30 Feb  8  2018 /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.dylib

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Fr 17. Mai 2019, 15:05
von dersh
My last post ended up being hard to read. Perhaps this is easier:


$ ls -al /opt/Z88/lib/libgdk*
-rwx------ 1 administrator wheel 645092 Mar 14 05:05 /opt/Z88/lib/libgdk-x11-2.0.0.dylib
-rwx------ 1 administrator wheel 937128 Mar 14 05:05 /opt/Z88/lib/libgdk-x11-2.0.a

ls: /opt/Z88/lib/libgdk-x11-2.0.dylib: Permission denied
lrwx------ 1 administrator wheel 22 Feb 8 2018 /opt/Z88/lib/libgdk-x11-2.0.dylib
-rwx------ 1 administrator wheel 131568 Mar 14 05:05 /opt/Z88/lib/libgdk_pixbuf-2.0.0.dylib

ls: /opt/Z88/lib/libgdk_pixbuf-2.0.dylib: Permission denied
lrwx------ 1 administrator wheel 25 Feb 8 2018 /opt/Z88/lib/libgdk_pixbuf-2.0.dylib
-rwx------ 1 administrator wheel 73596 Mar 14 05:05 /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.0.dylib

ls: /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.dylib: Permission denied
lrwx------ 1 administrator wheel 30 Feb 8 2018 /opt/Z88/lib/libgdk_pixbuf_xlib-2.0.dylib
adershowitzMBP15:mac adershowitz$ ls -al /Users/adershowitz/z88aurorav5
total 16
drwxr-xr-x@ 7 adershowitz staff 224 May 15 11:01 .
drwxr-xr-x+ 190 adershowitz staff 6080 May 15 15:06 ..
-rw-r--r--@ 1 adershowitz staff 6148 Apr 26 03:36 .DS_Store
drwxr-xr-x@ 4 adershowitz staff 128 Apr 26 03:36 bin
drwxr-xr-x@ 3 adershowitz staff 96 Apr 26 03:36 data
drwxr-xr-x@ 6 adershowitz staff 192 Apr 26 03:36 docu
drwxr-xr-x@ 264 adershowitz staff 8448 Apr 26 03:36 ico
adershowitzMBP15:mac adershowitz$ ls -al /opt/Z88
total 0
drwxr-xr-x@ 7 root wheel 224 May 15 11:19 .
drwxr-xr-x 9 root admin 288 May 15 11:19 ..
drwxr-xr-x@ 19 root wheel 608 May 15 11:19 etc
drwxr-xr-x@ 143 root wheel 4576 May 15 11:19 lib
drwxr-xr-x@ 7 root wheel 224 May 15 11:19 share
drwxr-xr-x@ 3 root wheel 96 May 15 11:19 var
drwxr-xr-x@ 33 root wheel 1056 May 15 11:19 z88libs

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Fr 24. Mai 2019, 15:11
von JGlamsch
Have you tried a full reinstallation after deleting all Z88Aurora related directories (also in /opt)?

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Fr 24. Mai 2019, 21:22
von SHautsch
I'm not entirely sure, but you have two admin users active here: the directory /opt/Z88 is owned by root in wheel, but the files inside look like they are owned by administrator in wheel. Maybe that causes the problem. All files and folders in /opt/Z88 should be root:wheel, that's how it works for us.

Could you try to change ownership in /opt/Z88 recursively to root:wheel? Or delete and reinstall GTK4Z88 V5, maybe something went wrong there...

Kind regards,
SHautsch

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Di 28. Mai 2019, 18:58
von dersh
I have tried fully deleting z88 and reinstalling, but that didn't help.
I had noticed how V5 installs with different permissions from V4. I had even reinstalled V4 to confirm that fact. I had just followed the install instructions and that is how the permissions ended up for V5.
I have tried changing permissions some, without any luck. But, I really was not sure about what combination it is supposed to be. I'll see if I can change them all and see if that works.

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Di 28. Mai 2019, 20:03
von dersh
I got it to work by doing the following:
sudo chown -R root /opt/Z88
sudo chmod -R a+xr /opt/Z88

I'm not sure if that was all necessary, or even if that is a secure way to leave things. But, Z88 does now start for me.

Re: Z88Aurora V5 fails on macOS 10.14 Mojave

Verfasst: Mi 29. Mai 2019, 13:39
von SHautsch
We're glad you got it working. We will have a look at our setup, try to sort it out and provide a better install guide for the next version. We changed a few things to make compiling and packaging for Linux and macOS easier with less differences, maybe that's why we got in trouble there. I think just changing the ownership could've solved the problem, but changing the user rights surely doesn't do any harm.

Kind regards,
SHautsch