Xymon Mailing List Archive search

Compiling latest snapshot / rpath eror on Solaris 10

1 message in this thread

list Alexander Keller · Wed, 20 Feb 2008 18:40:57 +0100 ·
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