Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Home / Education  |  Math / Science  |  HippoDraw  |  Problem with this installation

HippoDraw

HippoDraw

interactive data analysis environment

Version:  1.15.6.2

   [ Views: 1162 ]

Problem with this installation

Feedback Type:  Commentary

Contributed by: drricky Friday, June 03 2005 @ 11:24 AM PDT

Product Platform: MacOSX

Used Product For: Have Not Tried

Recommend Product: NO

Seems that this was compiled with a hardcoded link that should have been fixed. When I try to launch it, I get this error:

dyld: /Applications/HippoDraw1.14.3/hippodraw.app/Contents/MacOS/hippodraw can't open library: /Users/rdm/root/lib/libCore.dylib (No such file or directory, errno = 2)

Since I don't have a user named rdm on my machine, my guess is that that is the username for the person who compiled this package.   

Rate this Commentary

Was this Commentary helpful? Yes | No

Comments

2 comments |

Problem with this installation - slartibart

I'm sorry - this slipped through my testing because I use hippodraw mainly from python. The error message originates from the persons installation who did the ROOT compilation. I just did an installer for the "official" MacOSX binary distribution. The error shows that the Path assignment for loading dynamic libraries does not include the root-libraries directory. For a quick check:

1.) start a terminal

2.) assign the environment variables for ROOT - if you use tcsh like me its:

setenv ROOTSYS /opt/root/pro
setenv DYLD_LIBRARY_PATH /opt/root/lib:$DYLD_LIBRARY_PATH
setenv PATH /opt/root/bin:$PATH

if you use bash :

export ROOTSYS=/opt/root/pro
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOTSYS/lib
export PATH=$PATH:$ROOTSYS/bin

3.) try to start hippodraw from the same shell with

open /Applications/HippoDraw1.14.3/hippodraw.app

Does this work? I assume "yes" as a reply. =8) Now the problem is to extend the MacOSX system library path for this libs - needed if you start an application by clicking its icon.

1.) Start your preferred texteditor *a real textEDITOR, like: textwrangler, alpha, etc.* or use Apple's Property List Editor

2.) open the file environment.plist in the .MacOSX folder in your home directory (~/.MacOSX/environment.plist).

3.) extend the content using the texteditor to:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DYLD_LIBRARY_PATH</key>
<string>/usr/local/lib:/usr/lib:/opt/root/lib</string>
<key>PATH</key>
<string>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin</string>
<key>ROOTSYS</key>
<string>/opt/root/pro</string>
</dict>
</plist>

Using Apple's Poperty List Editor create a new child DYLD_LIBRARY_PATH . Class type is String. Value should include /opt/root/lib. Similiar introduce ROOTSYS and assign its path. Save the changes to the file.

4. Log out. (!)

5. Relogin in.

6. Start hippodraw by clicking its icon…

Reply to This

Sunday, June 05 2005 @ 11:20 AM PDT


Problem with this installation - slartibart

See the included README or visit http://naranja.umh.es/~atg/B1098370398/C61549444/E361644811/index.html for a description on how to assign the environment variables needed by HippoDraw.

Reply to This

Thursday, June 30 2005 @ 04:44 PM PDT