On 10/21/05, chris <[EMAIL PROTECTED]> wrote: > 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:
For one thing, httpd is not generally a valid way to run Apache 2. Use apachectl instead. You *should* have <installroot>/bin/envvars which sets SHLIB_PATH as appropriate, such that the shared library is found. I use some hacks for binbuild-like binary distributions on HP-UX: a) add -Wl,+s for SHLIB_PATH (you tried that) b) instead of /path/to/libexpat.sl /path/to/libaprutil.sl /path/to/libapr.sl, use -L/path/to -lexpat -laprutil -llibapr (otherwise, httpd will only look in that path for those libraries at run-time)
