[R-SIG-Mac] X11 missing? ... was Re: [R] rgl persp3d bounding box color problem.
dwinsemius at comcast.net
Wed Mar 4 01:05:11 CET 2009
On Mar 3, 2009, at 6:40 PM, Rob Goedman wrote:
> I did notice in your log.txt file the following message:
> ld warning: in /usr/local/lib/libfreetype.dylib, missing required
> architecture x86_64 in file
> It seems a bit far fetched for the missing symbol to come from that
> library though (but this is a
> As I normally work on R-2.9, I just went back to R-2.8.1 and tried
> the terminal procedure.
> Got the rgl examples running without problems. So that is not the
> cause of the error message either.
> I also noticed you are using the latest rgl from R-Forge (83-751),
> while I was using 83-3.
> Both versions work on my system.
At one time I did attempt to install from that version, but I more
recently followed your directions and installed from the CRAN 83-3
version. When I go to the Package Manager dialog, the help file
indicates that it is looking at rgl 83-3 (even if it won't load). On
the other hand, the Package Installer still says I have 83-751.
Looking at the installation log I see this line in your installation:
Installing to library ‘/Library/Frameworks/R.framework/Resources/
I do not have that directory. I instead have
/Library/Frameworks/R.framework/Resources/Libraries ... and most of
the package information is in
In that library I do find version 83-751
One other change that has appeared is that the icons on the PM pages
are now blue squares with "?" in them.
> If someone could help out where _FT_Attach_File comes from ...
> On Mar 3, 2009, at 2:48 PM, David Winsemius wrote:
>> Tried that method:
>> The compilation proceeded without error and was reported:
>> <snip quite a bit of material attached as rgl-compile.log>
>> ** building package indices ...
>> * DONE (rgl)
>> However, in R refreshing the Package Manager and attempting to load
>> rgl fails to load with this error report:
>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>> unable to load shared library '/Users/davidwinsemius/Library/R/2.8/
>> rgl.so, 6): Symbol not found: _FT_Attach_File
>> Referenced from: /Users/davidwinsemius/Library/R/2.8/library/rgl/
>> Expected in: dynamic lookup
>> Error : .onLoad failed in 'loadNamespace' for 'rgl'
>> Error: package/namespace load failed for 'rgl'
>> -- thanks for all the eyeballs and ideas
>> David Winsemius
>> On Mar 3, 2009, at 5:16 PM, Rob Goedman wrote:
>>> On my system libpng-config and xmkmf are in /usr/X11/bin, as on
>>> your system.
>>> Adding /usr/X11/bin to my path did not help. I think /usr/X11R6 is
>>> just a link back to /usr/X11.
>>> Did you try the terminal suggestion?
>>> Download rgl_0.83-3.tar.gz from CRAN, then in a terminal
>>> Robs-Intel:~ rob$ pwd
>>> Robs-Intel:~ rob$ cd Downloads/ # To wherever the
>>> rgl.....tar.gz got stored
>>> Robs-Intel:Downloads rob$ ls
>>> Robs-Intel:Downloads rob$ R_ARCH=/x86_64 R CMD INSTALL --
>>> configure-args='--disable-carbon' rgl_0.83-3.tar.gz
>>> * Installing to library ‘/Library/Frameworks/R.framework/Resources/
>>> * Installing *source* package ‘rgl’ ...
>>> checking for gcc... gcc-4.2 -arch x86_64 -std=gnu99
>>> checking for C compiler default output file name... a.out
>>> checking whether the C compiler works... yes
>>> checking whether we are cross compiling... no
>>> I know, it is not the ultimate solution, but it might help to know
>>> this works on your system.
More information about the R-SIG-Mac