3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Compilation probl...
FromSent OnAttachments
Linus LundNov 5, 2005 12:39 pm 
Linus LundNov 8, 2005 4:13 pm 
Bill TaroliDec 28, 2005 3:10 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Compilation problems with authlib 0.57 on Solaris 10Actions...
From:Bill Taroli (bill@billsden.org)
Date:Dec 28, 2005 3:10:41 am
List:net.sourceforge.lists.courier-users

Linus Lund wrote:

Linus Lund wrote:

Dear list,

I've been trying to compile the courier authlib 0.57 on a Solaris 10 (sparc64) machine, but I keep getting stuck in symbol referenced errors. I have no problems when compiling version 0.56. I'm not very good in solving linking errors so any suggestions would be much appreciated. This is what I've tried and the results of those trials:

o Installed latest libtool, gcc. o Run configure script env CC=gcc CPPFLAGS="-I/usr/local/berkeleydb/include -I/usr/local/ldap/include/" LDFLAGS="-L/usr/local/berkeleydb/lib/ -L/usr/local/ldap/lib" ./configure --with-mailuser=courier --with-mailgroup=courier --without-authuserdb --without-authpwd --without-authshadow --without-authvchkpw --without-authpgsql --without-authmysql --without-authcustom --without-authpipe o Run make. Looks good for a bit and returns the following: [...] Linking authdaemondprog Undefined first referenced symbol in file libmail_encode_start ./.libs/libcourierauthcommon.so libmail_str_gid_t authdaemond.o libmail_str_uid_t authdaemond.o md5_crypt_redhat ./.libs/libcourierauthcommon.so sha1_hash ./.libs/libcourierauthcommon.so hmac_list ./.libs/libcourierauthcommon.so hmac_hashtext ./.libs/libcourierauthcommon.so hmac_hashkey ./.libs/libcourierauthcommon.so sha256_hash ./.libs/libcourierauthcommon.so libmail_encode ./.libs/libcourierauthcommon.so libmail_encode_end ./.libs/libcourierauthcommon.so md5_hash_courier ./.libs/libcourierauthcommon.so ld: fatal: Symbol referencing errors. No output written to .libs/authdaemondprog collect2: ld returned 1 exit status make[2]: *** [authdaemondprog] Error 1 o Repeated the same procedure with cc, with changing some options in the configure-line.

If anyone else experience the same problem this is how I solved it: o Reread the README file and installed the GNU linker o Tried to recompile, worked fine!

What exactly did you do to install the GNU linker *and* get configure to recognize it? I've gotten it onto the system, but the gcc I have (from sunfreeware of some old 3.x vintage) was build with Sun's ld... and configure uses it despite the availability of the GNU linker on the system....

Bill