Discussion:
[DOCS] gamke error -postgres9.4.5
(too old to reply)
m***@nokia.com
2016-06-14 12:12:57 UTC
Permalink
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 `***@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
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpre
Michael Paquier
2016-06-14 12:34:25 UTC
Permalink
Post by m***@nokia.com
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.
Post by m***@nokia.com
xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext'
xml.c:(.text+0x1c0d): undefined reference to `__xmlStructuredErrorContext'
xml.c:(.text+0x1c26): undefined reference to `__xmlStructuredErrorContext'
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
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Chelliah, Murugan (EXT - IN/Chennai)
2016-06-14 12:43:32 UTC
Permalink
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 help me 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:***@gmail.com]
Sent: Tuesday, June 14, 2016 6:04 PM
To: Chelliah, Murugan (EXT - IN/Chennai) <***@nokia.com>
Cc: pgsql-***@postgresql.org
Subject: Re: [DOCS] gamke error -postgres9.4.5
Post by m***@nokia.com
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.
Post by m***@nokia.com
xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext&#39;
xml.c:(.text+0x1c0d): undefined reference to `__xmlStructuredErrorContext&#39;
xml.c:(.text+0x1c26): undefined reference to `__xmlStructuredErrorContext&#39;
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/Data/postgresql-9.4.5/src/backend&#39;
gmake[1]: *** [all-backend-recurse] Error 2
gmake[1]: Leaving directory `/Data/postgresql-9.4.5/src&#39;
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
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
ht
Tom Lane
2016-06-14 13:46:10 UTC
Permalink
Post by m***@nokia.com
xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext&#39;
This suggests that your libxml2 header files are of a newer version than
your libxml2 library (.so) is.

regards, tom lane
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Chelliah, Murugan (EXT - IN/Chennai)
2016-06-15 09:51:00 UTC
Permalink
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:***@sss.pgh.pa.us]
Sent: Tuesday, June 14, 2016 7:16 PM
To: Chelliah, Murugan (EXT - IN/Chennai) <***@nokia.com>
Cc: pgsql-***@postgresql.org
Subject: Re: [DOCS] gamke error -postgres9.4.5
Post by m***@nokia.com
xml.c:(.text+0x13f5): undefined reference to `__xmlStructuredErrorContext&#39;
This suggests that your libxml2 header files are of a newer version than
your libxml2 library (.so) is.

regards, tom lane
--
Sent via pgsql-docs mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Loading...