Red Hat Bugzilla – Bug 836544
DynaLoader.a missing in perl RPM
Last modified: 2012-07-02 10:31:46 EDT
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):
$ 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
DynaLoader.a was included in perl RPMs of RHEL v5 and v4 at
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.)
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!