[GRASS-dev] any idea about these python libraries?

William Kyngesburye woklist at kyngchaos.com
Sun May 31 11:13:19 EDT 2009


You can check which wx libraries are linked with (before my change in  
SVN):

otool -L /path/to/grass/etc/wxpython/nviz/_grass6_wxnviz.so

And compare that with the sys.path in Python - the wxpython path for  
the installed new wxpython should be before any system path.

On May 31, 2009, at 4:22 AM, Michael Barton wrote:

> I think the issue is that wx libraries are in 2 places on the Mac:  
> 1) in /usr/lib/ installed with the system and 2) in /usr/local/lib/ 
> wx-python... for the libraries that are installed with a new  
> installation of wxPython.
>
> The latter is what is pointed to in the config statement and it  
> seems that these should be the libraries linked. However, vdigit and  
> wx3D were somehow linking the older system libraries and NOT linking  
> with the ones specified in configure. Other than vdigit and wx3D,  
> wxPython is linking with the ones specified in configure.
>
> Michael
> ____________________
> C. Michael Barton, Professor of Anthropology
> Director of Graduate Studies, School of Human Evolution & Social  
> Change
> Director, Center for Social Dynamics & Complexity
> Arizona State University
>
> Phone: 480-965-6262
> Fax: 480-965-7671
> www: <www.public.asu.edu/~cmbarton>
>
>
>
> On May 31, 2009, at 1:51 AM, Glynn Clements wrote:
>
>> There isn't anything you can do about this; even if you force e.g.
>> the vdigit module to use a specific version of wx with e.g. -rpath,  
>> if
>> wxPython itself loads a different version, either vdigit will end up
>> using that version (wrong) or you will end up with two different
>> versions in memory (also wrong).
>>
>> -- 
>> Glynn Clements <glynn at gclements.plus.com>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy




More information about the grass-dev mailing list