Louis Semprini wrote: > > We upgraded our systems to RedHat 7.2 with glibc2.2.4 > and all of a sudden, our mod_perl scripts which call > readdir() would either fail with an exception, or > readdir() in list context would return the correct # of > items but each item as an empty string. > > We scanned the modperl list and found about 50 posts in > about 8 threads on this topic (!) but no answers. > > There were various workaround suggestions, such as > using glob(), but these were not useful to us since we > rely on a number of third-party perl modules which call > readdir() and it was not practical to modify them. > > We discovered that this problem is caused by a build > mismatch between perl and mod_perl that is a result of > a nasty binary incompatibility between glibc2.2.4 and > glibc2.1.3. So much for DSO versioning! > > To get rid of the problem, you _must_ rebuild perl from > scratch on a system with glibc2.2.4 (in our case we had > perl 5.6.1), then you _must_ rebuild mod_perl from > scratch on the same system (we had mod_perl 1.26) and > then build and run httpd on the same system. > > (ok, technically it doesn't have to be the same system, > but you must have the same glibc version installed > during each build and also when you run httpd).
Thanks a lot Louis, This solution will appear in the next release of the guide in the troubleshooting chapter. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com