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