Re: Fw: configure error with krb5

Поиск
Список
Период
Сортировка
От kanchana
Тема Re: Fw: configure error with krb5
Дата
Msg-id 007601c2c06f$47855b20$3b0110ac@kovaiteam.com
обсуждение исходный текст
Ответ на Re: Fw: configure error with krb5  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
19073
>


В списке pgsql-general по дате отправления:

Предыдущее
От: mike
Дата:
Сообщение: Re: problems configuring with readline and zlib
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: Transaction progress