This is a discussion on Re: [courier-users] Compilation problems with authlib 0.57 on Solaris within the Courier-Imap forums, part of the Mail Servers and Related category; If anyone else experience the same problem this is how I solved it: o Reread the README file and installed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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! 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. > > Any suggestions are appreciated! > > > Regards > Linus > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > courier-users mailing list > courier-users@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |