Bug 836544

Summary: DynaLoader.a missing in perl RPM
Product: Red Hat Enterprise Linux 6 Reporter: Boris Folgmann <boris>
Component: perlAssignee: perl-maint-list
Status: CLOSED CANTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: ppisar, psabata
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-29 13:36:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Boris Folgmann 2012-06-29 12:57:36 UTC
Description of problem:
I have to compile a program that links with DynaLoader.a. This file is missing in current perl RPMs but was included in RHEL5.

Version-Release number of selected component (if applicable):
perl-5.10.1-119.el6_1.1.x86_64

How reproducible:
$ ls /usr/lib64/perl5/auto/DynaLoader
autosplit.ix  dl_expandspec.al  dl_findfile.al  dl_find_symbol_anywhere.al

Steps to Reproduce:
gcc -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE  -o eperl eperl_main.o eperl_perl5.o eperl_parse.o eperl_pp.o eperl_sys.o eperl_http.o eperl_getopt.o eperl_debug.o eperl_config.o eperl_version.o eperl_readme.o eperl_license.o eperl_logo.o eperl_powered.o /usr/lib64/perl5/auto/DynaLoader/DynaLoader.a -lperl -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc 
gcc: /usr/lib64/perl5/auto/DynaLoader/DynaLoader.a: No such file or directory
  
Additional info:
DynaLoader.a was included in perl RPMs of RHEL v5 and v4 at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a

Comment 2 Petr Pisar 2012-06-29 13:36:07 UTC
We do not support static perl modules in RHEL-6. They has been superseded by shared objects loaded automatically by XSLoader (or an older DynaLoader) perl modules.

(If you try to compile eperl <http://search.cpan.org/~rse/eperl/>, I wish you good luck. The old code from 1998 demands heavy patching. You can find some in Fedora or Debian source repositories.)

Comment 3 Boris Folgmann 2012-07-02 14:31:46 UTC
Thank you very much for the quick answer. I couldn't spot this fact somewhere else!

The software is called wml and I found a fork which compiles fine here: http://developer.berlios.de/project/showfiles.php?group_id=5225

Anybody interested: 2.0.12 worked for me. 2.2.0 which switched from autoconf to cmake did not!