[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[ninf-users:00107] Re: NG4.0 ng_gen problem
Hello,
From: Pieter Bellens <pbellens@ac.upc.edu>
Subject: Re: NG4.0 ng_gen problem
Date: Mon, 26 Sep 2005 12:47:20 +0200
> > > after downloading and installing NG4.0, i tried to compile the sample
> > > programs included in the distribution. ng_gen refuses to process each
> > > and any IDL-file that i submit. And everytime, it aborts with the
> > > following message:
> >
> > > cc: worker.idl: linker input file unused because linking not done
> > > cc: worker.idl: linker input file unused because linking not done
> >
> After poundering the meaning of the part of the error message that says "linking not done", i decided to check my LD_LIBRARY_PATH. I thought i updated my environment, but apparently the GT2-libs still preceded the GT4-libs in the LD_LIBRARY_PATH sequence...which causes this error. Yes, very stupid indeed. Anyway, it works fine now, and i look forward to trying out some fancy new NG4 features.
It's good news.
In addition, I have one comment.
Did you set LD_LIBRARY_PATH variable directory yourself?
On Golbus Toolkit, PATH and LD_LIBRARY_PATH and other environment
variable setup is done by
1. setup $GLOBUS_LOCATION environment variable to appropriate GT4 or
GT2 directory.
2. loading file ${GLOBUS_LOCATION}/etc/globus-user-env.{sh|csh}.
Did you load that file?
In the common case, this setup is done on shell start-up file
like .cshrc, .bashrc, ... .
setup file is loaded by below command.
by sh or bash
$ . ${GLOBUS_LOCATION}/etc/globus-user-env.sh
by csh or tcsh
% source ${GLOBUS_LOCATION}/etc/globus-user-env.csh
There are note on Ninf-G Tutorial around this.
http://ninf.apgrid.org/documents/ng2-tutorial/tutorial.html#Configuration_of_Globus_Toolkit
Thanks.
TASHIRO Tomosige
SOUM Corporation, Japan.