On Sun, 22 Feb 2004, Adam Henson wrote: >Hi All, > I hope this will be my last problem with binc. I wonder if anyone has any >idea why when I run bincimap-up from the command line it runs fine and >gives me a prompt, but when i try to connect with an imap client, the >connection dies and the log says: > ld.so.1: /var/qmail/bin/bincimap-up: fatal: libstdc++.so.5: open failed: >No such file or directory > Is there anything else I can try? The libstdc++.so.5 file does exist in >/usr/local/lib, so why can bincimap-up not see it when started by >tcpserver?
Did you try adding /usr/local/lib to LD_LIBRARY_PATH and LD_RUN_PATH in the run files? Before tcpserver is run: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_RUN_PATH=$LD_RUN_PATH:/usr/local/lib Restart the services, then try to connect and see what happens. I also googled up this; try running this command: crle -u -l /usr/local/lib I'm not sure what it does, but have a suspiscion that it adds /usr/local/lib to the default library search path. 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."
