Bug 77351
Summary: | NDBM_File missing from perl installation. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Derek Price <oberon> |
Component: | perl | Assignee: | Warren Togami <wtogami> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-11 11:47:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Derek Price
2002-11-05 17:43:34 UTC
ndbm has been removed from RH Linux 8.0 because of conflict issues with berkeley db. you should be able to open any ndbm files with DB_File, though. You may need to perform a db_dump followed by a db_load to reload the files, or dump them into an intermediate file format from an older system. DB_File and GDBM_File are the supported tied database interfaces. I don't know if it would be too much trouble for you, but in a case like this, installing a stub package that printed an error message about being deprecated and using a substitute, might help reduce the number of bug reports. For example: $ cat >/usr/lib/perl5/5.8.0/NDBM_File.pm << EOF > package NDBM_File; > die "NDBM_File obsoleted as of RedHat 8.0. Please use GDBM_File or DB_File instead. For more information, please see <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=77351>." > EOF Oh, and the Memoize::NDBM_File package probably shouldn't be installed. It uses NDBM_File: $ find /usr/lib/perl5/5.8.0/ -name NDBM_File.pm /usr/lib/perl5/5.8.0/Memoize/NDBM_File.pm $ rpm -q --whatprovides /usr/lib/perl5/5.8.0/Memoize/NDBM_File.pm perl-5.8.0-55 $ sed -n 13p /usr/lib/perl5/5.8.0/Memoize/NDBM_File.pm use NDBM_File; $ good point; Memoize::NDBM_File will be removed from future builds. Changing NDBM_File to report warnings though is a bit more intrusive a change; we'll consider it, but for now I'm leaning towards leaving it as-is. |