[
https://issues.apache.org/jira/browse/TS-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933370#comment-13933370
]
Leif Hedstrom commented on TS-2634:
-----------------------------------
[[email protected]] Well, it looks like all other platforms have the default
at --no-as-needed, whereas Ubuntu 13.10 has --as-needed. It's odd to me though
that libtsutil.so claims to have a libhwloc.so dependency (according to ldd),
yet, linking with just -ltsutils does not work without another explicit
-lhwloc...
Note that adding -Wl,--no-as-needed is tricky, in that it has to come early on
in the link line. I tried various combinations in the Makefile.am syntax, but
none worked.
I'm not sure what the execution would fail with @hwloc_libs@ in
traffic_manager, let me test that.
> Build broken on Ubuntu Saucy
> ----------------------------
>
> Key: TS-2634
> URL: https://issues.apache.org/jira/browse/TS-2634
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Phil Sorber
> Assignee: Leif Hedstrom
>
> libhwloc not linked properly on ubuntu 13.10:
> /usr/bin/ld: ../lib/ts/.libs/libtsutil.so: undefined reference to symbol
> 'hwloc_get_type_depth'
> /usr/lib/x86_64-linux-gnu/libhwloc.so: error adding symbols: DSO missing from
> command line
--
This message was sent by Atlassian JIRA
(v6.2#6252)