readline doubt with postgresql (on HP-UX)

Started by kanchanaabout 23 years ago3 messagesgeneral
Jump to latest
#1kanchana
pkkanchana@gmx.net

Hello all,

I'm trying to build postgresql on PA-RISC.
By default it took readline libreary as "shared".
But i tried to compile postgresql with STATIC readline library.
It doesn't take the static readline(libreadline.a), it took libreadline.sl(shared library).

My Q is does postgresql take only the shared readline library?
if so, i want to have install readline library as shared in my machine before stating postgresql.
Am i correct?

Plz reply asap.
Advance thanks.

Regards,
-Kanchana

#2Giles Lean
giles@nemeton.com.au
In reply to: kanchana (#1)
Re: readline doubt with postgresql (on HP-UX)

kanchana writes:

I'm trying to build postgresql on PA-RISC.=20
By default it took readline libreary as "shared".

The HP-UX linker, like most linkers, will prefer a shared library to
a static one unless you are linking the whole program statically.

Easy workarounds are to either install the shared readline library,
or else build readline only as a static library, and link against
that.

You'd have to provide some details of what you are doing (HP-UX
version, compiler you're using, configure options) for anyone
to fully understand what you're doing.

Regards,

Giles

#3kanchana
pkkanchana@gmx.net
In reply to: Giles Lean (#2)
Re: readline doubt with postgresql (on HP-UX)

Hello Lean,
Thanks for your response. I'll try.
and get back to you once i done.

FYI, i'm using
HP-UX-11.11(PA-RISC)
gcc- compiler
configure options - krb5 and ssl

Regards,
-Kanchana

Show quoted text

kanchana writes:

I'm trying to build postgresql on PA-RISC.=20
By default it took readline libreary as "shared".

The HP-UX linker, like most linkers, will prefer a shared library to
a static one unless you are linking the whole program statically.

Easy workarounds are to either install the shared readline library,
or else build readline only as a static library, and link against
that.

You'd have to provide some details of what you are doing (HP-UX
version, compiler you're using, configure options) for anyone
to fully understand what you're doing.

Regards,

Giles

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly