[R] JPEG library wierdness

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue Apr 30 19:56:03 CEST 2002


On Tue, 30 Apr 2002, Tim Hoar wrote:

>
> I am having a problem creating JPEG's ... but just lately
>
> I had 1.3.1 installed properly on a Solaris 2.6 platform and everything
> was working fine UNTIL last Wednesday, when I issued the fateful
> update.packages()
> and went to lunch.
>
> When I came back, one of my cohorts informed me he could no longer
> create jpeg's in the fashion he was accustomed:
>
> > X11()
> > plot(1:10)
> > dev.print(jpeg, file="~/test.jpg")
> Wrong JPEG library version: library is 61, caller expects 62X11
>   2
> >
>
> I have been unable to track down the offending library (in hopes of
> reinstalling the previous version) and nothing I have found mentions any
> sort of dependency for a newer version of the jpeg library.

No R package can change what jpeg version R is using: that is coming from
the module R_X11.so.  And the library it is finding is a very old one
(years old).

Has perchance someone has downdated the jpeg shared library in your
LD_LIBRARY_PATH?
>
> To make matters worse ... I built 1.5.0 on the same Solaris 2.6 system
> last night ... and it has the same behaviour.
>
> Any help?

Your jpeg header and library don't match.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list