pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR PKG/44028 Postgresql 9.0 missing libpqwalreceiver.so
Hi!
I already tried to write a problem report [1] about it, but nobody felt
responsible so far to answer it.
I installed PostgreSQL 9.0.1 primarly for the hot standby functionality, but I
found out, that an important lib is missing after installation from pkgsrc:
/usr/pkg/lib/postgresql/libpqwalreceiver.so thus the hot-standby is not
possible, I only get in the postgres' errlog: FATAL: could not access file
"libpqwalreceiver": No such file or directory
I tried using it with NetBSD 5.0.2 and DragonFlyBSD 2.8.2
On the other hand hot standby is working fine with FreeBSD 8 and PosgreSQL 9.0
from ports, there one can find the libpqwalreceiver lib.
Probably it is only missing in the PLIST or something like that. Could somebody
more experienced take a closer look please?
What I tried so far is to build it by my own in:
/var/build/databases/postgresql90-server/work/postgresql-9.0.1/src/backend/replication/libpqwalreceiver
with gmake.
The output is then:
root@pick:/var/build/databases/postgresql90-server/work/postgresql-9.0.1/src/backend/replication/libpqwalreceiver#
gmake
gmake -C ../../../../src/interfaces/libpq all
gmake[1]: Entering directory
`/var/build/databases/postgresql90-server/work/postgresql-9.0.1/src/interfaces/libpq'
msgfmt -o po/cs.mo po/cs.po
msgfmt -o po/de.mo po/de.po
msgfmt -o po/es.mo po/es.po
msgfmt -o po/fr.mo po/fr.po
msgfmt -o po/it.mo po/it.po
msgfmt -o po/ja.mo po/ja.po
msgfmt -o po/ko.mo po/ko.po
msgfmt -o po/pt_BR.mo po/pt_BR.po
msgfmt -o po/ru.mo po/ru.po
msgfmt -o po/sv.mo po/sv.po
msgfmt -o po/ta.mo po/ta.po
msgfmt -o po/tr.mo po/tr.po
msgfmt -o po/zh_CN.mo po/zh_CN.po
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-auth.c -o fe-auth.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-connect.c -o fe-connect.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-exec.c -o fe-exec.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-misc.c -o fe-misc.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-print.c -o fe-print.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-lobj.c -o fe-lobj.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-protocol2.c -o fe-protocol2.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-protocol3.c -o fe-protocol3.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c pqexpbuffer.c -o pqexpbuffer.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c pqsignal.c -o pqsignal.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c fe-secure.c -o fe-secure.lo
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c libpq-events.c -o libpq-events.lo
rm -f md5.c && ln -s ../../../src/backend/libpq/md5.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c md5.c -o md5.lo
rm -f ip.c && ln -s ../../../src/backend/libpq/ip.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c ip.c -o ip.lo
rm -f wchar.c && ln -s ../../../src/backend/utils/mb/wchar.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c wchar.c -o wchar.lo
rm -f encnames.c && ln -s ../../../src/backend/utils/mb/encnames.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c encnames.c -o encnames.lo
rm -f noblock.c && ln -s ../../../src/port/noblock.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c noblock.c -o noblock.lo
rm -f pgstrcasecmp.c && ln -s ../../../src/port/pgstrcasecmp.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c pgstrcasecmp.c -o pgstrcasecmp.lo
rm -f thread.c && ln -s ../../../src/port/thread.c .
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DUNSAFE_STAT_OK -I.
-I../../../src/include -I/usr/pkg/include -I/usr/include -I../../../src/port
-I../../../src/port -c thread.c -o thread.lo
mode=link cc -L../../../src/port -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -rpath /usr/pkg/lib
-version-info 5:3 -o libpq.la fe-auth.lo fe-connect.lo fe-exec.lo fe-misc.lo
fe-print.lo fe-lobj.lo fe-protocol2.lo fe-protocol3.lo pqexpbuffer.lo
pqsignal.lo fe-secure.lo libpq-events.lo md5.lo ip.lo wchar.lo encnames.lo
noblock.lo pgstrcasecmp.lo thread.lo -lintl -lssl -lcrypto -lcrypt -lpthread
cc: 5:3: No such file or directory
cc: unrecognized option '-version-info'
gmake[1]: [libpq.la] Error 1 (ignored)
gmake[1]: Leaving directory
`/var/build/databases/postgresql90-server/work/postgresql-9.0.1/src/interfaces/libpq'
mode=compile cc -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv -I. -I../../../../src/interfaces/libpq
-I../../../../src/include -I/usr/pkg/include -I/usr/include -c
libpqwalreceiver.c -o libpqwalreceiver.lo
mode=link cc -L../../../../src/port -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/lib -Wl,-R/usr/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -rpath
/usr/pkg/lib -version-info 0:0 -o liblibpqwalreceiver.la libpqwalreceiver.lo
-L../../../../src/interfaces/libpq -lpq
cc: 0:0: No such file or directory
cc: unrecognized option '-version-info'
gmake: [liblibpqwalreceiver.la] Error 1 (ignored)
Thanks in advance,
Damian
[1]: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44028
Home |
Main Index |
Thread Index |
Old Index