IDL Version 8.0.1, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual Information Solutions
Installation number: 230982.
Licensed for personal use by James Gallagher only.
All other use is strictly prohibited.
IDL> !path = expand_path("+/usr/local/share/idl" + ":" + !path)
IDL> stat = OPENDAP_GET(url, data)
% Compiled module: OPENDAP_GET.
% Compiled module: OPENDAP_GET_DATA.
% Loaded DLM: OPENDAP.
% Compiled module: OPENDAP_HANDLE_NODE.
% Compiled module: OPENDAP_FIX_NAME.
% Compiled module: OPENDAP_HANDLE_CONTENT.
IDL> help, /str, data
** Structure <36732b28>, 5 tags, length=23216, data length=23208, refs=1:
U STRUCT -> <Anonymous> Array[1]
V STRUCT -> <Anonymous> Array[1]
LAT STRUCT -> <Anonymous> Array[1]
LON STRUCT -> <Anonymous> Array[1]
TIME STRUCT -> <Anonymous> Array[1]
IDL> help, /str, data.u
** Structure <3672c278>, 2 tags, length=11472, data length=11472, refs=2:
U INT Array[21, 17, 16]
DIMENSION_NAMES STRING Array[3]
IDL>
What I did:
0. I fixed some issues in the idl-client-3.6.1 source code (so that I got a .so and not a .dylib)
1. I built and installed Ocapi and the idl-client using the default prefix
2. I copied (ugh) the libidl_opendap.so and .dlm into /Applications/itt/idl/idl80/bin/bin.darwin.x86_64/
3. I took the libcurl files in that directory and I renamed then with the extension '.never' so the dyld linking loader won't find them.
4. I ran the commands you see above.
So, I'll wait to here from IDL about the library conflict. Clearly, removing the libs that come with IDL is not a good plan, so we'll see. My guess is that this will take me another two days - I have some fires going that will need attention tomorrow - but I can see a way around most of the issues (build binaries on 10.5; fix the
makefile.am and issue a patch/release; modify the README & INSTALL so they make sense and include the bit about a startup file).
Thanks for bringing this up - I think you're the first 8.0 user.
James