From: | "kanchana" <pkkanchana(at)gmx(dot)net> |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Fw: configure error with krb5 |
Date: | 2003-01-20 10:32:43 |
Message-ID: | 007601c2c06f$47855b20$3b0110ac@kovaiteam.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello Bruce Momjian,
Thanks for your times and replies. Once i recompiled krb5 with -fPIC option,
it (postgresql) compiles fine.
Again thanks.
Regards,
-Kanchana
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | joepie Platteau | 2003-01-20 11:11:53 | Database Performance problem |
Previous Message | Manfred Koizar | 2003-01-20 10:21:39 | Re: Transaction progress |