[
https://issues.apache.org/jira/browse/ZOOKEEPER-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423644#comment-15423644
]
Michael Han commented on ZOOKEEPER-2505:
----------------------------------------
Hey [~cnauroth]: I set up a Solaris 10 system using Oracle Solaris 10 1/13
VirtualBox Template[1] and installed tool chains for native code to build
(autoconf, libtool, g++, automake, gmake) using opencws, but test-core-cppunit
does not work out of box - the wrapper options were not passed to linker when
test-core-cppunit is invoked so the tests complaining about missing those
wrapper symbols. I am sure this is fixed by you in ZOOKEEPER-1077 (which is
also verified by zk Solaris build), so I assume this must be a problem with my
local system environment set up. I'll check it out more in detail. Once that is
figured out, I can proceed to verify if shared lib works for c test on Solaris
or not.
I am curious what's the spec of the Solaris OS you were using for dev in
ZOOKEEPER-1077?
[1]
http://www.oracle.com/technetwork/server-storage/solaris11/vmtemplates-vmvirtualbox-1949721.html
> Use shared library instead of static library in C client unit test
> ------------------------------------------------------------------
>
> Key: ZOOKEEPER-2505
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2505
> Project: ZooKeeper
> Issue Type: Improvement
> Components: c client
> Affects Versions: 3.5.2
> Reporter: Michael Han
> Assignee: Michael Han
> Priority: Minor
> Fix For: 3.5.3
>
> Attachments: ZOOKEEPER-2505.patch
>
>
> Currently we are statically linking c unit tests to ZK client library - we
> should use shared library instead as there seems no particular reason to
> stick to static library, plus one benefit of using shared library is that
> would allow us to use overrides function calls from standard libraries at
> link time so we can simulate the wrap option for ld linker on os x.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)