OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: MsGeek on October 11, 2007, 10:27:42 PM



Title: Mac OS X problem: will only run as admin user
Post by: MsGeek on October 11, 2007, 10:27:42 PM
I just installed OpenArena, patched it, and I can run as admin user but not as my regular account. Is this a permissions problem or something else? I went into the crashlog when I tried to run it as regular user and it crashed looking for a library. I'd cut and paste the full message but I'm on my other machine now.

It runs nice on a MacIntel, however. Real nice.


Title: Re: Mac OS X problem: will only run as admin user
Post by: MsGeek on October 13, 2007, 01:00:25 PM
Here's the crash log...I'm on my MacBook now.

Quote
Host Name:      r2d2
Date/Time:      2007-10-11 20:51:05.216 -0700
OS Version:     10.4.9 (Build 8P2137)
Report Version: 4

Command: ioquake3.ub
Path:    /Applications/OpenArena.app/Contents/MacOS/ioquake3.ub
Parent:  WindowServer [350]

Version: 1.33+oa (1.33+oa)

PID:    373
Thread: Unknown

Link (dyld) error:

Library not loaded: @executable_path/libSDL-1.2.0.dylib
  Referenced from: /Applications/OpenArena.app/Contents/MacOS/ioquake3.ub
  Reason: image not found

This happens when I'm using the program as my regular user account. It does not happen when using the program as the Admin User.

Thank you in advance for prompt attention to this matter.


Title: Re: Mac OS X problem: will only run as admin user
Post by: dmn_clown on October 13, 2007, 02:26:05 PM
Looks like your user account doesn't have access to sdl.


Title: Re: Mac OS X problem: will only run as admin user
Post by: MsGeek on October 14, 2007, 09:12:36 PM
Looks like your user account doesn't have access to sdl.

Please give me the magick incantations to be entered into the Terminal to fix this.

Or will just repairing permissions suffice?


Title: Re: Mac OS X problem: will only run as admin user
Post by: dmn_clown on October 15, 2007, 12:33:44 AM
I would assume it could be repaired by giving your user account read permissions to libsdl.


Title: Re: Mac OS X problem: will only run as admin user
Post by: MsGeek on October 15, 2007, 09:36:55 AM
Where does libSDL live?

I can't find it.


Title: Re: Mac OS X problem: will only run as admin user
Post by: dmn_clown on October 15, 2007, 11:42:05 AM
Assuming Apple aren't idiots and haven't removed the basic useful admin tools from mac os, you should be able to
Quote
:~$locate libsdl
or
Quote
:~$find libsdl
or
Quote
:~$whereis libsdl

from any console.


Title: Re: Mac OS X problem: will only run as admin user
Post by: MsGeek on October 15, 2007, 10:30:43 PM
I think I found the problem. When OA installed, it installed the libraries into the AdminUser's Library/Application Support/ folder rather than the global library folder. If I copy that folder into my NormalUser's Library/Application Support/ folder and chmod it, I'll be good to go, right? Right? BTW this shows that there is a major problem with the install on MacOS X. It needs to put all libraries in a folder all users can see and use. I think this is prolly a major bug.