Re: Misplaced pg_upgrade_support.so ? - Mailing list pgsql-general
From | Bruce Momjian |
---|---|
Subject | Re: Misplaced pg_upgrade_support.so ? |
Date | |
Msg-id | 201006072259.o57MxOJ24741@momjian.us Whole thread Raw |
In response to | Re: Misplaced pg_upgrade_support.so ? (Glen Barber <glen.j.barber@gmail.com>) |
Responses |
Re: Misplaced pg_upgrade_support.so ?
|
List | pgsql-general |
Glen Barber wrote: > >> exception of "--prefix=/usr/local/pgsql-beta2"; pg_upgrade_support.so > >> ended up in /usr/local/pgsql-beta2/lib. > >> > >> Here is what I saw when running pg_upgrade initially: > >> > >> %pg_upgrade -d /var/db/pgsql/data \ > >> -D /var/db/pgsql/data2 \ > >> -b /usr/local/pgsql-beta1/bin \ > >> -B /usr/local/pgsql-beta2/bin > >> Performing Consistency Checks > >> ----------------------------- > >> Checking old data directory (/var/db/pgsql/data) ok > >> Checking new data directory (/var/db/pgsql/data2) ok > >> > >> > >> pg_upgrade_support.so must be created and installed in \ > >> /usr/local/pgsql-beta2/lib/postgresql/pg_upgrade_support.so > >> > > > > pg_config --pkglibdir > > > > Thanks. > > > > Sure thing: > > %pg_config --pkglibdir > /usr/local/pgsql-beta2/lib/postgresql > > Let me know if I can provide any additional information. That is interesting. I ran configure --prefix=/usr/local/pgsql-beta2 using CVS HEAD (which should match 9.0 beta2), and my output is different: $ ./pg_config --pkglibdir /usr/var/local/pgsql-beta2/lib Notice the "/postgresql" is missing. This is before running pg_upgrade. I am attaching my entire pg_config output. Can I see yours? Thanks. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + None of us is going to be here forever. + BINDIR = /usr/var/local/pgsql-beta2/bin DOCDIR = /usr/var/local/pgsql-beta2/share/doc HTMLDIR = /usr/var/local/pgsql-beta2/share/doc INCLUDEDIR = /usr/var/local/pgsql-beta2/include PKGINCLUDEDIR = /usr/var/local/pgsql-beta2/include INCLUDEDIR-SERVER = /usr/var/local/pgsql-beta2/include/server LIBDIR = /usr/var/local/pgsql-beta2/lib PKGLIBDIR = /usr/var/local/pgsql-beta2/lib LOCALEDIR = /usr/var/local/pgsql-beta2/share/locale MANDIR = /usr/var/local/pgsql-beta2/share/man SHAREDIR = /usr/var/local/pgsql-beta2/share SYSCONFDIR = /usr/var/local/pgsql-beta2/etc PGXS = /usr/var/local/pgsql-beta2/lib/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--with-tcl' '--with-perl' '--with-tclconfig=/u/lib' '--enable-thread-safety' '--with-includes=/usr/local/include/readline/usr/contrib/include' '--with-libraries=/usr/local/lib /usr/contrib/lib' '--with-openssl''--enable-cassert' '--prefix=/usr/local/pgsql-beta2' CC = ccache gcc CPPFLAGS = -I/usr/local/include/readline -I/usr/contrib/include CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing -O1 -Wall -Wmissing-prototypes -Wmissing-declarations-Wpointer-arith -Wcast-align CFLAGS_SL = -fpic LDFLAGS = -L/usr/local/lib -L/usr/contrib/lib -Wl,-rpath,'/usr/local/pgsql-beta2/lib' -O1 -Wall -Wmissing-prototypes -Wmissing-declarations-Wpointer-arith -Wcast-align LDFLAGS_SL = LIBS = -lpgport -lssl -lcrypto -lz -lreadline -ltermcap -lgetopt -ldl -lutil -lm VERSION = PostgreSQL 9.0beta2
pgsql-general by date: