/usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Better yet here's the complete error message: 


commmand:
perl
Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 




error: 
 Error Output for sanity check 
cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI
-D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 `./apaci` -I.
-I/usr/lib/perl/5.8.2/CORE-o helpers/dummy
helpers/dummy.c   -lm -lcrypt -rdynamic 
-L/usr/local/lib
/usr/lib/perl/5.8.2/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8.2/CORE -lperl -ldl -lm -lpthread
-lc -lcrypt 
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
= End of Error Report =


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote:
Better yet here's the complete error message: 

commmand:
perl
Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 

error: 
 Error Output for sanity check 
cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI
-D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 `./apaci` -I.
-I/usr/lib/perl/5.8.2/CORE-o helpers/dummy
helpers/dummy.c   -lm -lcrypt -rdynamic 
-L/usr/local/lib
/usr/lib/perl/5.8.2/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8.2/CORE -lperl -ldl -lm -lpthread
-lc -lcrypt 
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
= End of Error Report =
That's much better, Craig. At least now we know what you are trying to do.

Please post the output of:

perl -V

__
Stas BekmanJAm_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
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote:
Here it is Thanks

perl -V
Summary of my perl5 (revision 5.0 version 8 subversion
2) configuration:
  Platform:
osname=linux, osvers=2.4.22-xfs+ti1211,
archname=i386-linux-thread-multi
uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct 25
10:11:37 est 2003 i686 gnu
what is kosh? some new distro?

  Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread
-lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libperl.so.5.8.2 gnulibc_version='2.3.2'
  
find a file called libperl.so.5.8.2
probably living under /usr/local/lib/perl

find /usr/local/lib/perl | grep libperl.so.5.8.2

or /usr/lib/perl5, or anywhere else. I can't figure out where they put it.

let's say it's:

/usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2

add a symlink to it (or check whether it exists already):

ln -sf /usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2\
/usr/local/lib/perl/i386-linux/CORE/libperl.so
Now it may find it.

__
Stas BekmanJAm_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
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Sorry about just responding to you Stas and not the
list(still getting use to that). Anyway yes, your
suggestions below worked well. Thanks again. 

clm
--- Stas Bekman [EMAIL PROTECTED] wrote:
 Craig McMillon wrote:
  Here it is Thanks
  
  perl -V
  Summary of my perl5 (revision 5.0 version 8
 subversion
  2) configuration:
Platform:
  osname=linux, osvers=2.4.22-xfs+ti1211,
  archname=i386-linux-thread-multi
  uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct
 25
  10:11:37 est 2003 i686 gnu

 
 what is kosh? some new distro?
 
Linker and Libraries:
  ld='cc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib
  libs=-lgdbm -lgdbm_compat -ldb -ldl -lm
 -lpthread
  -lc -lcrypt
  perllibs=-ldl -lm -lpthread -lc -lcrypt
  libc=/lib/libc-2.3.2.so, so=so,
 useshrplib=true,
  libperl=libperl.so.5.8.2
 gnulibc_version='2.3.2'

 find a file called libperl.so.5.8.2
 
 probably living under /usr/local/lib/perl
 
 find /usr/local/lib/perl | grep libperl.so.5.8.2
 
 or /usr/lib/perl5, or anywhere else. I can't figure
 out where they put it.
 
 let's say it's:
 
 /usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2
 
 add a symlink to it (or check whether it exists
 already):
 
 ln -sf

/usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2\
 /usr/local/lib/perl/i386-linux/CORE/libperl.so
 
 Now it may find it.
 

__
 Stas BekmanJAm_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
 
 
 -- 
 Reporting bugs: http://perl.apache.org/bugs/
 Mail list info:
 http://perl.apache.org/maillist/modperl.html
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Stas Bekman
Craig McMillon wrote:
Sorry about just responding to you Stas and not the
list(still getting use to that). Anyway yes, your
suggestions below worked well. Thanks again. 
Great.

Perhaps you want to save some white and lost hair to other kosh users and 
inform the person who created that perl that they need to create that symlink 
and not leave it for users to figure out. Any application embedding perl will 
have this problem, and not only mod_perl.

perl -V
[...]
gnulibc_version='2.3.2'
  
find a file called libperl.so.5.8.2
probably living under /usr/local/lib/perl

find /usr/local/lib/perl | grep libperl.so.5.8.2

or /usr/lib/perl5, or anywhere else. I can't figure
out where they put it.
let's say it's:

/usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2

add a symlink to it (or check whether it exists
already):
ln -sf
/usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2\
/usr/local/lib/perl/i386-linux/CORE/libperl.so
__
Stas BekmanJAm_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
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html