pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45497: databases/postgresql91-client - "LIBS.SunOS+=-lintl" forgotten
>Number: 45497
>Category: pkg
>Synopsis: databases/postgresql91-client - "LIBS.SunOS+=-lintl" forgotten
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 19 13:15:00 +0000 2011
>Originator: Andrey N. Oktyabrski
>Release: OpenIndiana 151a
>Organization:
>Environment:
$ uname -a
SunOS thinkpot 5.11 oi_151a i86pc i386 i86pc Solaris
$ isainfo
amd64 i386
$ which gcc
/usr/bin/gcc
$ /usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.1/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.1/configure --prefix=/usr/gcc/4.6
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/opt/dtbld/bin/ld-wrapper --without-gnu-ld
--enable-languages=c,c++,fortran,objc --enable-shared --disable-static
--enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu
--with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls
Thread model: posix
gcc version 4.6.1 (GCC)
>Description:
gcc -O -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security
-fno-strict-aliasing -fwrapv -D_REENTRANT -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -L../../../../src/port -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R'/usr/pkg/lib' preproc.o
type.o ecpg.o output.o parser.o keywords.o c_keywords.o ecpg_keywords.o
kwlookup.o ../ecpglib/typename.o descriptor.o variable.o -lpgport -lssl
-lcrypto -lz -lreadline -lnsl -lsocket -lm -lpthread -lrt -o ecpg
Undefined first referenced
symbol in file
libintl_gettext preproc.o
libintl_textdomain ../../../../src/port/libpgport.a(exec.o)
libintl_bindtextdomain ../../../../src/port/libpgport.a(exec.o)
libintl_ngettext variable.o
ld: fatal: symbol referencing errors. No output written to ecpg
collect2: ld returned 1 exit status
gmake[2]: *** [ecpg] Error 1
gmake[2]: Leaving directory
`/tmp/pkgwrk/databases/postgresql91-client/work/postgresql-9.1.1/src/interfaces/ecpg/preproc'
>How-To-Repeat:
$ cd /usr/pkgsrc/databases/postgresql91-client
$ bmake
>Fix:
--- Makefile.orig 2011-10-19 17:10:32.079441839 +0400
+++ Makefile 2011-10-19 16:55:56.692888175 +0400
@@ -37,6 +37,8 @@
# Without this, the Darwin build fails (related to -bundle_loader).
BUILD_DIRS+= src/backend
+LIBS.SunOS+= -lintl
+
.for f in pg_service.conf psqlrc
CONF_FILES+= share/postgresql/${f}.sample ${PKG_SYSCONFDIR}/${f}
.endfor
Home |
Main Index |
Thread Index |
Old Index