Hello guys,

I'm trying to build a binary distribution of Apache 2.0.54 for HPUX 32bits.

I can build the binaries, and the tar.gz distrib file, but I can not deploy it on other servers, since my httpd binary doesn't seem to be properly linked.

I build the distrib with the following command (default bindist.sh command)

$ cd /tmp/buildapache/hpux11/src/httpd-2.0.54
$ build/bindist.sh


Here are some output command:

-- start of command output ----
$ pwd
/tmp/buildapache/hpux11/test/bin
$ ./httpd -l
/usr/lib/dld.sl: Can't open shared library: /tmp/buildapache/hpux11/src/httpd-2.0.54/bindist/lib/libapr-0.sl.9
/usr/lib/dld.sl: No such file or directory
IOT trap (core dumped)
$ chatr httpd
shared executable
  shared library dynamic path search:
  SHLIB_PATH     disabled  second
embedded path enabled first /tmp/buildapache/hpux11/src/httpd-2.0.54/bindist/lib

 shared library list:
static /tmp/buildapache/hpux11/src/httpd-2.0.54/bindist/lib/libaprutil-0.sl.9 static /tmp/buildapache/hpux11/src/httpd-2.0.54/bindist/lib/libexpat.sl.1 static /tmp/buildapache/hpux11/src/httpd-2.0.54/bindist/lib/libapr-0.sl.9
             dynamic   /usr/lib/libm.2
             dynamic   /usr/lib/libnsl.1
             dynamic   /usr/lib/libpthread.1
             dynamic   /usr/lib/libdld.2
             dynamic   /usr/lib/libc.2
         shared library binding:
             deferred
<...>
-- end of command output ----

I also try to build to pass some linkers options, like +b and +s to allow the use of the SHLIB_PATH, but i'm still linked with wrong libraries.


Have anyone a clue?


thanks in advance,
regards.

Chris

Reply via email to