Re: undefined symbol when compiling Perl5.003

Stanley Gambarin (
Fri, 28 Feb 1997 15:16:35 -0500

Message-Id: <>
To: Yuxi Yin <>
Subject: Re: undefined symbol when compiling Perl5.003 
In-Reply-To: Your message of "Fri, 21 Feb 1997 11:42:52 PST."
Date: Fri, 28 Feb 1997 15:16:35 -0500
From: Stanley Gambarin <>

> But when I compile Perl5.003 with it, I got the undefined symbol error as the following:
> gcc  -L/usr/local/lib -o miniperl miniperlmain.o libperl.a /net/zorro/apps/oraperl5/fcgi-devel-kit/libfcgi/libfcgi.a -lnsl -ldbm  -lm -lc -lposix 
> collect2: ld returned 1 exit status
> perl.o(.text+0x1410): undefined reference to `run'
> perl.o(.text+0x1d0c): undefined reference to `run'
> perl.o(.text+0x21a8): undefined reference to `run'
> make: *** [miniperl] Error 1

	The fix is the curtesy of "Kjirsten Koka" <>

... Just wanted to let you know that when building
Perl 5.003 with fcgi_stdio, the Perl 5.002 run() call was
replaced with runops() in Perl 5.003.  I got
"undefined symbol: run" linker errors.  I fixed it by editing
perl.c and replacing all calls to run() with runops(). That
built cleanly and make test was 100% successful.

P.S> I put the fix on my TODO list and it should make it to the next
release of the FastCGI Developer's Kit (FDK),  although I urge you to 
use FCGI/Sfio module instead, considering Sfio will replace stdio in
the future Perl releases.