Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread Fred Moyer
William A. Rowe, Jr. wrote: Bianca Taylor wrote: /bin/ld: /tmp/unisolve/perl/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread William A. Rowe, Jr.
Fred Moyer wrote: William A. Rowe, Jr. wrote: Bianca Taylor wrote: /bin/ld: /tmp/unisolve/perl/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread Bianca Taylor
Hello again, ... The solution should be as easy as recompiling perl with -fPIC. Here's a link to the list archives where this has been discussed in detail. http://www.gossamer-threads.com/lists/engine?list=modperl;do=search_results

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread William A. Rowe, Jr.
Bianca Taylor wrote: So at this point, I am confident that I compile Perl with -fPIC. I read all the ducumentation you pointed me to and that I could find, but it keeps coming back to the same error. You aren't... please review your shared cc flags from perl. The flag you looked at was not a

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread Bianca Taylor
Bianca Taylor wrote: So at this point, I am confident that I compile Perl with -fPIC. I read all the ducumentation you pointed me to and that I could find, but it keeps coming back to the same error. On Wednesday 17 September 2008 12:08, William A. Rowe, Jr. wrote: You aren't... please

Why load two modules to call methods on the same object?

2008-09-16 Thread Himanshu
For the following to work I must load Apache2RequestRec as well as Apache2::RequestIO. package GS; use Apache2::Const -compile = ':common'; use Apache2::RequestRec ();# $r-content_type use Apache2::RequestIO (); # $r-print sub handler { my $r = shift; print $r-content_type('text/plain');

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread Bianca Taylor
On Wednesday 17 September 2008 12:08, you wrote: Bianca Taylor wrote: So at this point, I am confident that I compile Perl with -fPIC. I read all the ducumentation you pointed me to and that I could find, but it keeps coming back to the same error. You aren't... please review your

Re: Why load two modules to call methods on the same object?

2008-09-16 Thread John Drago
--- On Tue, 9/16/08, Himanshu [EMAIL PROTECTED] wrote: From: Himanshu [EMAIL PROTECTED] Subject: Why load two modules to call methods on the same object? To: modperl@perl.apache.org Date: Tuesday, September 16, 2008, 9:00 PM For the following to work I must load Apache2RequestRec as well