At 11:12 AM -0700 10/20/03, Stas Bekman wrote:
Ray Zimmerman wrote:
I have perl-5.8.0 installed on Mac OS X 10.2.8 in /usr/local with no problems.

The other day I installed Apache::Scoreboard but when I try running ...

#!/usr/bin/perl -w
use strict;
use Apache::Scoreboard;
1;

... I get ...

dyld: perl Undefined symbols:
_ap_rwrite
_ap_send_http_header
_ap_set_content_length
_sv2request_rec
Trace/BPT trap

Are you sure you are trying it under running mod_perl, and not mod_cgi?

No ... I haven't gotten that far ... I'm just trying to run a script from the command line. The following works just fine on my Linux box ...


----------------------
#!/usr/bin/perl -w

use strict;

use Apache::Scoreboard;

my $image = Apache::Scoreboard->fetch("http://localhost/scoreboard";);

for (my $parent = $image->parent; $parent; $parent = $parent->next) {
  my $pid = $parent->pid;
  my $server = $parent->server;
  printf("%6d : %s %6d %8f %s\n", $pid, $server->status,
         $server->access_count, scalar $server->times, $server->request);
}

1;
----------------------

... but on my OSX machine even ...

% perl -MApache::Scoreboard -e ''

... give me the undefined symbols.

--
 Ray Zimmerman  / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall
  Sr Research  /   phone: (607) 255-9645  /  Cornell University
   Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853

Reply via email to