Re: 2.02 make fails: cannot find -lperl
Oh well. I've tried all the suggestions and the problem simply won't be resolved. It's obvious that although Knoppix is technically Linux, the capability to install software on a system is crippled. In fact, I can't even create a hard or soft link. I tried to install Perl 5.8.8 on the PC and it fails mysteriously. Somehow, I managed to install Apache. I'll just have to be satisfied with that and the stuff that comes with Knoppix. This is my last message to the list, because it's time for me to take the advice of W.C. Fields. If at first you don't succeed, try, try again. Then give up. No use being a damn fool about it. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
RE: 2.02 make fails: cannot find -lperl
So why not compile and install perl in the same [or a similar] directory structure? I want to solve one installation problem, not add a second. Anyone have a workaround? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: 2.02 make fails: cannot find -lperl
Tom Setka wrote: I am running Knoppix 3.7 from a CD, so can't modify anything in /lib, /usr/lib, etc. Apache 2.0.55 has been installed on my PC's hard drive and is correctly serving web pages. There is /usr/lib/libperl.so.5.8, which is a link to libperl.so.5.8.4 . Is there a way to tweak the build process to get this to work? Is there a bug in Makefile.PL? [EMAIL PROTECTED] make cd src/modules/perl make make[1]: Entering directory `/mnt/hda1/Linux/mod_perl-2.0.2/src/modules/perl' rm -f mod_perl.so cc -shared -L/usr/local/lib \ \ [deleted irrelevant material] -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt \ -o mod_perl.so /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status I can't verify that this will work on my local setup but try 'export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH' That or go through your Makefile and change -L/usr/local/lib to -L/usr/lib. That's weird that the compiler is looking in /usr/local/lib - did you install a copy of Perl on there yourself? make[1]: *** [mod_perl.so] Error 1 make[1]: Leaving directory `/mnt/hda1/Linux/mod_perl-2.0.2/src/modules/perl' make: *** [modperl_lib] Error 2 [EMAIL PROTECTED]
2.02 make fails: cannot find -lperl
I am running Knoppix 3.7 from a CD, so can't modify anything in /lib, /usr/lib, etc. Apache 2.0.55 has been installed on my PC's hard drive and is correctly serving web pages. There is /usr/lib/libperl.so.5.8, which is a link to libperl.so.5.8.4 . Is there a way to tweak the build process to get this to work? Is there a bug in Makefile.PL? [EMAIL PROTECTED] make cd src/modules/perl make make[1]: Entering directory `/mnt/hda1/Linux/mod_perl-2.0.2/src/modules/perl' rm -f mod_perl.so cc -shared -L/usr/local/lib \ \ [deleted irrelevant material] -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt \ -o mod_perl.so /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make[1]: *** [mod_perl.so] Error 1 make[1]: Leaving directory `/mnt/hda1/Linux/mod_perl-2.0.2/src/modules/perl' make: *** [modperl_lib] Error 2 [EMAIL PROTECTED] ( __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
RE: 2.02 make fails: cannot find -lperl
Title: RE: 2.02 make fails: cannot find -lperl Tom Setka wrote: Apache 2.0.55 has been installed on my PC's hard drive So why not compile and install perl in the same [or a similar] directory structure? I always build all the tools I will need. Just a thought, Christian Werner
cannot find -lperl?
Has anyone gotten this type of error when installing modperl: /usr/bin/ld: cannot find -lperl? -mod_perl-1.28 -apache_1.3.29 clm __ 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: cannot find -lperl?
Craig McMillon wrote: Has anyone gotten this type of error when installing modperl: /usr/bin/ld: cannot find -lperl? -mod_perl-1.28 -apache_1.3.29 You must have installed a binary rpm of apache/mp, but you don't have the exact perl binary package used to build that binary installed. (that's why it can't find it) Either make sure that you get that perl, or build mod_perl by yourself. __ 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
/usr/bin/ld: cannot find -lperl(More Info.)
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.)
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.)
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.)
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.)
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