Problems building libdap and bes on Intel MAC
Patrick West
mrpatrickwest at gmail.com
Thu Feb 1 14:44:18 PST 2007
We're having problems here building on an Intel MAC. I've had this
problem before, but can't remember how it got resolved. If anyone has
seen this before and could let me know how you resolved it, I would
appreciate it. Here's some of the details:
Here is the error message when building libdap:
/bin/sh ../libtool --mode=link gcc -g -O2 -o libgnu.la strnlen1.lo
mbchar.lo regex.lo strcasecmp.lo -L/usr/lib -lcurl -lssl -lcrypto -lz
-L/usr/lib -lxml2 -lz -lpthread -liconv -lm -lpthread
ar cru .libs/libgnu.a .libs/strnlen1.o .libs/mbchar.o .libs/regex.o
.libs/strcasecmp.o
ranlib: unrecognized option `-q'
Try `ranlib --help' for more information.
ar: internal ranlib command failed
make[3]: *** [libgnu.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
And this is what is installed:
libtool -V
Apple Computer, Inc. version cctools-622.5
ranlib is installed as a link to libtool
lrwxr-xr-x 1 root wheel 7 Feb 1 11:39 /usr/bin/ranlib -> libtool
autoreconf --version
autoreconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
ld -v
Apple Computer, Inc. version cctools-622.5.obj~13
gcc version is 4.0.1
Realized that the gnu libtool, ranlib, libtoolize are installed in
/usr/local/bin, so stuck that on the front of the path, only to get the
following error:
/bin/sh ../libtool --mode=link gcc -g -O2 -o libgnu.la strnlen1.lo
mbchar.lo regex.lo strcasecmp.lo -L/usr/lib -lcurl -lssl -lcrypto -lz
-L/usr/lib -lxml2 -lz -lpthread -liconv -lm -lpthread
rm -fr .libs/libgnu.a
ar cru .libs/libgnu.a .libs/strnlen1.o .libs/mbchar.o .libs/regex.o
.libs/strcasecmp.o
ar: .libs/libgnu.a: Invalid operation
make[3]: *** [libgnu.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Patrick West
UCAR/HAO
More information about the Opendap-tech
mailing list