Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

Building bgpcep java.lang.UnsatisfiedLinkError on Mac

asked 2014-08-11 09:39:08 -0800

jgoodyear gravatar image

Hi All,

I've been attempting to build BGPCEP from a fresh clone of master, and keep encountering java.lang.UnsatisfiedLinkError on:

BGPPeerModuleTest.testCreateBeanWithMD5:97 » UnsatisfiedLink /private/var/fold... BGPPeerModuleTest.testMD5ValidationFailure:105 » UnsatisfiedLink /private/var/...

Taking a closer look at the output:

**testCreateBeanWithMD5(org.opendaylight.controller.config.yang.bgp.rib.impl.BGPPeerModuleTest) Time elapsed: 0.09 sec <<< ERROR! java.lang.UnsatisfiedLinkError: /private/var/folders/vs/fbh839yj3t3dk5rwdnh2lsl00000gn/T/libtcpmd5-jni.so7458397215669977323.tmp: dlopen(/private/var/folders/vs/fbh839yj3t3dk5rwdnh2lsl00000gn/T/libtcpmd5-jni.so7458397215669977323.tmp, 1): no suitable image found. Did find: /private/var/folders/vs/fbh839yj3t3dk5rwdnh2lsl00000gn/T/libtcpmd5-jni.so7458397215669977323.tmp: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00


Are there any platform specific build requirements for building BGPCEP?

edit retag flag offensive close merge delete

Comments

I've submitted https://bugs.opendaylight.org/show_bug.cgi?id=1525 The current work around is to build with -DskipTests=true on Mac

jgoodyear ( 2014-08-11 10:59:05 -0800 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2015-02-12 10:59:07 -0800

Robert Varga gravatar image

The bug has been resolved. Essentially the problem is that TCP-MD5 is supported only on Linux and some BGP unit tests were relying on that.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-08-11 09:39:08 -0800

Seen: 398 times

Last updated: Feb 12 '15