Hello, Pls help me with this issue.
There should be a way to suppress the hardcoding of the paths while creating the shared object. Is there something parameter in the configure script which might be causing this behaviour. Ramesh. --- On Tue, 22/2/11, ramesh Gopal <fatuzorin2...@yahoo.com> wrote: > From: ramesh Gopal <fatuzorin2...@yahoo.com> > Subject: Re: Axis2C build on HP 11.11 (32 bit) > To: "Apache AXIS C User List" <c-user@axis.apache.org> > Date: Tuesday, 22 February, 2011, 3:46 PM > > Hello Thomas, > > The chatr command displays : > > chatr libaxis2_engine.so > libaxis2_engine.so: > shared library > shared library > dynamic path search: > > SHLIB_PATH > enabled second > > embedded path > enabled first > /work/AXIS_HP/axis2c-src-1.5.0/lib > internal name: > > libaxis2_engine.so.5 > shared library > list: > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libneethi.so.5 > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libaxis2_http_common.so.5 > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libaxis2_axiom.so.5 > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libaxis2_parser.so.5 > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libguththila.so.5 > > static > /work/AXIS_HP/axis2c-src-1.5.0/lib/libaxutil.so.5 > > dynamic /usr/lib/libpthread.1 > > dynamic /usr/lib/libc.2 > > Ramesh. > > > --- On Fri, 18/2/11, Thomas Gentsch <t...@e-tge.de> > wrote: > > > From: Thomas Gentsch <t...@e-tge.de> > > Subject: Re: Axis2C build on HP 11.11 (32 bit) > > To: "Apache AXIS C User List" <c-user@axis.apache.org> > > Date: Friday, 18 February, 2011, 1:45 AM > > > > Hi Ramesh! > > > > On Thu, 2011-02-17 at 16:14 +0530, ramesh Gopal > wrote: > > > Hello, > > > > > > I am trying to do an AXIS2C build on HP 11.11 > (32 > > bit). > > > > > > I have modified some CFLAGS and LDFLAGS, and > > accordingly changed a few source files to include > platform > > specific header files. The compilation goes fine and > also > > the axis distribution is done. > > > > > > But when I see ldd libaxis2_engine.so, I see > something > > like : > > > > > > > > > /work/AXIS_HP/axis2c-src-1.5.0/axiom/src/core/engine/.libs/libaxis2_engine.so > > => > > > /work/AXIS_HP/axis2c-src-1.5.0/axiom/src/core/engine/.libs/libaxis2_engine.so > > > > What is the problem exactly? > > The fact, that ldd prints the output above is not > > necessarily bad - ldd > > just resolves the libs as the loader does and if it > finds > > that lib with > > the path /work/... - fine. > > > > > So, if you see here the portion before "=>" > has a > > hard-coded path. > > > > > > So, when I take the axis tar file and try to > extract > > on a different machine, because this path > "/work/AXIS_HP" > > won't exist on other machines, the extraction fails. > > > > If you do the ldd on another machine, ldd should say > > something like: > > libaxis2_engine.so => not found > > right? > > > > Please provide the command output when linking the > > libaxis2_engine.so. > > Also, on HP-UX there is a command "chatr" which tells > you > > the libs of > > dependent libs, locating strategies and built-in > library > > paths. > > What does that command say? > > > > BTW: This is PA-RISC? What does "uname -a" say? > > > > Rgds, > > tge > > > > > On other platforms, HPIA/ AIX/ Linux etc, the > file is > > displayed as : > > > > > > libaxis2_engine.so => > > > /work/AXIS/axis2c-src-1.5.0/axiom/src/core/engine/.libs/libaxis2_engine.so > > > > > > > > > Can somebody tell me which is the flag which that > do > > the trick for me ? > > > > > > Rgds, > > > Ramesh. > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org > > > For additional commands, e-mail: c-user-h...@axis.apache.org > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org > > For additional commands, e-mail: c-user-h...@axis.apache.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org > For additional commands, e-mail: c-user-h...@axis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org For additional commands, e-mail: c-user-h...@axis.apache.org