Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52660 - perl-5.8.4 vs. gdbm-1.8.3: error while loading shared libraries: NDBM_File.so: undefined symbol: dbm_open
Summary: perl-5.8.4 vs. gdbm-1.8.3: error while loading shared libraries: NDBM_File.so...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL: http://www.gossamer-threads.com/lists...
Whiteboard:
Keywords:
: 63096 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-01 00:31 UTC by Ed Catmur
Modified: 2005-08-04 05:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
perl-5.8.4-NDBM-GDBM-compat.patch (perl-5.8.4-NDBM-GDBM-compat.patch,428 bytes, patch)
2004-06-01 00:31 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2004-06-01 00:31:24 UTC
During test phase, we see:

error while loading shared libraries: ../lib/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open

From linked thread:

> Looking at the hints in ext/NDBM_File/hints/linux.pl, it seems that
> perl is of the opinion that the libndbm.a library is to be avoided and
> the compatibility routines in libgdbm.a used instead.
> 
> However, I thought that as of gdbm-1.8.1, the compatibility routines
> were moved to a separate library libgdbm_compat.a. I see no sign of
> perl's configuration process checking for or using this library
> (except with cygwin), but I do see several linux bug reports where the
> library is being linked; this implies to me that some linux
> distributions are getting Configure to do so. 

gdbm 1.8.3 is the first post 1.8.0 version that has been made available to my Portage configuration.

The linked thread contains a patch which I will attach and which appears to fix the problem.
Comment 1 Ed Catmur 2004-06-01 00:31:56 UTC
Created attachment 32433 [details, diff]
perl-5.8.4-NDBM-GDBM-compat.patch
Comment 2 Robert Coie (RETIRED) gentoo-dev 2004-07-23 15:41:02 UTC
Thanks, this will make it into 5.8.4-r1 and beyond.
Comment 3 Sven 2004-08-11 18:46:52 UTC
Well, perl doesn't work that well on AMD64 this way. Why don't you mark perl 5.8.4-r1 stabel an all platforms where gdbm-1.8.3 is stable. Your are in a duty to do that, or something similar like including the patch in 5.8.4 (without r1) etc.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-08 01:39:01 UTC
*** Bug 63096 has been marked as a duplicate of this bug. ***
Comment 5 Stian Skjelstad 2005-02-07 09:30:58 UTC
Isn't this bug resolved now?

I looked over the ebuilds, and perl-5.8.5-r3.ebuild for instance is flaged stable for all arcs including even ppc64
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-08-04 05:11:33 UTC
Marking fixed since this hasn't been commented on as a problem since 2 stables
ago (5.8.5)