I'm having some difficulties using postgresql version 8.0.x with heimdal
installed from /usr/src (i.e. the base system). This is on FreeBSD-5.x.
When using the port of heimdal, from /usr/ports/security/heimdal, it works.

The port install into /usr/local, whereas the base system is in /usr.
Here's the difference between the heimdal port and the heimdal distributed
in the base:

$ ldd /usr/local/lib/libkrb5.so
libcrypto.so.3 => /lib/libcrypto.so.3 (0x281b3000)
libasn1.so.6 => /usr/local/lib/libasn1.so.6 (0x282c4000)
libroken.so.16 => /usr/local/lib/libroken.so.16 (0x282ea000)
libcrypt.so.2 => /lib/libcrypt.so.2 (0x282f8000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28311000)
$ ldd /usr/lib/libkrb5.so

Same goes for the other heimdal libs, libasn1.so and libcom_err.so.

I don't know enough about linking details, but shouldn't the
/usr/lib/libkrb5.so lib also contain info about libraries it depends on?

I'm not getting any replies on this from the FreeBSD guys, so I'm asking
you. Just for your information, the postgresql-7.x versions worked fine
with all Kerberos versions on FreeBSD, so it is something in the postgresql
distribution/build that has changed to trigger this problem, although I'm
inclined to believe that it is really FreeBSD's base heimdal that is
behaving badly.

Problems are like these:

configure:1972: $? = 0
configure:1974: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
configure:1977: $? = 0
configure:1979: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:1982: $? = 1
configure:2008: checking for C compiler default output
c -O -pipe -I/usr/local/include -rpath=/usr/lib:/usr/local/lib -pthread
conftest.c -L/usr/lib -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err >&5
/usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used
unsafely; consider using mkstemp()
/usr/lib/libasn1.so: undefined reference to `init_error_table'
/usr/lib/libasn1.so: undefined reference to `initialize_error_table_r'
configure:2014: $? = 1
configure: failed program was:
#line 1986 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
main ()

return 0;
configure:2041: error: C compiler cannot create executables

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-general @
postedOct 15, '05 at 4:37a
activeOct 15, '05 at 4:37a

1 user in discussion

Palle Girgensohn: 1 post



site design / logo © 2022 Grokbase