Building SASL 2.1.25 on OSX 10.7.3

Edward Brookhouse ebroo at HealthyDirections.com
Wed Feb 29 08:38:04 EST 2012


Hi Everyone,

I'm trying to build SASL 2.1.25 on OSX 10.7.3 and I am getting an error in the make "-install_name only allowed with -dynamiclib"

I see some others have had this issue posted to this list, but those posts suggest a bug was filed late in 2011 for this error, but I can't find the bug in Bugzilla?

Reference:  http://www.spinics.net/lists/cyrus-sasl/msg01998.html

Any thoughts appreciated -

Edward

Full error:

Making all in include
/bin/sh ../libtool   --mode=link gcc  -Wall -W -g -O2   -o makemd5.dSYM makemd5.o  -lresolv -lresolv
gcc -Wall -W -g -O2 -o makemd5.dSYM makemd5.o -lresolv -lresolv
Making all in sasldb
ar cru .libs/libsasldb.a db_ndbm.o allockey.o
Making all in plugins
/bin/sh ../libtool   --mode=link gcc  -Wall -W -g -O2 -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 2:25:0  -o libsasldb.la  sasldb.lo sasldb_init.lo plugin_common.lo ../sasldb/libsasldb.la   -lresolv -lresolv
rm -fr .libs/libsasldb.la .libs/libsasldb.* .libs/libsasldb.*
../libtool: line 2449: test: too many arguments
gcc -bundle -undefined error -o .libs/libsasldb.2.0.25.so  sasldb.lo sasldb_init.lo plugin_common.lo -all_load  ../sasldb/.libs/libsasldb.al  -lresolv -lresolv -lresolv -lresolv -lc  -install_name  /usr/lib/sasl2/libsasldb.2.so
i686-apple-darwin11-llvm-gcc-4.2: -install_name only allowed with -dynamiclib
make[2]: *** [libsasldb.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


More information about the Cyrus-sasl mailing list