2.02 make fails: cannot find -lperl - Apache
This is a discussion on 2.02 make fails: cannot find -lperl - Apache ; 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
...
-
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?
root@ttyp1[mod_perl-2.0.2]# 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
root@ttyp1[mod_perl-2.0.2]#
(
__________________________________________________
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#
-
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?
>
> root@ttyp1[mod_perl-2.0.2]# 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
> root@ttyp1[mod_perl-2.0.2]#