Reported by Mike Shaver (shaver@netscape.com) Repeat as gcc -shared -o /tmp/dll.so dll.c gcc -o /tmp/main main.c cd /tmp ./main We are only checking uniqueness of filename, not of file. We should be using stat to make sure the so isn't already loaded. Solaris gets this right. r~