• 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
where to locate dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where to locate dylib


  • Subject: where to locate dylib
  • From: Norio Ota <email@hidden>
  • Date: Thu, 21 Oct 2004 18:30:01 +0900

Hi there,

I could make my own dynamic library and my application can link it at runtime without any problem. And it runs perfectly. However, when I put the app and library into the other directory, the app doesn't run because of undefined symbols' error.

The directory is like this:

Original Folder
+ myApp.xcode
+ build
  + myApp.app
  + libMyDynamicLibrary.dylib

Installation Path in the information of the library target isn't set.


Then as I described former, when I move those files in to somewhere else, the app doesn't run.
Like:


Other folder
  + myApp.app
  + libMyDynamicLibrary.dylib


In fact I'd like to put the library in "MacOS" directory or any other directory in the application bundle, but somehow, even though I put the library in the directory where the application executable locates, the app doesn't run.


Could you tell me what I am missing?
And how to set the target information to make the application link the library when it locates in the same directory as the executable file?


Thank you,
Norio Ota

_______________________________________________
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: where to locate dylib
      • From: Markus Hitter <email@hidden>
  • Prev by Date: Broken Project
  • Next by Date: Re: where to locate dylib
  • Previous by thread: RE: Broken Project
  • Next by thread: Re: where to locate dylib
  • Index(es):
    • Date
    • Thread