Hi,
I get this error on Mac OSX, Java 1.6.0_17 :
Tests in error:
testAgent(org.apache.sshd.AgentTest)
-------------------------------------------------------------------------------
Test set: org.apache.sshd.AgentTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009
sec <<< FAILURE!
testAgent(org.apache.sshd.AgentTest) Time elapsed: 0.006 sec <<< ERROR!
java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path, no
libtcnative-1 in
java.library.path(.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java)
at org.apache.tomcat.jni.Library.<init>(Library.java:56)
at org.apache.tomcat.jni.Library.initialize(Library.java:157)
at org.apache.sshd.agent.AprLibrary.<init>(AprLibrary.java:83)
at org.apache.sshd.agent.AprLibrary.initialize(AprLibrary.java:62)
at
org.apache.sshd.agent.AprLibrary.createLocalSocketAddress(AprLibrary.java:109)
at org.apache.sshd.agent.AgentServer.start(AgentServer.java:56)
at org.apache.sshd.AgentTest.testAgent(AgentTest.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com