[Courier-imap] compile error on solalis8
Hello all, I try install imap-4.3.0 on solaris 8(SPARC) but compiler said this error. >g++ -g -O2 -o testbdb testbdb.o -L/usr/local/lib -L/usr/local/ssl/lib >./.libs/l >ibbdbobj.a -ldb -Wl,-R -Wl,/usr/local/lib:/usr/lib >Undefined first referenced > symbol in file >cerrtestbdb.o >endl(ostream &) testbdb.o >__out_of_range(char const *)testbdb.o >__length_error(char const *)testbdb.o >ostream::operator<<(char const *) testbdb.o >ld: fatal: Symbol referencing errors. No output written to testbdb >collect2: ld returned 1 exit status I am already installed authlib-0.60.2,Berkeley DB 4.1.25. Then I also try compile imap-4.1.1. It passed testbdb but it said another error. >gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/ssl/include -I./.. -I.. -Wall >-g -O2 -c starttls.c >Linking couriertls >Undefined first referenced > symbol in file >SSL_load_error_strings ./.libs/libcouriertls.a(libcouriertls.o) >TLSv1_method./.libs/libcouriertls.a(libcouriertls.o) >SSLv2_method./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_PrivateKey_file ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_RSAPrivateKey_file ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_certificate_chain_file ./.libs/libcouriertls.a(libcouriertls.o) >d2i_SSL_SESSION ./.libs/libcouriertls.a(libcouriertls.o) >RSA_generate_key./.libs/libcouriertls.a(libcouriertls.o) >i2d_SSL_SESSION ./.libs/libcouriertls.a(libcouriertls.o) >SSLv23_method ./.libs/libcouriertls.a(libcouriertls.o) >SSL_library_init./.libs/libcouriertls.a(libcouriertls.o) >ld: fatal: Symbol referencing errors. No output written to couriertls >collect2: ld returned 1 exit status I already installed OpenSSL-0.9.8c. I typed configure was here for both version. >%env CPPFLAGS='-I/usr/local/ssl/include' \ >LDFLAGS='-R/usr/local/lib:/usr/lib -L/usr/local/lib \ >-L/usr/local/ssl/lib' \ >./configure \ >--with-waitfunc=wait3 \ >--without-authldap \ >--with-unicode \ >--enable-workarounds-for-imap-client-bugs \ >--with-db=db \ >--without-ipv6 \ >--with-piddir=/var/run \ >--disable-root-check \ >--with-authvchkpw Please give any advise. And whitch version better for me? other information: GNU Make 3.80 gcc version 2.95.3 Berkeley DB > /usr/local/include /usr/local/lib installed thank you -- Koichi Mori - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] compile error on solalis8
Koichi Mori writes: SSL_library_init./.libs/libcouriertls.a(libcouriertls.o) ld: fatal: Symbol referencing errors. No output written to couriertls collect2: ld returned 1 exit status I already installed OpenSSL-0.9.8c. I typed configure was here for both version. %env CPPFLAGS='-I/usr/local/ssl/include' \ LDFLAGS='-R/usr/local/lib:/usr/lib -L/usr/local/lib \ -L/usr/local/ssl/lib' \ You probably need to add /usr/local/ss/lib to -R. This presumes this is where you installed OpenSSL. Furthermore, you must build OpenSSL as a shared library, not as a static library. pgp6fOsHIq3Uo.pgp Description: PGP signature - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Improvement of maildir_rename()
Dear Sam, my intention was to get all possible hints before reinventing the wheel. The technical problems you mention, those are the things of interest for me. What about them? What exactly is fairly difficult when talking about folder locking, what exactly is hard when expanding the scope of the numerous functions to 'handling absolute pathnames'? I definitly want to *solve the problems* before starting to code with my text-editor. Nevertheless, when I started looking at the source code I also had a look on Cyrus Imapd. This software is what I am running right now as it fixed numerous problems I've had with courier imapd. They are: - Moving Shared Folders to the personal Trash folder - Inheritance of Shared Folder permissions for subfolders - Out of the Box working Shared Folders together with MS Outlook As the advantages of cyrus imapd outperform the disadvantages of writing migration scripts for my setup (some hundred users), I hearby step back from my initial goal of improving courier imapd. Have a nice day Thomas Sam Varshavchik wrote: > > I think there's some miscommunication here. You posted a proposal, > presumably because you volunteered to try to implement something like > this, and you are asking for feedback. > > Well, I'm giving you the feedback. I see a number of technical > problems which makes this implementation fairly difficult. You are, of > course, aware of all the usual issues with locking of this kind, and I > was looking forward to hear how you were going to solve them. I'm the > one listening to your proposal, not the other way around. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Improvement of maildir_rename()
Thomas Reifferscheid writes: Dear Sam, my intention was to get all possible hints before reinventing the wheel. The technical problems you mention, those are the things of interest for me. What about them? What exactly is fairly difficult when talking about folder locking, Run a Google search on "NFS locking", and be prepared to spend the next couple of years, reading the results. A full rehashing of all the locking-relates issues would, I'm afraid, be utterly boring and rather redundant, since there are plenty of reading material on the Internet that fully hash out all these issues. Nevertheless, when I started looking at the source code I also had a look on Cyrus Imapd. This software is what I am running right now as it fixed numerous problems I've had with courier imapd. They are: Then you should use it instead, if it works better for you. pgpeU3ebgfl8M.pgp Description: PGP signature - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] compile error on solalis8
Hello Sam, Sam Varshavchik <[EMAIL PROTECTED]> wrote in article Re: [Courier-imap] compile error on solalis8 at Wed, 12 Dec 2007 06:59:35 -0500 >You probably need to add /usr/local/ss/lib to -R. This presumes this is >where you installed OpenSSL. Furthermore, you must build OpenSSL as a shared >library, not as a static library. Thank you for advise. I build OpenSSL shared library and install.(also update 0.9.8g) ># ls -FCa /usr/local/ssl/lib >./ libcrypto.so@libssl.so.0.9.8* >../ libcrypto.so.0.9.8* pkgconfig/ >engines/ libssl.a >libcrypto.a libssl.so@ Then add path to -R in configure.(imap-4.1.1) >LDFLAGS='-R/usr/local/ssl/lib:/usr/local/lib:/usr/lib... but compiler said error same as before. >gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/ssl/include -I./.. -I.. -Wall >-g > -O2 -c starttls.c >Linking couriertls >Undefined first referenced > symbol in file >SSL_load_error_strings ./.libs/libcouriertls.a(libcouriertls.o) >TLSv1_method./.libs/libcouriertls.a(libcouriertls.o) >SSLv2_method./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_PrivateKey_file ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_RSAPrivateKey_file ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_sess_set_remove_cb ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_use_certificate_chain_file ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_sess_set_get_cb ./.libs/libcouriertls.a(libcouriertls.o) >SSL_CTX_sess_set_new_cb ./.libs/libcouriertls.a(libcouriertls.o) >d2i_SSL_SESSION ./.libs/libcouriertls.a(libcouriertls.o) >RSA_generate_key./.libs/libcouriertls.a(libcouriertls.o) >i2d_SSL_SESSION ./.libs/libcouriertls.a(libcouriertls.o) >SSLv23_method ./.libs/libcouriertls.a(libcouriertls.o) >SSL_library_init./.libs/libcouriertls.a(libcouriertls.o) >ld: fatal: Symbol referencing errors. No output written to couriertls >collect2: ld returned 1 exit status Please give another advise. -- Koichi Mori - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap