So a little more digging, and I find this. 1# nm -D /opt/csw/lib/libcairo.so.2 | grep XRenderCreate [525] | 0| 0|FUNC |GLOB |0 |UNDEF |XRenderCreateGlyphSet [506] | 0| 0|FUNC |GLOB |0 |UNDEF |XRenderCreateLinearGradient [314] | 0| 0|FUNC |GLOB |0 |UNDEF |XRenderCreatePicture [555] | 0| 0|FUNC |GLOB |0 |UNDEF |XRenderCreateRadialGradient The UNDEF bit doesn't look too promising. :-( Man pages confirmed, UNDEF means undefined. That's all great, but how do I make this compile? Is there another library I can use where it is defined?
I found a number of references on Google, which mention that this is broken, but not much about how to fix it. The most promising was this http://cr.openjdk.java.net/~luchsh/7152519/src/solaris/native/sun/java2d/x11... But it relates to Java. Can we do something similar in the Xymon code?
Regards Vernon
On 28 December 2012 09:32, Vernon Everett <everett.vernon at gmail.com<mailto:everett.vernon at gmail.com>> wrote: Hi all
Compliments of the season to you all, hope you have a happy and save time during your respective festivities.
I have a small problem. Trying to build a new Xymon server on Solaris X86. Doing the build, using CSW libraries, and got the configure to run OK. But not so lucky with the make. Starts off OK, but soon falls over with this error.
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 deny_severity /usr/sfw/lib/libwrap.so.1 XRenderCreateRadialGradient /opt/csw/lib/libcairo.so.2 allow_severity /usr/sfw/lib/libwrap.so.1 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
Anybody got any pointers or tips? I used ldd, I checked the dependencies of the listed libraries, and they are all OK. Relevant environment variables are :
echo $PATH
/usr/bin:/usr/sbin:/usr/sfw/bin:/opt/csw/bin:/usr/local/bin/:/usr/perl5/bin:/usr/openwin/bin:/usr/X11/bin:/usr/ccs/bin:/usr/dt/bin/:/usr/local/samba/bin
echo $LD_LIBRARY_PATH
/usr/local/lib:/opt/csw/lib/:/usr/ccs/bin
Any assistance appreciated.
Regards Vernon
-- "Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-- "Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
participants (1)
-
None