Re: undefined symbol: krb5_cc_get_principal

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: Karin Huegele <postgresql(at)lorecrafters(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org, Devrim GUNDUZ <devrim(at)gunduz(dot)org>, jm(at)poure(dot)com
Subject: Re: undefined symbol: krb5_cc_get_principal
Date: 2004-08-13 20:33:51
Message-ID: 411D25AF.6000003@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Karin Huegele wrote:
> Hello Raphael,

Hi Karin,

> ldd -r /usr/bin/pgadmin3 returns:
>
> libcrypt.so.1 => /lib/libcrypt.so.1 (0xb75af000)
> libssl.so.4 => /lib/libssl.so.4 (0xb757b000)
> libcrypto.so.4 => /lib/libcrypto.so.4 (0xb748a000)
> libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7235000)
> libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb71c5000)
> libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb71ac000)
> libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
> (0xb7199000)
> libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0
> (0xb7178000)
> libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb716b000)
> libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7138000)
> libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7102000)
> libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb70fe000)
> libdl.so.2 => /lib/libdl.so.2 (0xb70fb000)
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb70f6000)
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb708c000)
> libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0
> (0xb706a000)
> libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7046000)
> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7028000)
> libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb6fe7000)
> libz.so.1 => /usr/lib/libz.so.1 (0xb6fd9000)
> libm.so.6 => /lib/tls/libm.so.6 (0xb6fb7000)
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb6f04000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6efa000)
> libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb6eea000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb6db2000)
> libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0xb6d54000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6d52000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb6c73000)
> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6c22000)
> libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb6c02000)
> libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
> (0xb6bef000)
> libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3
> (0xb6bed000)
> libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
> (0xb6bdd000)
> libresolv.so.2 => /lib/libresolv.so.2 (0xb6bcb000)
> libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb6bc6000)
> libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb6bbe000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb6bb0000)
> libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb6b9e000)
> libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb6b96000)
> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6b6f000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb75eb000)
> undefined symbol: krb5_cc_get_principal (/usr/bin/pgadmin3)
> undefined symbol: krb5_cc_close (/usr/bin/pgadmin3)
>
> Does this mean that pgadmin3 could not link to kerberos?

to me it's something like this, although the ld found them. In fact, I
think FC1 may be more advanced than EL 3.0 or the opposite concerning
kerberos.

can you confirm the following:
nm -D /usr/kerberos/lib/libkrb5.so.3 | grep krb5_cc_get_principal
should give _nothing_ on your host.

If yes, can you try packages for RH9.
I played a bit with FC1 & RH9 packages and it seems that binaries
provided for RH9 don't refer to krb5_cc_get_principal and krb5_cc_close.
(see nm -a /usr/bin/pgadmin3 | grep krb5 to list the symbols pgadmin3 is
looking for).

That's not a definitive solution, just a try to provide you something
easy to install until someone try to build it for RH EL.

If this does not work, I bet we are on the way to try a build on your
host. Are you ok to go with it if we guide you a bit ?

> All kerberos .so files are located on /usr/kerberos/lib with owner root.
> Thanks for your help.

You are really welcome.

Cheers,
Raphaël

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Michael J Martin 2004-08-15 19:44:18 pgAdmin can't connect to port 5432
Previous Message Dave Page 2004-08-13 13:31:32 Re: pgAdmin and Postgres 8.0 on WIndows