Re: Fw: configure error with krb5

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: kanchana <pkkanchana(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fw: configure error with krb5
Date: 2003-01-18 15:30:46
Message-ID: 200301181530.h0IFUkP12340@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

kanchana wrote:
> Hello Bruce Momjian,
>
> Thanks a lot for all. I tried by adding -lcurses on link line of psql.
> Looks like it works fine.
>
> Next i moved to compile with krb5, it gives error.
> as follows..........
> #./configure --prefix=/opt/postgresql --enable-integer-datetimes --with-open
> ssl=/usr/local/ssl --with-krb5=/usr/local/krb5
>
> ----------no problem here.
>
> #gmake gives ERROR
> :
> :
> /usr/ccs/bin/ld -b +b /opt/postgresql/lib fe-auth.o fe-connect.o fe-exec.o
> fe-misc.o fe-print.o fe-lobj.o pqexpbuffer.o dllist.o md5.o pqsignal.o
> fe-secure.o wchar.o
> encnames.o -L/usr/local/krb5/lib -L/usr/local/ssl/lib -lssl -lcrypto -lkrb5
> -lk5crypto -lcom_err -lnsl -o libpq.sl
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (fe-auth.o) was
> detected. The linked output may not run on a PA 1.x system.
> /usr/ccs/bin/ld: DP relative code in file
> /usr/local/krb5/lib/libkrb5.a(init_ctx.o) - shared library must be position
> independent. Use +z or +Z to recompile.

Right here, it looks like the k5crypto library wasn't created properly.
I think the problem is that it is trying to create a shared libpq, but
kerberos is a non-shared *.a library, or has non-shared object files in
it. Just a guess, of course.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-general by date

  From Date Subject
Next Message jco 2003-01-18 15:39:52 Re: libpq C library Client Interface - select()
Previous Message Bruce Momjian 2003-01-18 15:26:09 Re: change in behaviour? Is this a regression in function?