I found this over in the knowledge base (https://panel.dreamhost.com/kbase/index.cgi?area=2626)
“Notice the LD_LIBRARY_PATH environment variable. This will force the PHP binary to search in the specified directory for any dynamic libraries that it needs to load. This is how we get the PHP binary to use the library files it actually works with, rather than trying to use the ones on the mail server (which doesn’t have all the libraries it needs.)”
So I guess my home directory (and Maildir) are nfsmounted on multiple machines, and the dspam binary that I built is not compatible with the glibc version on the other machine. Unfortunately, glibc.so.6 is statically linked to /lib/ld-linux.so.2, so even copying in the new glibc isn’t helpful.
Can you think of a way around this?
If the problem is that we’re linked against the wrong environment, might we be able to solve this by writing a shell script that does the configure / compile / install for us, and then creating another mail account and getting procmail to invoke the installation script for that account via a .procmailrc file? So you send it a message and it’ll install the new software? Probably a Really Bad Idea, but I don’t know how else we can compile for that arch.