From mbeason at harrahs.com  Wed Mar 29 01:37:48 2006
From: mbeason at harrahs.com (Matthew Beason)
Date: Tue, 28 Mar 2006 15:37:48 -0800
Subject: [Rd] R make install and demo(graphics) issue
Message-ID: <E153C65077E0034E97A981C6CE26F1BD04807419@ENTWMAIL1A.harrahs.org>


> -----Original Message-----
> From: Simon Urbanek [mailto:simon.urbanek at r-project.org] 
> Sent: Friday, March 24, 2006 8:04 AM
> To: Matthew Beason
> Cc: r-devel at r-project.org
> Subject: Re: [Rd] R make install and demo(graphics) issue
> 
> Matthew,
> 
> On Mar 20, 2006, at 1:52 PM, Matthew Beason wrote:
> 
> >     Thanks! That resolved the "make install" issue. However, after 
> > installation when running "demo(graphics)" or "png()" from 
> within R, I 
> > get the following error:
> > [...]
> > unable to load shared library '/usr/local/R/lib/R/modules/R_X11.so':
> >   Could not load module /usr/local/R/lib/R/modules/R_X11.so.
> >         Dependent module 
> /usr/java14/jre/bin/libjpeg.a(libjpeg.so.62)
> > could not be loaded.
> >         File /usr/java14/jre/bin/libjpeg.a is not an
> >           archive or the file could not be read properly.
> 
> This seems like a problem with your libjpeg shared library - 
> it seems to be bogus. Please make sure you have a properly 
> installed libjpeg and that the correct one is detected. The 
> one above comes from JRE which is probably not what you want. 
> I don't know about your setup, so it's hard to tell which 
> libraries are supposed to be where. Do you have binaries for 
> multiple architectures on the same machine? I'm currently 
> traveling so I can't check our AIX setup.

That could very well be the case. However, I'm not sure where else to
obtain the libjpeg shared library. I've installed the version from the
Linux toolbox for AIX as well downloading it from the AIX public domain
site hosted by UCLA. Neither of these appeared to satisfy the libjpeg
shared library requirement. Is there somewhere else I can obtain it or
am I left to compiling from scratch?
As far as multiple binaries go, I don't believe so. We're running AIX
5.2 ML6 with the standard set of filesets installed. I have installed a
number of RPMS for tasks unrelated to R. 
I know I'm very close to getting this working properly. I truly
appreciate the effort everyone is putting into this to give me a hand.

Thanks in advance!

Matt




> 
> Cheers,
> Simon
> 
> 
> 
>



[Rd] R make install and demo(graphics) issue
Matthew Beason