[
https://issues.apache.org/jira/browse/TS-2465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859924#comment-13859924
]
Radim Kolar commented on TS-2465:
---------------------------------
fails like this:
configure:23244: checking "For XML parser"
configure:23531: checking libxml2
configure:23554: cc -o conftest -O2 -pipe -march=core2 -fno-strict-aliasing -g -
Wall -Qunused-arguments -feliminate-unused-debug-symbols -march=i586 -I/usr/loca
l/include -Dfreebsd -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_REENTRANT -I/usr/local/include/tcl8.6 -I/usr/local/include/libxml2 -L/usr/l
ocal/lib -Wl,-rpath=/usr/lib:/usr/local/lib /usr/local/lib conftest.c -llzma -lz
-lssl -lcrypto -lcrypt -lpthread -lxml2 >&5
/usr/local/lib: file not recognized: File format not recognized
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:23554: $? = 1
> libxml2 detection broken
> ------------------------
>
> Key: TS-2465
> URL: https://issues.apache.org/jira/browse/TS-2465
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Radim Kolar
> Attachments: patch-libxml2-detect
>
>
> There is problem with libxml2 detection in configure script. It inserts
> library path into ld options without any prefix causing any next compile
> attempts to fail. Tested on freebsd 10.0
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)