Red Hat Bugzilla – Bug 624
Perl's socket.ph is broken
Last modified: 2008-05-01 11:37:48 EDT
Requiring "sys/socket.ph" results in an error.
This breaks some Perl scripts.
sonata$ perl -e 'require "sys/socket.ph";'
Prototype mismatch: sub main::__need_size_t vs () at (eval
43) line 1.
String found where operator expected at (eval 147) line 1,
near "&__const 'struct sockaddr'"
(Missing operator before 'struct sockaddr'?)
This is on a RedHat 5.2 system upgraded from RedHat 5.1.
I verified the Perl installation with rpm --verify.
*** This bug has been marked as a duplicate of 90 ***