warning can't open dynamic library:
warning can't open dynamic library:
- Subject: warning can't open dynamic library:
- From: Dave Thorup <email@hidden>
- Date: Thu, 22 Jan 2004 18:42:47 -0500
This is driving me crazy! I keep getting the following error:
ld: warning can't open dynamic library: /usr/local/lib/FooBar.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
ld: Undefined symbols:
And then a list of symbols in the FooBar library. The problem is,
libFooBar.a is not a dylib, it is a static library. The other problem
is, libFooBar.a isn't even in the project anymore. In or out of the
project it doesn't seem to matter, I always get the same error.
This is what happened. FooBar used to be a dylib, but I then
recompiled it as a static library, libFooBar.a. After removing
libFooBar.dylib from the project and adding the static one I keep
getting this error. And why would it be looking for libFooBar.dylib in
/usr/local/lib anyway? Something seems to be screwed up with my
project and I can't figure out what it is. I've tried cleaning the
project and even throwing away the build folder myself, but nothing
seems to work.
Does anyone have any suggestions?
Thanks!
PS Is there any way to change the output of a target after it's been
created? For example: I've got a target that creates a dylib and I
want it to change it to make a static (.a) library. Is there any way
to do that? Or do I have to manually create a new target?
Thanks again!
_____________________________
Dave Thorup
Software Engineer
email@hidden
http://www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults /
Preferences database.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.