in reply to Re^2: Prima installation
in thread Prima installation

(Sorry for not getting back to this earlier...)

bash-2.05# ldd -r Prima.so ... libXrender.so.1 => /usr/sfw/lib/libXrender.so.1 ... symbol not found: XRenderFindDisplay (./Prima.so) symbol not found: XRenderFindStandardFormat (/usr/local/lib/libXft.so. +2) symbol not found: XRenderQuerySubpixelOrder (/usr/local/lib/libXft.so. +2) symbol not found: XRenderQuerySubpixelOrder (/usr/local/lib/libgdk-x11 +-2.0.so.0) symbol not found: FT_GlyphSlot_Embolden (/usr/local/lib/libcairo.so.2) symbol not found: png_set_expand_gray_1_2_4_to_8 (/usr/local/lib/libca +iro.so.2) symbol not found: XRenderFindStandardFormat (/usr/local/lib/libcairo.s +o.2) symbol not found: XRenderSetPictureFilter (/usr/local/lib/libcairo.so. +2) symbol not found: XRenderSetPictureTransform (/usr/local/lib/libcairo. +so.2) symbol not found: XRenderCompositeTrapezoids (/usr/local/lib/libcairo. +so.2) symbol not found: XRenderQuerySubpixelOrder (/usr/local/lib/libcairo.s +o.2)

So, as it looks, it's correctly loading libXrender.so, but somehow this specific version doesn't appear to have the required symbols... — maybe too old or something(?)

You can manually check which symbols a library provides with nm, e.g.

$ nm /usr/sfw/lib/libXrender.so | grep XRenderFindDisplay [27] | 2940| 84|FUNC |LOCL |0 |10 |XRenderFindDisp +lay

(the symbol must not only be found, it should also not say UNDEF in the penultimate column)

The above is what I got on the Solaris 9 box that I just tried this on. In other words, it looks OK here.  Not sure what the problem is on your side...

(BTW, in addition to the XRender stuff, it looks like it also can't resolve two other symbols which are not from XRender: FT_GlyphSlot_Embolden, and png_set_expand_gray_1_2_4_to_8. The former should be defined in libfreetype.so, the latter in libpng.so.  Googling for the symbol name might help... (often, you're not the only one who has encountered the problem, and even if some thread is not exactly about your specific platform, etc., it could still help to generate hypotheses...). Good luck anyway!

Replies are listed 'Best First'.
Re^4: Prima installation
by krishi (Novice) on Dec 26, 2007 at 05:54 UTC
    Hi,
    With the nm command I also got the same display as on your system.
    i.e
    $ nm /usr/sfw/lib/libXrender.so | grep XRenderFindDisplay
    27 | 2940| 84|FUNC |LOCL |0 |10 |XRenderFindDisp

    I have xrender 0.8.3 installed on my system. Is is possible that these symbols are not present in this specific library or is it some problem with the sol 9 system?
    Thanks,
    Krishi.