• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
unknown required load command 0x80000022
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unknown required load command 0x80000022


  • Subject: unknown required load command 0x80000022
  • From: Grant Limberg <email@hidden>
  • Date: Mon, 26 Oct 2009 11:16:20 -0700

We're using the MySQL++ library for a project. I've built it on Snow Leopard targeting MacOS 10.4 as the minimum version, but whenever I try to use it on Leopard (10.5), I get the following error when trying to load libmysqlpp.3.0.9.dylib:

dyld: Library not loaded: @executable_path/../Frameworks/libmysqlpp. 3.0.9.dylib
Referenced from: /Volumes/Extras/Users/cruisecontrol/.hudson/jobs/ OSX-10.5-Licenser-CI-Debug/workspace/trunk/Licenser/build/scons/ scons-out/dbg/staging/./AdminServer
Reason: no suitable image found. Did find:
/Volumes/Extras/Users/cruisecontrol/.hudson/jobs/OSX-10.5-Licenser- CI-Debug/workspace/trunk/Licenser/build/scons/scons-out/dbg/ staging/./../Frameworks/libmysqlpp.3.0.9.dylib: unknown required load command 0x80000022
/Volumes/Extras/Users/cruisecontrol/.hudson/jobs/OSX-10.5-Licenser- CI-Debug/workspace/trunk/Licenser/build/scons/scons-out/dbg/ staging/../Frameworks/libmysqlpp.3.0.9.dylib: unknown required load command 0x80000022
Trace/BPT trap

It's being built with gcc/g++ 4.0 and with the following environment variables set prior to running the ./configure script:


export CC="gcc-4.0"
export CXX="g++-4.0"
export CFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4 - DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-arch i386 -arch ppc"

I'm also changing the install_name after build to @executable_path/../ Frameworks/libname after it's built.


Any ideas on why I'm getting the above error on Leopard when built from Snow Leopard targeting 10.4?

Thanks in advance.

Grant Limberg

GIF image



email@hidden
http://www.cedrus.com/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: unknown required load command 0x80000022
      • From: Kevin Brock <email@hidden>
    • Re: unknown required load command 0x80000022
      • From: Peter O'Gorman <email@hidden>
  • Prev by Date: Re: Strange Parallel Target Building problem
  • Next by Date: Getting a handle on inf
  • Previous by thread: Re: Xcode tutorial videos
  • Next by thread: Re: unknown required load command 0x80000022
  • Index(es):
    • Date
    • Thread