I usually build everything from scratch but I havent done one in a couple of years.
# Perl $ perlbrew install stable -des -Duserelocatableinc [email protected] -Dman1dir=none -Dman3dir=none # Apache $ ./configure --prefix=/home/xxxxx/httpd/2.4.65RH8 --with-included-apr --enable-mpms-shared --with-mpm=prefork --enable-pie --enable-alias --enable-apreq --enable-authn_core --enable-authz_core --enable-authz_user --enable-autoindex --enable-cgi --enable-dir --enable-env --enable-headers --enable-log_config --enable-mime --enable-mpm_prefork --enable-perl --enable-status --enable-unixd --enable-ssl --enable-proxy # Apreq - attempted $ perl Makefile.PL MP_APXS=/home/xxxx/httpd/2.4.65RH8/bin/apxs MP_NO_THREADS=1 This is blowing up for -fPIC which I see both the Perl and Apache builds are using - am I missreading the error ? ------------------------------------------- cc -I/hfs/home/mb525/OpenSource/RH8/mod_perl-2.0.13/src/modules/perl -I/hfs/home/mb525/OpenSource/RH8/mod_perl-2.0.13/xs -I/hfs/home/mb525/httpd/2.4.65RH8/include -I/hfs/home/mb525/httpd/2.4.65RH8/include -I/hfs/home/mb525/httpd/2.4.65RH8/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -I/hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE -DMOD_PERL -DMP_COMPAT_1X -fgnu89-inline -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -fPIC \ -c modperl_exports.c && mv modperl_exports.o modperl_exports.lo rm -f mod_perl.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong \ \ mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modperl_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_debug.lo modperl_common_util.lo modperl_common_log.lo modperl_hooks.lo modperl_directives.lo modperl_flags.lo modperl_xsinit.lo modperl_exports.lo -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc \ -o mod_perl.so /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32 against symbol `PL_memory_wrap' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(perl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(universal.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(av.o): relocation R_X86_64_32 against symbol `PL_memory_wrap' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(builtin.o): relocation R_X86_64_32S against undefined symbol `PL_sv_immortals' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(caretx.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /hfs/home/mb525/perl5/perlbrew_RH8/perls/perl-5.42.0/lib/5.42.0/x86_64-linux/CORE/libperl.a(class.o): relocation R_X86_64_32S against symbol `PL_charclass' can not be used when making a shared object; recompile with -fPIC
