re: dyld: (No such file or directory, errno =2)... But the
re: dyld: (No such file or directory, errno =2)... But the
- Subject: re: dyld: (No such file or directory, errno =2)... But the
- From: George Warner <email@hidden>
- Date: Wed, 19 Oct 2005 13:09:36 -0700
- Thread-topic: dyld: (No such file or directory, errno =2)... But the
On Wed, 19 Oct 2005 07:39:07 -0400, Mark Grob <email@hidden> wrote:
> I keep getting this error when trying to run my .app outside of Xcode:
>
> dyld: /VRengine/example/VREngine1a OSX.app/Contents/MacOS/VREngine Debug OSX
> can't open library: libisense.dylib (No such file or directory, errno = 2)
>
> The application runs in Debug and Release as long as I run it within xCode.
> As soon as I try to run it as a .app outside of Xcode I get this error. I
> have made sure that the dylib is in the bundled app resources location and
> in the same directory as the .app itself and it still passes this error.
>
> Settings in xCode:
> I have the libisense.dylib set as relative to the project build location.
> Why do it still do the error above?
What is the dylib's Install path? This is a location embedded in the dylib
when it's built that the linker uses (when building something that depends
on the library) to tell the runtime dylib loader where to find the dylib. If
you're putting the dylib into your app's framework folder then it's install
path should be set to: "@executable_path/../Frameworks".
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
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