Xymon Mailing List Archive search

Compiling latest snapshot / rpath eror on Solaris 10

list Alexander Keller
Wed, 20 Feb 2008 18:40:57 +0100
Message-Id: <user-b397790cdc32@xymon.invalid>

Hi,

compiling the latest hobbit snapshot on Solaris 10 (sparc) failed with
rpath errors:

$ ./configure --client
$ make
[...]
/usr/ccs/bin/ld: illegal option -- rpath
[...]

To fix the problem, I had to change the RPATH option in
build/Makefile.SunOS:

old: RPATH=-Wl,--rpath,
new: RPATH=-Wl,-R,

Hope this helps other solaris users :-)

Regards,
Alexander