OSX pcbnew fails to open

Bug #1497388 reported by Phil Guiet

This bug report was converted into a question: question #271542: OSX pcbnew fails to open.

14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Adam Wolf

Bug Description

iMac OSX Lion 10.7.5
downloaded kicad-r6149.20150903-035321.dmg
installed per instructions
Application: kicad
Version: (2015-09-02 BZR 6149)-product release build
wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
Platform: Mac OS X (Darwin 11.4.2 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=ON
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Kicad initially opens normally
From here open Eeschema is normal
Pcbnew gives following;
11:01:04: dlopen(/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface, 10): Library not loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
  Referenced from: /Applications/Kicad/kicad.app/Contents/MacOS/../Frameworks/libcairo.2.dylib
  Reason: image not found
11:01:04: IO_ERROR: Fatal Installation Bug. File:
'/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface'
could not be loaded
Perhaps a wxWidgets shared (.dll or .so) file is missing.
From command line: argv[0]:
'/Applications/Kicad/kicad.app/Contents/MacOS/kicad'

from /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/common/kiway.cpp : KiFACE() : line 225

Tags: osx
Phil Guiet (pguiet)
Changed in kicad:
status: New → Invalid
Revision history for this message
Adam Wolf (adamwolf) wrote :

Phil, what was it?

tags: added: osx
Revision history for this message
Phil Guiet (pguiet) wrote :

I initially logged this as a bug, but then decided it probably really should be handled as question to the community. No one else seems to have this problem. I was under the impression I had successfully made the change from bug to question. Sorry for the confusion. Hope there is an answer out there.

Revision history for this message
m (easyw) wrote :

I have the same prob, so I would say it is a bug
Maurice

m (easyw)
Changed in kicad:
status: Invalid → Confirmed
Revision history for this message
Adam Wolf (adamwolf) wrote :

This has been reported previously, and then other people running 10.7 said it wasn't a problem anymore. Is there anything special on your machine, easyw?

Revision history for this message
m (easyw) wrote :

Hi Adam,
unfortunately not.
It is a MacMini Intel 5.2 - core i7 - 4GB RAM
Video Card: AMD Radeon HD 6630M 256M RAM
64bit kernel
Installed XCode 4.3.3
I used to be a developer ... and I used to build kicad 4022 and closer releases...

I don't know if this could help in finding the prob...

I searched for a solution for the missing lib without succeeding...
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics

thanx
M

Revision history for this message
m (easyw) wrote :

it could be something related to the installed SDK

I have
Developer/SDKs/MacOSX10.7.sdk/
Developer/SDKs/MacOSX10.6.sdk/

M

Revision history for this message
m (easyw) wrote :

Hi again,
I sym linked the lib to the right place:
sudo ln -s /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics

but then I got this error:
dlopen(/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface, 10): Symbol not found: ___sincos_stret
  Referenced from: /Applications/Kicad/kicad.app/Contents/Applications/pcbnew.app/Contents/MacOS/../Frameworks/libcairo.2.dylib
  Expected in: /usr/lib/libSystem.B.dylib

I found some tips that could help here:
http://stackoverflow.com/questions/19015780/sincos-stret-undefined-symbol-when-linking

and here some other people having the same issue in OSX 10.8
http://www.eevblog.com/forum/open-source-kicad-geda/noobies-of-the-noobe-trying-to-run-kicad-in-osx/

Revision history for this message
Adam Wolf (adamwolf) wrote :

This should be fixed in the latest nightly and tonight's new RC2-2 build for OS X. It has been confirmed fixed by two users here: https://bugs.launchpad.net/kicad/+bug/1516664

Changed in kicad:
assignee: nobody → Adam Wolf (adamwolf)
Adam Wolf (adamwolf)
Changed in kicad:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.