Bug 182402 - gnucash's configure needs to reverse it library checking
Summary: gnucash's configure needs to reverse it library checking
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnucash
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-22 12:11 UTC by Karsten Hopp
Modified: 2014-03-17 02:58 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-04-04 06:37:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2006-02-22 12:11:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.1) Gecko/20060202 Fedora/1.5.0.1-2 Firefox/1.5.0.1

Description of problem:
gnucache links against libdb-4.1 if compat-db-4.2 is installed in the buildroot.
It should try to link against the most current version first, then older ones.

Version-Release number of selected component (if applicable):
gnucash-1.8.12-3

How reproducible:
Always

Steps to Reproduce:
1. install compat-db-4.2
2. rebuild gnucash
3. compare package requirements with original package
  

Actual Results:  During configure:
checking for __db185_open in -ldb-3... no
checking for __db185_open in -ldb-4.0... no
checking for __db185_open in -ldb-4.1... yes
(This check doesn't fail because db4/db.h is valid for db-4.1, too)

--- gnucash-1.8.12-3.x86_64.rpm 2006-02-22 11:27:36.000000000 +0100
+++ ../everything/gnucash-1.8.12-3.x86_64.rpm   2006-02-22 11:26:27.000000000 +0100
@@ -13,7 +13,7 @@
 libc.so.6(GLIBC_2.3.4)(64bit)
 libc.so.6(GLIBC_2.3)(64bit)
 libc.so.6(GLIBC_2.4)(64bit)
-libdb-4.3.so()(64bit)
+libdb-4.1.so()(64bit)
 libdl.so.2()(64bit)
 libdl.so.2(GLIBC_2.2.5)(64bit)
 libesd.so.0()(64bit)


Expected Results:  no difference in package requirements

Additional info:

the configure script is checking for db-3, then db-4.0, db-4.1, db-4.2 and then db.

This order should be reversed to link against the newest db found in the buildroot.

Comment 1 Bill Nottingham 2006-02-22 18:05:20 UTC
Hm, I may just look at fixing this upstream as it doesn't affect our built
packages ATM.

Comment 2 Bill Nottingham 2006-04-04 06:37:29 UTC
This should be fixed in 1.9.x.


Note You need to log in before you can comment on or make changes to this bug.