[MINC-development] can't find netcdf...?

Vicka Corey minc-development@bic.mni.mcgill.ca
Fri, 7 Nov 2003 13:38:21 -0500


i am having a rather frustrating time with (yet another!) attempt
to build 1.1 under os x.

my current grievance is:

i'm in: /private/homes/6/vicka/mni/src/minc-1.1
i run configure
it fails at:
checking for library netcdf... no
configure: error: cannot find required library netcdf

thing is...i just *built* a new shiny netcdf.  it is in:
ocelot:vicka[462] ls -lL /usr/pubsw/lib/libnetcdf.a
-rw-rw-r--  1 pubsw  pubsw  238212 Nov  7 12:52 /usr/pubsw/lib/libnetcdf.a

and i have set LDFLAGS:
ocelot:vicka[463] env |grep LD
LDFLAGS=-L/usr/pubsw/lib

...even more incredibly, putting a copy into /usr/lib or /lib still fails:

ocelot:vicka[464] ls -l /usr/lib/libnetcdf*
-rw-r--r--  1 root  wheel  238212 Nov  7 13:10 /usr/lib/libnetcdf.a


...anyone have any ideas?  this is driving me *mad*.

fwiw, using --build-prefix worked around this for a part of the package
that supported that, but this one doesn't recognize it.

thanks,
--vicka