AIX 4.1.4: problems with LIBPATH

From: Roberto Divia` (Roberto.Divia@cern.ch)
Date: Wed Feb 10 1999 - 15:27:42 MET


Dear rooters,
   following the ROOT setup instructions, I have set the LIBPATH to
/lib:/usr/lib/$ROOTSYS/lib. However, this creates some bad side effects, e.g.:

$  emacs
        0509-037 System error - error data is: emacs
        0509-023 Symbol XAllocStandardColormap in /usr/local/lib/libXmu.a is not
defined.
[... more errors omitted ...]
        0509-022 Cannot load library libXaw.a[shr.o].
        0509-026 System error: Cannot run a file that does not have a valid
format.

But, if I set LIBPATH to $ROOTSYS/lib only, then the problem is gone. It looks
like the "/lib:/usr/lib" bit is not correct...

>From $ROOTSYS/AA_README:

Environment variables
[...]
On systems using shared libraries you must specify the load path
before you can run the root module. [NOTE: with version 2.00 this
is not necessary anymore since the front-end program sets the
load path correctly. However, we leave the information below because
maybe you will need it when distributing your own ROOT based
applications.]
[...]
On AIX do:
   [ -z "$LIBPATH" ] && export LIBPATH=/lib:/usr/lib
   export LIBPATH=$LIBPATH:$ROOTSYS/lib

Best regards,
-- 
+-----------------------+----------------------------------------------+
|   Roberto Divia`      | Love at  first sight  is one of the greatest |
|   =============       | labor-saving devices the world has ever seen |
+-----------------------+----------------------------------------------+
|  CERN :  European Laboratory for Particle Physics,  1211  Geneva  23 |
|  Switzerland (CH)                      E-mail: Roberto.Divia@cern.ch |
+----------------------------------------------------------------------+



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET