I have never had to do this on SPARC or x86. Seems to me manipulating the PATH variable is a safer way to be doing this.
From: Roland Soderstrom [mailto:Rolands at logicaltech.com.au] Sent: Friday, December 28, 2012 02:57 AM To: Vernon Everett <everett.vernon at gmail.com>; Xymon mailinglist <xymon at xymon.com> Subject: Re: [Xymon] Error with make
Hi,
This looks like the same problem I always get.
http://lists.xymon.com/archive/2012-October/035632.html Is how I solve it on both SPARC and x86.
The mv /usr/ccs/bin/ld /usr/ccs/bin/ld.orig would have done the trick for you I think.
- Roland
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Vernon Everett [everett.vernon at gmail.com] Sent: Friday, 28 December 2012 3:06 PM To: Xymon mailinglist Subject: Re: [Xymon] Error with make
Hi
A little more research, turned up this one. http://lists.xymon.com/archive/2012-November/036102.html A little experimenting, and I made some progress. It looks like what I described earlier is in fact 2 issues. The one from the link above, which I have resolved with the advice in the posting. But the other, still escapes me.
gcc -o xymond_rrd xymond_rrd.o xymond_worker.o xymond_buffer.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd -L/usr/local/lib -lpng -L/opt/csw/lib -lpcre Undefined first referenced symbol in file XRenderCreateLinearGradient /opt/csw/lib/libcairo.so.2 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 ld: fatal: Symbol referencing errors. No output written to xymond_rrd collect2: ld returned 1 exit status make[1]: *** [xymond_rrd] Error 1 make[1]: Leaving directory `/var/tmp/xymon-4.3.10/xymond' make: *** [xymond-build] Error 2