Aha - you were right it wasn't working cause of the expansion.
I replaced the #!/bin/sh with #!/bin/bash in the run file and it now works. Is this a solaris problem? If not, how come the script works when using sh on other systems?
Possibly .. damn sun :)
@400000004038ab8a38c539dc ld.so.1: /var/qmail/bin/bincimap-up: fatal: libstdc++.so.5: open failed: No such file or directory
heh, you are having a rough run. Try running ldd on /var/qmail/bin/bincimap-up to see what its trying to link against. This is what my system says:
[EMAIL PROTECTED] /var/qmail/bin# ldd bincimap-up
libssl.so.2 => /lib/libssl.so.2 (0x40019000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40047000)
libdl.so.2 => /lib/libdl.so.2 (0x4010d000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40110000)
libm.so.6 => /lib/libm.so.6 (0x40153000)
libc.so.6 => /lib/libc.so.6 (0x40174000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I've heard ldd lies sometimes on sun machines though ..
To track down the library your after try:
find / libstdc++.so.5 -print
If you can track it down add it to your LD_LIBRARY_PATH with something like:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libstdc++.so.5
If that doesn't work hopefully Andy will have a better suggestion,
AndyG.
