libgsf fails to install due to not having up-to-date libxml-2.0 #13673

Closed
danmaftei opened this Issue Jul 28, 2012 · 2 comments

2 participants

@danmaftei

https://gist.github.com/3193411

Looks like it wants libxml-2.0 >= 2.4.16. Not sure what OS X has by default. I tried brew install libxml2 but that didn't work. I then explicitly set the LDFLAGS and CPPFLAGS to point to the brew, but that didn't work either, probably because libgsf looks at pkg-config. So I set LIBGSF_LIBS and LIBGSF_CFLAGS to point to the libxml2 brew but that didn't work either (there was a make error since libxml/tree.h could not be found). So I set LIBGSF_CFLAGS to point to /usr/local/Cellar/libxml2/2.8.0/include/libxml2 and I got past that error but then make complained about undefined symbols (see below). The same exact things happened when I used OS X's libxml2 by pointing LIBGSF_LIBS and LIBGSF_CFLAGS to the /usr hierarchy.

This is odd, since I installed libgsf (part of libwpd) without any problems on OS X Lion. I am on Mountain Lion now.

The undefined symbols were:

Undefined symbols for architecture x86_64:
"___xmlGenericError", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"___xmlGenericErrorContext", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"_xmlAllocOutputBuffer", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"_xmlCreateIOParserCtxt", referenced from:
_gsf_xml_parser_context_full in gsf-libxml.o
"_xmlCreatePushParserCtxt", referenced from:
_gsf_xml_probe in gsf-libxml.o
"_xmlFindCharEncodingHandler", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"_xmlFree", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"_xmlFreeParserCtxt", referenced from:
_gsf_xml_probe in gsf-libxml.o
_gsf_xml_in_doc_parse in gsf-libxml.o
"_xmlGetPredefinedEntity", referenced from:
_gsf_xml_in_get_entity in gsf-libxml.o
"_xmlNanoHTTPClose", referenced from:
_gsf_input_http_finalize in gsf-input-http.o
"_xmlNanoHTTPContentLength", referenced from:
_gsf_input_http_new in gsf-input-http.o
"_xmlNanoHTTPOpen", referenced from:
_gsf_input_http_new in gsf-input-http.o
"_xmlNanoHTTPRead", referenced from:
_gsf_input_http_read in gsf-input-http.o
"_xmlParseCharEncoding", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o
"_xmlParseChunk", referenced from:
_gsf_xml_probe in gsf-libxml.o
"_xmlParseDocument", referenced from:
_gsf_xml_in_doc_parse in gsf-libxml.o
"_xmlSaveFormatFileTo", referenced from:
_gsf_xmlDocFormatDump in gsf-libxml.o

@mistydemeo

This is caused by #13572. We'll be pushing a fix for it later - sorry for the inconvenience, in the meantime!

@mistydemeo mistydemeo added a commit that closed this issue Jul 29, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
c669c6b
@mistydemeo

brew update - this should be fixed by c669c6b. Sorry about the delay!

@Sharpie Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Aug 2, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
9b84704
@hmac hmac added a commit that referenced this issue Aug 8, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
3cc562b
@fgeller fgeller added a commit to fgeller/homebrew that referenced this issue Aug 22, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
716762a
@Nexuapex Nexuapex pushed a commit that referenced this issue Aug 29, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
ff5239a
@ckdaas ckdaas added a commit that referenced this issue Sep 10, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
087856e
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@mistydemeo mistydemeo Provide missing .pc files for 10.8
10.8 no longer ships four .pc files which were included in previous
versions, though it does still include the libraries which they pointed
to. This commit provides copies of the .pc files for all of these, and
prepends Library/Homebrew/pkgconfig to PKG_CONFIG_PATH on 10.8.

The .pc files in question are: lib curl, lubexslt, libxml-2.0, libxslt

Fixes #13673.
Fixes #13627.
Fixes #13652.
Fixes #13482.
Closes #13572.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
7cdc201
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.