Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

MacOSX: Pixies clashes with Google Earth

2006-05-28
2013-04-25
  • Just in case your Google Earth stopped working after an
    installation of Pixie on MacOSX, here is why:
    both programs come with a libcommon.dylib and
    Google Earth may pick up the wrong one and crash
    because of missing symbols upon startup.

    best regards,
    Randolf,
    --
    http://www.ayam3d.org/    Ayam, where sweeps don't flip.

     
    • Okan Arikan
      Okan Arikan
      2006-05-30

         Thanks Randolf,

         I will try to make libcommon a static library that gets linked into libri.

         I am not particularly familiar with MacOSX, but there must be a way to keep programs from conflicting with each other.

         Okan

       
      • George Harker
        George Harker
        2006-05-31

        Hi Randolf,

        Thanks for the report.  I run both usually without issues.  Out of interest, can you tell me if any of the following are the case for your setup:

        * are you on OSX 10.2 or earlier
        * did you compile Pixie yourself
        * do you have DYLD_LIBRARY_PATH set in ~/.MacOSX/environment.plist

        It may be the last of these that is causing you issues.  It shouldn't be necessary to set this unless you move Pixie to a nonstandard location .

        Cheers

        George

         
    • George,

      I compiled Pixie on my own with --prefix=$HOME
      and of course the DYLD_LIBRARY_PATH contains
      my $HOME/lib, which is why Google Earth picks
      up Pixie libcommon.dylib from there and not
      from its application bundle (as it should do?).

      best regards,
      Randolf
      --
      http://www.ayam3d.org/    Ayam, parametric NURBS modelling.

       
    • George Harker
      George Harker
      2006-06-17

      Hi Randolf,

      I don't think this is a bug.  The dynamic linker is supposed to look in DYLD_LIBRARY_PATH.  There's no conflict if this isn't set.

      There shouldn't be any need to set DYLD_LIBRARY_PATH for Pixie - unless you use the binary package and put it in a nonstandard location.  Bu then you could always compile for yourself.

      Please let me know if you found that you had do have this set, or if the docs seem to indicate you should.

      Thanks

      George

       
    • Hi George,

      the output messages of Pixies "make install" tell
      you, you have to meddle with DYLD_LIBRARY_PATH,
      but only under special circumstances, which I
      did not read completely. I thought it can do
      no harm... Indeed, if DYLD_LIBRARY_PATH does
      not contain $HOME/lib, Pixie can still find
      the libraries (thanks to special link options
      of the executables) _and_ Google Earth consequently
      uses its own version from the App bundle. But
      my $HOME/lib contains libs of other software,
      not mated to this location like Pixie does it,
      so I have to include $HOME/lib in DYLD_LIBRARY_PATH
      anyway...

      best regards,
      Randolf,
      --
      http://www.ayam3d.org/ Ayam, where you get Birails!