can not run a program as standard user

Joined
Feb 12, 2016
Messages
7
Reaction score
0
Points
1
Hello everyone

I'm using a program called Pymol on my mac mini. I installed it using homeBrew, the free package manager for OSX. The installation was done with no problems and the application launches after typing "pymol" on the command-line. However it only works when I'm logged in as administrator but not as a standard user.

When I try to launch the program I get the following error:

Traceback (most recent call last):
File
"/usr/local/Cellar/pymol/1.7.6.0_1/libexec/lib/python2.7/site-packages/pymol/__init__.py",
line 71, in <module>
import pymol
File
"/usr/local/Cellar/pymol/1.7.6.0_1/libexec/lib/python2.7/site-packages/pymol/__init__.py",
line 521, in <module>
import pymol._cmd
ImportError:
dlopen(/usr/local/Cellar/pymol/1.7.6.0_1/libexec/lib/python2.7/site-packages/pymol/_cmd.so,
2): Library not loaded: /opt/X11/lib/libpng15.15.dylib
Referenced from:
/usr/local/Cellar/pymol/1.7.6.0_1/libexec/lib/python2.7/site-packages/pymol/_cmd.so
Reason: Incompatible library version: _cmd.so requires version 39.0.0
or later, but libpng15.15.dylib provides version 34.0.0

Does anyone know how I can make the program usable by standard users?

Please note that homebrew installed Pymol in /usr/local/Cellar/. I have added this path inside /etc/paths and I can see it when I type
Code:
echo $PATH
but it still produces the same error.

Any suggestions please?

Many thanks
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
There are some instructions here about making Homebrew apps work for standard users.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top