sofar the only way im able to ship chicken bundled with my app is if i specifically twiddle the exe file:

$ install_name_tool -change libchicken.dylib @executable_path/../ Resources/libchicken.dylib grace

is this what im supposed to do? I had hoped that we could just set the DYLD_LIBRARY_PATH in our app's main before we launch chicken

main() {
  ...
setenv("DYLD_LIBRARY_PATH=", resourceDirectory.getFullPathName ().toUTF8(), 1);
  ...
  startChickenThread();
}

but that doesnt seem to work. what the normal way (if any) to ship chicken bundled with an app? (be gentle im new to this :) )



On Jan 24, 2008, at 2:10 PM, Todd Ingalls wrote:

its interesting because i an using libchicken.a on an intel machie running 10.4 and i do not have the same problem rick has with the same code.




_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to