These instructions aren’t very hard, but I’m not sure how I’m ever going to get this to work in the field.
I didn’t quite understand why I needed to make the ~/lib directory and soft links to the dylibs there.
Any suggestions on how to package instant client with my application such that it works?
does
System.EnvironmentVariable(“DYLD_LIBRARY_PATH”) = “~/instantclient_11_2”
work ?
if so you can make life a little easier
the script just unpacks instant client into a subdir the users home directory and then sets the dyld path to ONLY that path (this may cause problems as you usually add to the dyld path rather than replace it)
you could at launch of you app detect if things have already been unzipped & if not do that step and the set up the library path using a shell. juts include the zip so you can use a shell to tell which file to unzip & include the zip in your app bundle resources
that way even if a user nukes it your app will detect that and put things back in place
I would suggest trying to unpack this into the Application Support dir for your app though
I haven’t tried that Norman… I will however try it and let you know.
Cheers and Thanks, Merci, Gracias, Danka, Cam-On, Kahmsamhamnida, xie xie, spaciba, do-che etc etc etc