[R-SIG-Mac] X11 missing? ... was Re: [R] rgl persp3d bounding box color problem.
Duncan Murdoch
murdoch at stats.uwo.ca
Wed Mar 4 05:14:44 CET 2009
On 03/03/2009 6:40 PM, Rob Goedman wrote:
> David,
>
> 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
> JavaScripter/pythoneer talking :-).
I think it probably did -- the FT symbols are FreeType, used by rgl to
draw nice fonts.
But I don't know how to fix this, other than configuring without
Freetype (and so without nice fonts).
Duncan Murdoch
>
> 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.
>
> If someone could help out where _FT_Attach_File comes from ...
>
> Rob
>
>
> 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/
>> library/rgl/libs/x86_64/rgl.so':
>> dlopen(/Users/davidwinsemius/Library/R/2.8/library/rgl/libs/x86_64/
>> rgl.so, 6): Symbol not found: _FT_Attach_File
>> Referenced from: /Users/davidwinsemius/Library/R/2.8/library/rgl/
>> libs/x86_64/rgl.so
>> Expected in: dynamic lookup
>>
>> Error : .onLoad failed in 'loadNamespace' for 'rgl'
>> Error: package/namespace load failed for 'rgl'
>> <rgl-compile-log.txt>
>>
>> -- thanks for all the eyeballs and ideas
>>
>> David Winsemius
>>
>>
>> On Mar 3, 2009, at 5:16 PM, Rob Goedman wrote:
>>
>>> David,
>>>
>>> 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
>>> /Users/rob
>>>
>>> Robs-Intel:~ rob$ cd Downloads/ # To wherever the
>>> rgl.....tar.gz got stored
>>>
>>> Robs-Intel:Downloads rob$ ls
>>> Cappuccino_Developer_Tools.pkg
>>> Changes.app
>>> Fluid_0.9.6.zip
>>> iphone_sdk_for_iphone_os_2.2.19m2621afinal.dmg
>>> rgl_0.83-3.tar.gz
>>> ...
>>>
>>> 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/
>>> library’
>>> * 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.
>>>
>>> Rob
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list