The patch below fixes a pair of little typos in a language
localization file, and adds a few more shared libraries to the list of
such that libpq might depend on. (I need them to get things to work
properly with Kerberos 5 under NetBSD, where the lack of them breaks
libpgtcl.so run-time dynamic linking, so e.g. pgaccess won't work.)

Incidentally, to actually get Kerberos 5 support under NetBSD, I have
to do the following:

% INCLUDES="-I/usr/include/krb5"; export INCLUDES
% LIBS="-lkrb5 -lkrb -lcrypto -lasn1 -lcom_err -lroken"; export LIBS
% ./configure --with-krb5=/usr [...]

If there is a way to get this information into the configure script,
that would be a Good Thing. :-)

-tih

*** src/bin/pg_dump/po/pt_BR.po~ Tue Dec 10 21:00:27 2002
--- src/bin/pg_dump/po/pt_BR.po Fri Feb 7 07:36:13 2003
***************
*** 189,196 ****
msgstr " -Z 0-9 nível de compressão para formatos comprimidos\n"

#: pg_dump.c:675 pg_dumpall.c:238 pg_restore.c:396
! msgid " --help show this help, then exit\vn"
! msgstr " --help mostra essa ajuda, e termina\vn"

#: pg_dump.c:676 pg_dumpall.c:239 pg_restore.c:397
msgid " --version output version information, then exit\n"
--- 189,196 ----
msgstr " -Z 0-9 nível de compressão para formatos comprimidos\n"

#: pg_dump.c:675 pg_dumpall.c:238 pg_restore.c:396
! msgid " --help show this help, then exit\n"
! msgstr " --help mostra essa ajuda, e termina\n"

#: pg_dump.c:676 pg_dumpall.c:239 pg_restore.c:397
msgid " --version output version information, then exit\n"
*** src/interfaces/libpq/Makefile~ Fri Dec 13 23:18:22 2002
--- src/interfaces/libpq/Makefile Fri Feb 7 08:47:47 2003
***************
*** 29,35 ****
# Add libraries that libpq depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# matter.)
! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS))


all: all-lib
--- 29,35 ----
# Add libraries that libpq depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# matter.)
! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl -lutil -lasn1 -lroken, $(LIBS))


all: all-lib

--
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no T: +47-22092958 M: +47-93013940 F: +47-22092901

Search Discussions

  • Bruce Momjian at Feb 18, 2003 at 2:20 am
    I am not sure about this patch. First, src/bin/pg_dump/po/pt_BR.po
    isn't in CVS anymore. Seems we don't have a Portugese translation file
    anymore for this. As far as Kerberos, you are the first to mention
    those additional libraries. Perhaps something for LIBS in
    Makefile.global would fix this, but I am not sure how general those
    changes are. Comments anyone?

    ---------------------------------------------------------------------------

    Tom Ivar Helbekkmo wrote:
    The patch below fixes a pair of little typos in a language
    localization file, and adds a few more shared libraries to the list of
    such that libpq might depend on. (I need them to get things to work
    properly with Kerberos 5 under NetBSD, where the lack of them breaks
    libpgtcl.so run-time dynamic linking, so e.g. pgaccess won't work.)

    Incidentally, to actually get Kerberos 5 support under NetBSD, I have
    to do the following:

    % INCLUDES="-I/usr/include/krb5"; export INCLUDES
    % LIBS="-lkrb5 -lkrb -lcrypto -lasn1 -lcom_err -lroken"; export LIBS
    % ./configure --with-krb5=/usr [...]

    If there is a way to get this information into the configure script,
    that would be a Good Thing. :-)

    -tih

    *** src/bin/pg_dump/po/pt_BR.po~ Tue Dec 10 21:00:27 2002
    --- src/bin/pg_dump/po/pt_BR.po Fri Feb 7 07:36:13 2003
    ***************
    *** 189,196 ****
    msgstr " -Z 0-9 n?vel de compress?o para formatos comprimidos\n"

    #: pg_dump.c:675 pg_dumpall.c:238 pg_restore.c:396
    ! msgid " --help show this help, then exit\vn"
    ! msgstr " --help mostra essa ajuda, e termina\vn"

    #: pg_dump.c:676 pg_dumpall.c:239 pg_restore.c:397
    msgid " --version output version information, then exit\n"
    --- 189,196 ----
    msgstr " -Z 0-9 n?vel de compress?o para formatos comprimidos\n"

    #: pg_dump.c:675 pg_dumpall.c:238 pg_restore.c:396
    ! msgid " --help show this help, then exit\n"
    ! msgstr " --help mostra essa ajuda, e termina\n"

    #: pg_dump.c:676 pg_dumpall.c:239 pg_restore.c:397
    msgid " --version output version information, then exit\n"
    *** src/interfaces/libpq/Makefile~ Fri Dec 13 23:18:22 2002
    --- src/interfaces/libpq/Makefile Fri Feb 7 08:47:47 2003
    ***************
    *** 29,35 ****
    # Add libraries that libpq depends (or might depend) on into the
    # shared library link. (The order in which you list them here doesn't
    # matter.)
    ! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS))


    all: all-lib
    --- 29,35 ----
    # Add libraries that libpq depends (or might depend) on into the
    # shared library link. (The order in which you list them here doesn't
    # matter.)
    ! SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl -lutil -lasn1 -lroken, $(LIBS))


    all: all-lib

    --
    Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
    www.eunet.no T: +47-22092958 M: +47-93013940 F: +47-22092901

    ---------------------------(end of broadcast)---------------------------
    TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedFeb 7, '03 at 7:59a
activeFeb 18, '03 at 2:20a
posts2
users2
websitepostgresql.org...
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase