Обсуждение: gamke error -postgres9.4.5
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/8.3/static/libpq-build.html Description: utils/adt/xml.o: In function `pg_xml_done': xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext' utils/adt/xml.o: In function `pg_xml_init': xml.c:(.text+0x1c0d): undefined reference to `__xmlStructuredErrorContext' xml.c:(.text+0x1c26): undefined reference to `__xmlStructuredErrorContext' /usr/local/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3' collect2: ld returned 1 exit status gmake[2]: *** [postgres] Error 1 gmake[2]: Leaving directory `/Data/postgresql-9.4.5/src/backend' gmake[1]: *** [all-backend-recurse] Error 2 gmake[1]: Leaving directory `/Data/postgresql-9.4.5/src' gmake: *** [all-src-recurse] Error 2
On Tue, Jun 14, 2016 at 9:12 PM, <murugan.chelliah.ext@nokia.com> wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/8.3/static/libpq-build.html 8.3 is out of support by community. And why are you pointing to this page? This is libpq, and what is failing to compile is some backend code. > Description: > > utils/adt/xml.o: In function `pg_xml_done': > xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext' > utils/adt/xml.o: In function `pg_xml_init': > xml.c:(.text+0x1c0d): undefined reference to `__xmlStructuredErrorContext' > xml.c:(.text+0x1c26): undefined reference to `__xmlStructuredErrorContext' > /usr/local/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3' > collect2: ld returned 1 exit status > gmake[2]: *** [postgres] Error 1 > gmake[2]: Leaving directory `/Data/postgresql-9.4.5/src/backend' > gmake[1]: *** [all-backend-recurse] Error 2 > gmake[1]: Leaving directory `/Data/postgresql-9.4.5/src' > gmake: *** [all-src-recurse] Error 2 You had better review the shape of the objects in your version of this libxml2 shared library, which is I imagine a custom build... -- Michael
Hi, I am trying to install postgres9.4.5 version in one of the system with libxml, I ended with the below mentioned error. While searching in google - I found the below page is somewhat relevant, so I just updated on that page. Can you please helpme to resolve the below error OR Can you guide me the right person/forum/group to get the solution for this issue? Thanks for your quick response. Let me know if any other details are required. Thanks & Regards, Murugan Chelliah +91-7299080302 -----Original Message----- From: Michael Paquier [mailto:michael.paquier@gmail.com] Sent: Tuesday, June 14, 2016 6:04 PM To: Chelliah, Murugan (EXT - IN/Chennai) <murugan.chelliah.ext@nokia.com> Cc: pgsql-docs@postgresql.org Subject: Re: [DOCS] gamke error -postgres9.4.5 On Tue, Jun 14, 2016 at 9:12 PM, <murugan.chelliah.ext@nokia.com> wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/8.3/static/libpq-build.html 8.3 is out of support by community. And why are you pointing to this page? This is libpq, and what is failing to compile is some backend code. > Description: > > utils/adt/xml.o: In function `pg_xml_done': > xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext' > utils/adt/xml.o: In function `pg_xml_init': > xml.c:(.text+0x1c0d): undefined reference to `__xmlStructuredErrorContext' > xml.c:(.text+0x1c26): undefined reference to `__xmlStructuredErrorContext' > /usr/local/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3' > collect2: ld returned 1 exit status > gmake[2]: *** [postgres] Error 1 > gmake[2]: Leaving directory `/Data/postgresql-9.4.5/src/backend' > gmake[1]: *** [all-backend-recurse] Error 2 > gmake[1]: Leaving directory `/Data/postgresql-9.4.5/src' > gmake: *** [all-src-recurse] Error 2 You had better review the shape of the objects in your version of this libxml2 shared library, which is I imagine a custom build... -- Michael
murugan.chelliah.ext@nokia.com writes: > utils/adt/xml.o: In function `pg_xml_done': > xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext' This suggests that your libxml2 header files are of a newer version than your libxml2 library (.so) is. regards, tom lane
Hi, Can you please suggest/guide me the step by step instructions to resolve the issue. I am trying to install postgres with libxml and with perl Let me know if any other details are required. Thanks & Regards, Murugan Chelliah +91-7299080302 -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Tuesday, June 14, 2016 7:16 PM To: Chelliah, Murugan (EXT - IN/Chennai) <murugan.chelliah.ext@nokia.com> Cc: pgsql-docs@postgresql.org Subject: Re: [DOCS] gamke error -postgres9.4.5 murugan.chelliah.ext@nokia.com writes: > utils/adt/xml.o: In function `pg_xml_done': > xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext' This suggests that your libxml2 header files are of a newer version than your libxml2 library (.so) is. regards, tom lane