[Qgis-user] Mac OS X: QGIS 1.0 Preview 2 Crashes
Martin Dobias
wonder.sk at gmail.com
Sat Nov 15 10:01:03 PST 2008
On Sat, Nov 15, 2008 at 5:03 AM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> On Nov 14, 2008, at 7:04 PM, William Kyngesburye wrote:
>
>> Hmmm... A possibility: compile and link statically as Qgis does now, use
>> install_name_tool to change the python link to drop the path (this is how
>> the Qt frameworks are initially). The linker at runtime then will use
>> DYLD_FRAMEWORK_PATH and its internal default path to search for the python
>> binary. A pseudo-dynamic linking, no need to fuss with dlopen() and
>> searching for python or a preference. A user-installed python framework
>> will override the system python, as expected.
>
>
> Victory!
>
> I patched SIP to compile as a bundle, with no direct link to Python.
> Rebuild PyQt and it followed. Rebuild Qgis, and the qgis-python modules
> are also now correct.
>
> Then, changed libqgispython to drop the full path to Python binary (I built
> with system Python).
Glad to hear that! Thanks for the effort!
Martin
More information about the Qgis-user
mailing list