This is the output of config.log.  The symbol in question
(krb5_encrypt) is present in libk5crypto.so, which is NEEDED by
libkrb5.so.  Some wierd linker error causes the check to fail:


configure:6951: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels 
-fno-strict-aliasing -D_GNU_SOURCE    conftest.c -lkrb5  -lcom_err -lz 
-lreadline -lcrypt -lresolv -lnsl -ldl -lm  >&5
conftest.c: In function 'main':
conftest.c:32: warning: old-style function definition
/usr/bin/ld: dynamic variable `_SDA_BASE_@@krb5_3_MIT' is zero size
/usr/bin/ld: 
/usr/lib/gcc/powerpc-linux-gnu/4.0.2/../../../../lib/crt1.o(.rodata+0x0): 
unresolvable R_PPC_ADDR32 relocation against symbol `_SDA_BASE_@@krb5_3_MIT'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
configure:6957: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.1beta2"
| #define PACKAGE_STRING "PostgreSQL 8.1beta2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PG_VERSION "8.1beta2"
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define PG_VERSION_STR "PostgreSQL 8.1beta2 on powerpc-unknown-linux-gnu, 
compiled by GCC gcc (GCC) 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)"
| #define KRB5 1
| #define PG_KRB_SRVNAM "postgres"
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_LIBZ 1
| #define HAVE_SPINLOCKS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char krb5_encrypt ();
| int
| main ()
| {
| krb5_encrypt ();
|   ;
|   return 0;
| }
configure:6951: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels 
-fno-strict-aliasing -D_GNU_SOURCE    conftest.c -lkrb5 -ldes -lasn1 -lroken  
-lcom_err -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm  >&5
conftest.c: In function 'main':
conftest.c:32: warning: old-style function definition
/usr/bin/ld: cannot find -ldes
collect2: ld returned 1 exit status
configure:6957: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.1beta2"
| #define PACKAGE_STRING "PostgreSQL 8.1beta2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PG_VERSION "8.1beta2"
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| #define PG_VERSION_STR "PostgreSQL 8.1beta2 on powerpc-unknown-linux-gnu, 
compiled by GCC gcc (GCC) 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)"
| #define KRB5 1
| #define PG_KRB_SRVNAM "postgres"
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_LIBZ 1
| #define HAVE_SPINLOCKS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char krb5_encrypt ();
| int
| main ()
| {
| krb5_encrypt ();
|   ;
|   return 0;
| }

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to