{"action":"closed","issue":{"url":"https://api.github.com/repos/vmware/pg_rewind/issues/43","labels_url":"https://api.github.com/repos/vmware/pg_rewind/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/vmware/pg_rewind/issues/43/comments","events_url":"https://api.github.com/repos/vmware/pg_rewind/issues/43/events","html_url":"https://github.com/vmware/pg_rewind/issues/43","id":58838511,"number":43,"title":"Problem building against 9.4 on SLES 11 SP1","user":{"login":"steveratay","id":904139,"avatar_url":"https://avatars.githubusercontent.com/u/904139?v=3","gravatar_id":"","url":"https://api.github.com/users/steveratay","html_url":"https://github.com/steveratay","followers_url":"https://api.github.com/users/steveratay/followers","following_url":"https://api.github.com/users/steveratay/following{/other_user}","gists_url":"https://api.github.com/users/steveratay/gists{/gist_id}","starred_url":"https://api.github.com/users/steveratay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveratay/subscriptions","organizations_url":"https://api.github.com/users/steveratay/orgs","repos_url":"https://api.github.com/users/steveratay/repos","events_url":"https://api.github.com/users/steveratay/events{/privacy}","received_events_url":"https://api.github.com/users/steveratay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-25T02:01:34Z","updated_at":"2015-02-27T00:14:06Z","closed_at":"2015-02-27T00:14:06Z","body":"When building on SLES 11 SP1, I can't seem to find the pgcommon library.  It seems that the libpgcommon.a file is actually in /var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib64.\r\n\r\n```\r\n[17:25:22][Step 2/2] rm -f xlogreader.c && ln -s ../../build/postgresql/postgresql-9.4.1/src/backend/access/transam/xlogreader.c .\r\n[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o xlogreader.o xlogreader.c\r\n[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o util.o util.c\r\n[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o datapagemap.o datapagemap.c\r\n[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o timeline.o timeline.c\r\n[17:25:22][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o fetch.o fetch.c\r\n[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o copy_fetch.o copy_fetch.c\r\n[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o libpq_fetch.o libpq_fetch.c\r\n[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql -I. -I./ -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/server -I/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/include/pgsql/internal -DFRONTEND   -c -o filemap.o filemap.c\r\n[17:25:23][Step 2/2] gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables pg_rewind.o parsexlog.o xlogreader.o util.o datapagemap.o timeline.o fetch.o copy_fetch.o libpq_fetch.o filemap.o -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -lpgcommon -lpgport -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -lpq -L/var/tmp/vpagent/postgresql94-libs-9.4.1-build/usr/lib/postgresql94/lib64 -Wl,--as-needed  -lpgcommon -lpgport -lssl -lcrypto -lgssapi_krb5 -lz -lrt -lcrypt -ldl -lm  -o pg_rewind\r\n[17:25:23][Step 2/2] /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpgcommon\r\n[17:25:23][Step 2/2] collect2: ld returned 1 exit status\r\n[17:25:23][Step 2/2] make: *** [pg_rewind] Error 1\r\n[17:25:23][Step 2/2] Process exited with code 2\r\n```"}}