On Thu, 30 Oct 2003, Florent Gilain wrote: >Hello, >I finally compiled binc without SSL support.
Okay, that would be a workaround :-). >Now, i followed the documentation found here >http://lifewithbincimap.org/index.php/Main/LifeWithBincIMAP to install my >IMAP server, but i get 2 problems : >1) The run script for the imap service has an error into it on my sun >solaris 2.9 system, i get that error : >@400000003fa14f310e8e0d24 ./run: syntax error at line 8: `(' unexpected >Corresponding to the $(hostname) part of the script...what should i use >instead of this ? Interesting. Try replacing the $(hostname) syntax with backticks: `hostname`. In any case, the $(hostname) string is to be replaced by the result of the command "hostname", so you could just insert your hostname in its place. What version of bash are you running? :-) >2) When starting the IMAP server using qmailctl start, here is what i get >into the IMAP log : bash-2.05# tail -f /var/log/qmail/log/bincimap/current >@400000003fa14f6628848154 ld.so.1: /var/qmail/bin/bincimap-up: fatal: >libstdc++.so.5: open failed: No such file or directory That's also interesting. :-) >But this file exists on my system in : >bash-2.05# ls -rtl /usr/local/lib/libstdc++.so.5 >lrwxrwxrwx 1 root other 18 sept 23 22:31 >/usr/local/lib/libstdc++.so.5 -> libstdc++.so.5.0.2 In the run file, before the "exec ..." line, add this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib then try restarting the service. It's quite common to have /usr/local/lib in the standard library path, so in /etc/ld.so.conf you may want to add this path and then run "ldconfig". Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
