subversion-1.5.1-20080727

hecking db.h presence... yes
checking for db.h... yes
checking for -ldb... no
configure: error: Berkeley db4 not found
configure failed for apr-util


And from apr-util/config.log:

configure:27390: checking for -ldb
configure:27461: /openpkg/bin/cc -o conftest -O2 -pipe -pthread -I/openpkg/include/libxml2 -I/openpkg/include -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/openpkg/include -L/openpkg/lib -L/openpkg/lib -L/openpkg/lib conftest.c -ldb -lrt -ldb >&5
conftest.c: In function 'main':
conftest.c:30: warning: incompatible implicit declaration of built-in function 'exit'
/openpkg/lib/libdb.a(repmgr_net.o): In function `__repmgr_listen':
repmgr_net.c:(.text+0x494): undefined reference to `setsockopt'
repmgr_net.c:(.text+0x4b0): undefined reference to `bind'
repmgr_net.c:(.text+0x4ec): undefined reference to `socket'
repmgr_net.c:(.text+0x55c): undefined reference to `listen'
/openpkg/lib/libdb.a(repmgr_posix.o): In function `__repmgr_select_loop':
repmgr_posix.c:(.text+0x4c4): undefined reference to `getsockopt'
/openpkg/lib/libdb.a(repmgr_sel.o): In function `__repmgr_write_some':
repmgr_sel.c:(.text+0x23c): undefined reference to `send'
/openpkg/lib/libdb.a(repmgr_sel.o): In function `__repmgr_connect_site':
repmgr_sel.c:(.text+0x1404): undefined reference to `socket'
repmgr_sel.c:(.text+0x1434): undefined reference to `connect'
/openpkg/lib/libdb.a(repmgr_sel.o): In function `__repmgr_accept':
repmgr_sel.c:(.text+0x189c): undefined reference to `accept'
/openpkg/lib/libdb.a(os_addrinfo.o): In function `__os_freeaddrinfo':
os_addrinfo.c:(.text+0x8): undefined reference to `freeaddrinfo'
/openpkg/lib/libdb.a(os_addrinfo.o): In function `__os_getaddrinfo':
os_addrinfo.c:(.text+0x24): undefined reference to `getaddrinfo'
os_addrinfo.c:(.text+0x40): undefined reference to `gai_strerror'
os_addrinfo.c:(.text+0x78): undefined reference to `gai_strerror'
collect2: ld returned 1 exit status


Adding -lsocket before -ldb fixes this test.

--
Artur Frysiak
------------------------------------------------------------------------
KOELNER S.A. z siedzibą we Wrocławiu przy ul. Kwidzyńskiej 6,
51-416 Wrocław, zarejestrowana w rejestrze przedsiębiorców
prowadzonym przez Sąd Rejonowy dla Wrocławia-Fabrycznej
Wydział VI Gospodarczy Krajowego Rejestru Sądowego pod
numerem KRS 0000033537, NIP 895-16-87-880,
kapitał zakładowy: 32.560.000,00 zł w całości wpłacony
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to