dyld: Symbol not found: _SCDynamicStoreCopyConsoleUser

Discussion in 'iOS Programming' started by KAn Peng, Mar 19, 2009.

  1. KAn Peng macrumors newbie

    Joined:
    Jan 3, 2009
    #1
    Hi all,

    I have complied the static glib Library on command line like:
    ./configure --enable-static
    make
    make install

    then I want to use the static glib Library on my iphone app project, I set head file path and lib file path on project,and add -lglib-2.0 on other link flags

    when I run the demon project on simulator , interrupt, error information like follows:

    Attaching to program: `/Users/apple/Library/Application Support/iPhone Simulator/User/Applications/8C5963E6-590F-4434-96C6-1B4F616ACA0A/testglib.app/testglib', process 48361.
    Re-enabling shared library breakpoint 1
    dyld: Symbol not found: _SCDynamicStoreCopyConsoleUser
    Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration

    I can't go on, who have any idear?
    Thanks!
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    If you're using a generic makefile to compile for the iPhone, I doubt that'd work. Try making it into an Xcode project and compile it there (for the iPhone).
     

Share This Page