[Libreoffice] [PATCH] Fix configure check for BerkleyDB where db_create is macro
Gökçen Eraslan
gokcen at pardus.org.tr
Mon Jan 10 02:16:12 PST 2011
Perşembe 06 Ocak 2011 günü (saat 20:03:28) Petr Mladek şunları yazmıştı:
> Hi,
>
> this fixed the problem described in the attached mail.
>
> Gökçen, Robert, could you please test it and sign it out for
> libreoffice-3-3 branch?
>
No, I only have __db185_open_4008 symbol in libdb.so, here is the result:
checking for db-5.1/db.h... no
checking for db5.1/db.h... no
checking for db-5.0/db.h... no
checking for db5.0/db.h... no
checking for db-5/db.h... no
checking for db5/db.h... no
checking for db-4.8/db.h... no
checking for db4.8/db.h... no
checking for db-4.7/db.h... no
checking for db4.7/db.h... no
checking for db-4/db.h... no
checking for db4/db.h... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking whether db is at least 4.1... yes
checking for dbopen in -ldb... no
checking for __db185_open in -ldb... no
checking for dbopen in -ldb-5.1... no
checking for __db185_open in -ldb-5.1... no
checking for dbopen in -ldb5.1... no
checking for __db185_open in -ldb5.1... no
checking for dbopen in -ldb-5.0... no
checking for __db185_open in -ldb-5.0... no
checking for dbopen in -ldb5.0... no
checking for __db185_open in -ldb5.0... no
checking for dbopen in -ldb-5... no
checking for __db185_open in -ldb-5... no
checking for dbopen in -ldb5... no
checking for __db185_open in -ldb5... no
checking for dbopen in -ldb-4.8... no
checking for __db185_open in -ldb-4.8... no
checking for dbopen in -ldb4.8... no
checking for __db185_open in -ldb4.8... no
checking for dbopen in -ldb-4.7... no
checking for __db185_open in -ldb-4.7... no
checking for dbopen in -ldb4.7... no
checking for __db185_open in -ldb4.7... no
checking for dbopen in -ldb-4... no
checking for __db185_open in -ldb-4... no
checking for dbopen in -ldb4... no
checking for __db185_open in -ldb4... no
configure: error: db not installed or functional
Here is the symbols in libdb.so file containing open keyword:
$ nm -D -C /usr/lib/libdb.so |grep open
0000000000036a10 T __bam_open_4008
0000000000025ea0 T __db185_open_4008
00000000000eb1d0 T __db_get_open_flags_4008
00000000000cb740 T __db_master_open_4008
0000000000105000 T __db_mi_open_4008
00000000000fbc40 T __db_ndbm_open_4008
00000000000eb290 T __db_open_4008
00000000000e52b0 T __db_open_pp_4008
0000000000133150 T __db_openflags_4008
0000000000105f90 T __db_tmp_open_4008
00000000000ffc90 T __dbreg_do_open_4008
0000000000106bb0 T __env_get_open_flags_4008
0000000000107200 T __env_open_4008
0000000000107450 T __env_open_pp_4008
0000000000107a60 T __env_openfiles_4008
000000000006a040 T __ham_open_4008
00000000000bf240 T __lock_open_4008
00000000001180f0 T __log_open_4008
0000000000127d90 T __memp_fopen_4008
0000000000128d90 T __memp_fopen_pp_4008
0000000000129fa0 T __memp_get_mp_max_openfd_4008
000000000012d780 T __memp_open_4008
000000000012a130 T __memp_set_mp_max_openfd_4008
00000000000c2d30 T __mutex_open_4008
00000000001350d0 T __os_open_4008
00000000001342f0 T __os_openhandle_4008
0000000000137cd0 T __partition_open_4008
00000000000820c0 T __qam_open_4008
0000000000040340 T __ram_open_4008
000000000009c650 T __rep_open_4008
00000000000ab600 T __repmgr_open_4008
0000000000146840 T __txn_open_4008
0000000000145c50 T __txn_openfiles_4008
0000000000134ec0 T db_env_set_func_open_4008
U fopen
U open
U opendir
...
>
> Best Regards,
> Petr
--
Gökçen Eraslan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110110/fead3c05/attachment-0001.pgp>
More information about the LibreOffice
mailing list