To all, I am using Dovecot on solaris 10. Home directories are mounted using NFS. However, they are not readable by root. I compiled Dovecot from the source. I set the following environment variables: export LDFLAGS='-L/local/software/openssl/lib -R/local/software/openssl/lib' export CPPFLAGS=-I/local/software/openssl/include Then I ran gmake and the gmake install. In the server logs, when I attempt to connect to port 993 using imap over SSL, i receive the following error: dovecot: Mar 21 15:34:25 Info: imap-login: Login: user=<someusername>, method=PLAIN, rip=134.121.92.228, lip=134.121.5.141, TLS dovecot: Mar 21 15:34:25 Error: IMAP(someusername): ld.so.1: imap: fatal: libgcc_s.so.1: open failed: No such file or directory dovecot: Mar 21 15:34:25 Error: child 13085 (imap) killed with signal 9 Has anyone seen similar issues? Randall
Randall Svancara wrote:> In the server logs, when I attempt to connect to port 993 using imap > over SSL, i receive the following error: > > dovecot: Mar 21 15:34:25 Info: imap-login: Login: user=<someusername>, > method=PLAIN, rip=134.121.92.228, lip=134.121.5.141, TLS > dovecot: Mar 21 15:34:25 Error: IMAP(someusername): ld.so.1: imap: > fatal: libgcc_s.so.1: open failed: No such file or directory > dovecot: Mar 21 15:34:25 Error: child 13085 (imap) killed with signal 9 > > Has anyone seen similar issues? >You need the GCC runtime libraries (package SFWgcc34l or similar) installed. Hope this helps, Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Randall Svancara wrote:> > dovecot: Mar 21 15:34:25 Info: imap-login: Login: user=<someusername>, > method=PLAIN, rip=134.121.92.228, lip=134.121.5.141, TLS > dovecot: Mar 21 15:34:25 Error: IMAP(someusername): ld.so.1: imap: > fatal: libgcc_s.so.1: open failed: No such file or directory > dovecot: Mar 21 15:34:25 Error: child 13085 (imap) killed with signal 9 > > Has anyone seen similar issues?The RPATH for the dovecot binaries appear to not include the path to where libgcc_s.so.1 exists at. run 'dump -Lv <binary>' to see what RPATH is embeded in the binary, and recompile either fixing the -R args used when linking or set LD_RUN_PATH to a colon delimited list of paths for the RPATH to be set to when your compiling. -Phil.
Randall Svancara wrote:> To all, > > I am using Dovecot on solaris 10. Home directories are mounted using > NFS. However, they are not readable by root. > > > I compiled Dovecot from the source. I set the following environment > variables: > > export LDFLAGS='-L/local/software/openssl/lib > -R/local/software/openssl/lib' > > export CPPFLAGS=-I/local/software/openssl/include > > Then I ran gmake > and the gmake install. > > In the server logs, when I attempt to connect to port 993 using imap > over SSL, i receive the following error: > > dovecot: Mar 21 15:34:25 Info: imap-login: Login: user=<someusername>, > method=PLAIN, rip=134.121.92.228, lip=134.121.5.141, TLS > dovecot: Mar 21 15:34:25 Error: IMAP(someusername): ld.so.1: imap: > fatal: libgcc_s.so.1: open failed: No such file or directory > dovecot: Mar 21 15:34:25 Error: child 13085 (imap) killed with signal 9 > > Has anyone seen similar issues? > > Randall > >I see you found a solution, but I'm perplexed as to why you have this problem. Did you use the gcc in /usr/sfw/bin? - Bart