[rrd-users] Re: pblm compiling 1.2.8 on HP-UX

Ford, Andy andyford at AGEDWARDS.com
Tue May 17 17:38:59 MEST 2005

$^O is "hpux".

The search path is -L, like everywhere else.

I think the problem is that the runtime path option is different on hp-ux.
That's what your "-R" option is for, right?
According to the ld man page, HP-UX wants to see "+b/run/time/path".
"-R" is a offset, so it wants a number here.


-----Original Message-----
From: Tobias Oetiker [mailto:oetiker at ee.ethz.ch]
Sent: Tuesday, May 17, 2005 10:13 AM
To: Ford, Andy
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] pblm compiling 1.2.8 on HP-UX

Hi Andy,

how does one specify the default search path for linking under
HPUX? and what does perl -e 'print $^O' return

Today Ford, Andy wrote:

> make[4]: Entering directory `/home/forda/src/rrdtool-1.2.8/bindings/perl-shared'
> rm -f blib/arch/auto/RRDs/RRDs.sl
> LD_RUN_PATH="" ld  -b -L/usr/local/lib RRDs.o -L../../src/.libs/ -R/usr/local/rrdtool-1.2.8/lib -lrrd -lm -o blib/arch/auto/RRDs/RRDs.sl
> ld: Invalid numeric argument for -R/usr/local/rrdtool-1.2.8/lib
> make[4]: *** [blib/arch/auto/RRDs/RRDs.sl] Error 1
> make[4]: Leaving directory `/home/forda/src/rrdtool-1.2.8/bindings/perl-shared'
> make[3]: *** [perl_shared] Error 2
> make[3]: Leaving directory `/home/forda/src/rrdtool-1.2.8/bindings'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/forda/src/rrdtool-1.2.8/bindings'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/forda/src/rrdtool-1.2.8'
> make: *** [all] Error 2

A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.


Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list