There don't seem to be any weak symbols for (at least) the fd I/O functions which makes it impossible to wrap libc functions using the standard _fname or __fname trick. I'm trying to build the smbwrapper program from the Samba source. They seemed to be present in glibc-2.0. acronym:/scratch/1/lib$ nm libc-2.0.7.so | grep opendir 0005ae80 T __opendir 0005ae80 W opendir acronym:/scratch/1/lib$ nm /lib/libc-2.1.1.so | grep opendir 0008b4a0 t __opendir 0008b4a0 W opendir
the __xxx symbols are internal to glibc and should not be used. A new version of smbmount should fix this.