Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95189 - sys-libs/gdbm-1.8.3-r1 lack of dbminit, and libgdbm_compat.so.3.0.0 can not be build with php and mod_php with USE=dba
Summary: sys-libs/gdbm-1.8.3-r1 lack of dbminit, and libgdbm_compat.so.3.0.0 can not b...
Status: RESOLVED DUPLICATE of bug 71148
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 01:36 UTC by Steve Yin
Modified: 2005-06-06 01:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Yin 2005-06-06 01:36:27 UTC
When I'm emerge php or mod_php with USE flag dba set, all version of php will
failed, so I checked the config.log, I found the problem is in gdbm. First, I
can use a link from /usr/lib/libgdbm_compat.so to /usr/local/lib/libdbm.so.
After that php's configure can find the -ldbm but, there is another problem, php
can find the -ldbm , but in is so, configure can not find function dbminit.

I studied gdbm, I found gdbm can be configured with this ' --with-dbm
--with-ndbm' after I added these two flag to configure, php COULD find the -ldbm
and function dbminit, but it still can not find some function defined in
libgdbm.so. So, I modded the gdbm's Makefile.in, add a -lgdbm to line generate
libgdbm_compat.so, Then everything works fine. 

Reproducible: Always
Steps to Reproduce:
1. emerge gdbm
2. emerge anything needed libgdbm_compat.so ( any version of php, mod_php with
USE=dba)

Actual Results:  
configure failed either can not find -ldbm or dbminit function
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 01:44:15 UTC

*** This bug has been marked as a duplicate of 71148 ***