> CFLAGS_Solaris=-lsocket -lnsl nooci.o -lodbc
You could always add $(CFLAGS) to the above if you are not sure CFLAGS is
being picked.
> As near as I can tell, the problems I am having are with links to
> libgcc_s.so and libodbc.so (in /opt/gnu/lib and /opt/unixODBC,
> respectively).
You could try linking with -static and -static-libgcc. The downside is that
you have to (or at least should) relink if you update unixODBC. You could
also front-end lsv_amin with a shell script that sets LD_LIBRARY_PATH and
calls the executable.
Eric