Subject: pkg/28344: mail/evolution-data-server can't find db4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 11/17/2004 23:11:00
>Number:         28344
>Category:       pkg
>Synopsis:       mail/evolution-data-server can't find db4
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 17 23:11:00 +0000 2004
>Originator:     Michael Wolfson
>Release:        2.0RC5
>Organization:
>Environment:
NetBSD gizmobook 2.0_RC5 NetBSD 2.0_RC5 (GIZMOBOOK) #3: Mon Nov 15 05:34:18 UTC 2004  mw@gizmobook:/usr/src/src-2-0/sys/arch/macppc/compile/GIZMOBOOK macppc

>Description:
When building evolution-data-server, it tries to link everything together in the final stage, but it can't find the db4 library (even though it's installed).

# ls -l /usr/pkg/lib/libdb4*
-rw-r--r--  1 root  80     1329772 Nov 15 08:25 /usr/pkg/lib/libdb4-4.2.a
-rw-r--r--  1 root  80         883 Nov 15 08:22 /usr/pkg/lib/libdb4-4.2.la
lrwxr-xr-x  1 root  wheel       20 Nov 15 08:25 /usr/pkg/lib/libdb4-4.2.so@ -> libdb4-4.2.so.2.0.52
lrwxr-xr-x  1 root  wheel       20 Nov 15 08:25 /usr/pkg/lib/libdb4-4.2.so.2@ -> libdb4-4.2.so.2.0.52
-rwxr-xr-x  1 root  80     1014607 Nov 15 08:22 /usr/pkg/lib/libdb4-4.2.so.2.0.52*
lrwxr-xr-x  1 root  wheel       13 Nov 15 08:25 /usr/pkg/lib/libdb4-4.so@ -> libdb4-4.2.so
-rw-r--r--  1 root  80     1329772 Nov 15 08:25 /usr/pkg/lib/libdb4.a
lrwxr-xr-x  1 root  wheel       13 Nov 15 08:25 /usr/pkg/lib/libdb4.so@ -> libdb4-4.2.so
-rw-r--r--  1 root  80     1463090 Nov 15 08:25 /usr/pkg/lib/libdb4_cxx-4.2.a
-rw-r--r--  1 root  80         875 Nov 15 08:24 /usr/pkg/lib/libdb4_cxx-4.2.la
-rwxr-xr-x  1 root  80     1133617 Nov 15 08:24 /usr/pkg/lib/libdb4_cxx-4.2.so*
lrwxr-xr-x  1 root  wheel       17 Nov 15 08:25 /usr/pkg/lib/libdb4_cxx-4.so@ -> libdb4_cxx-4.2.so
-rw-r--r--  1 root  80     1463090 Nov 15 08:25 /usr/pkg/lib/libdb4_cxx.a
lrwxr-xr-x  1 root  wheel       17 Nov 15 08:25 /usr/pkg/lib/libdb4_cxx.so@ -> libdb4_cxx-4.2.so


===> Building for evolution-data-server-1.0.2nb2
[...]
Making all in src
gmake[2]: Entering directory `/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/src'
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory `/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/src'
/bin/sh ../libtool --mode=link gcc  -O2 -pthread -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes  -Wno-sign-compare  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -o evolution-data-server   Evolution-DataServer-common.o Evolution-DataServer-skels.o Evolution-DataServer-stubs.o server-interface-check.o server-logging.o server.o ../addressbook/libedata-book/libedata-book.la ../addressbook/backends/file/libebookbackendfile.la ../addressbook/backends/vcf/libebookbackendvcf.la ../addressbook/backends/groupwise/libebookbackendgroupwise.la ../addressbook/backends/ldap/libebookbackendldap.la ../calendar/libedata-cal/libedata-cal.la ../calendar/backends/file/libecalbackendfile.la ../calendar/backends/groupwise/libecalbackendgroupwise.la ../calendar/backends/http/libecalbackendhttp.la ../addressbook/libebook/libebook.la ../calendar/backends/contacts/libecalbackendcontacts.la -lldap -llber -lresolv -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -L/u
 sr/pkg/lib -lxml2 -lz -lgnome-2 -lpopt -lbonobo-2-lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0    -lintl
gcc -O2 -I/usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/include -Wall -Wmissing-prototypes -Wno-sign-compare -Wl,-R/usr/pkg/lib -o .libs/evolution-data-server Evolution-DataServer-common.o Evolution-DataServer-skels.o Evolution-DataServer-stubs.o server-interface-check.o server-logging.o server.o -Wl,--export-dynamic  -L/usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib ../addressbook/libedata-book/.libs/libedata-book.so -L/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/addressbook/libebook/.libs -L/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/libedataserver/.libs ../addressbook/backends/file/.libs/libebookbackendfile.a -L/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/addressbook/libedata-book/.libs ../addressbook/backends/vcf/.libs/libebookbackendvcf.a ../addressbook/backends/groupwise/.libs/libebookbackendgroupwise.a -L/usr/src/pkgsrc/mail/evolution-data-server/wo
 rk/evolution-data-server-1.0.2/servers/groupwise/.libs ../addressbook/backends/ldap/.libs/libebookbackendldap.a /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/addressbook/libedata-book/.libs/libedata-book.so /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/addressbook/libebook/.libs/libebook.so ../calendar/libedata-cal/.libs/libedata-cal.so -L/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/calendar/libecal/.libs ../calendar/backends/file/.libs/libecalbackendfile.a -L/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/calendar/libedata-cal/.libs ../calendar/backends/groupwise/.libs/libecalbackendgroupwise.a /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/servers/groupwise/.libs/libegroupwise.so ../calendar/backends/http/.libs/libecalbackendhttp.a /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libsoup-2.2.so ../addressbook/libe
 book/.libs/libebook.so ../calendar/backends/contacts/.libs/libecalbackendcontacts.a /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/calendar/libedata-cal/.libs/libedata-cal.so /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/calendar/libecal/.libs/libecal.so /usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/libedataserver/.libs/libedataserver.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libldap.so -ldb4 -lssl -lcrypto /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/liblber.so -lresolv -pthread /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgnome-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libesd.so -lossaudio /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libaudiofile.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgnomevfs-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buil
 dlink/lib/libgconf-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libbonobo-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libxml2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgnutls.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libtasn1.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgcrypt.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgpg-error.so -lz /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libbonobo-activation.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libORBitCosNaming-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libORBit-2.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libpopt.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgobject-2.0.so -lm /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libgmodule-2.0.so /usr/src/pkgs
 rc/mail/evolution-data-server/work/.buildlink/lib/libgthread-2.0.so /usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib/libglib-2.0.so -lintl -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/src/pkgsrc/mail/evolution-data-server/work/.buildlink/lib
ld: cannot find -ldb4
gmake[3]: *** [evolution-data-server] Error 1
gmake[3]: Leaving directory `/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/pkgsrc/mail/evolution-data-server/work/evolution-data-server-1.0.2'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
cd mail/evolution-data-server
make
>Fix: