(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!


In reply to Re^3: Prima installation by almut
in thread Prima installation by krishi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.