Hans(_dot_)T(_dot_)Bakke(_at_)uninett(_dot_)no (Hans Terje Bakke) wrote:
The installation procedure is somewhat different from the normal
approach since HP-UX requires you to install the shared library in
place before you link the other executables. After reconfiguring
your conf/MH file,
Not exactly true for at least 9.0+. I have something like this in
my uip/Makefile:
LIBES = ../config/config.o ../shared/libmh.sl
LDLIBES = ../config/config.o \
-Wl,+b,$(SLIBDIR) -L../shared -lmh
The "+b" is the trick (look at the ld man page). I think I
submitted a patch to bug-mh for hpux shared libraries long ago, but
I can't quite remember.