A question about hc2vpp startup, thanks


dengxunaaa@...
 

I am a newcomer to hc2vpp,when i start hc2vpp by excute ./sh /home/hc2vpp/vpp-integration-distribution-1.19.04/honeycomb
there is an error below occur。 I have try  install hc2vpp from available binary packages ande from available archives.
How can i solve the problem ? thanks for answer


2019-07-31 01:09:30.413 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ConfigPersistingDataTreeProvider@6ec3a4c2
2019-07-31 01:09:30.422 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.ShutdownHandlerProvider@6cd66f6a
2019-07-31 01:09:30.425 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.hc2vpp.common.integration.JVppRegistryProvider@48ee3c2d
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libjvpp_registry.so1524549794623320926.tmp: libvppinfra.so.19.04: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.Runtime.load(Runtime.java:797)
at io.fd.jvpp.NativeLibraryLoader.loadStream(NativeLibraryLoader.java:62)
at io.fd.jvpp.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:53)
at io.fd.jvpp.VppJNIConnection.<clinit>(VppJNIConnection.java:41)
at io.fd.jvpp.JVppRegistryImpl.<init>(JVppRegistryImpl.java:45)
at io.fd.hc2vpp.common.integration.JVppRegistryProvider.create(JVppRegistryProvider.java:61)
at io.fd.hc2vpp.common.integration.JVppRegistryProvider.create(JVppRegistryProvider.java:41)
at io.fd.honeycomb.binding.init.ProviderTrait.get(ProviderTrait.java:30)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
 


Michal Cmarada
 

Hi,

 

seems like you are missing JVPP(or correct version of jvpp). Check if you have installed the jvpp package. Also check if VPP and JVPP is correct version for 19.04 version you need 19.04 versions for all VPP, JVPP and hc2vpp (19.04.1 will not work, we haven’t released 19.04.1 version for jvpp and hc2vpp).

If you want to build from source you can download VPP binary packages including dev packages, then you need to build and install JVPP(check the readme file in JVPP project) afterwards you can build hc2vpp. Use 19.04. branch, because master was broken. After successful build you can also create your own packages for JVPP and hc2vpp.

 

Best regards

Michal

 

From: dengxunaaa@... [mailto:dengxunaaa@...]
Sent: Wednesday, July 31, 2019 3:16 AM
To: hc2vpp@...
Subject: [hc2vpp] A question about hc2vpp startup, thanks

 

I am a newcomer to hc2vppwhen i start hc2vpp by excute ./sh /home/hc2vpp/vpp-integration-distribution-1.19.04/honeycomb

there is an error below occur I have try  install hc2vpp from available binary packages ande from available archives.
How can i solve the problem ? thanks for answer


2019-07-31 01:09:30.413 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.PersistingDataTreeProvider$ConfigPersistingDataTreeProvider@6ec3a4c2

2019-07-31 01:09:30.422 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.honeycomb.infra.distro.data.ShutdownHandlerProvider@6cd66f6a

2019-07-31 01:09:30.425 UTC [main] INFO  i.f.h.binding.init.ProviderTrait - Providing: io.fd.hc2vpp.common.integration.JVppRegistryProvider@48ee3c2d

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libjvpp_registry.so1524549794623320926.tmp: libvppinfra.so.19.04: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.Runtime.load(Runtime.java:797)

at io.fd.jvpp.NativeLibraryLoader.loadStream(NativeLibraryLoader.java:62)

at io.fd.jvpp.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:53)

at io.fd.jvpp.VppJNIConnection.<clinit>(VppJNIConnection.java:41)

at io.fd.jvpp.JVppRegistryImpl.<init>(JVppRegistryImpl.java:45)

at io.fd.hc2vpp.common.integration.JVppRegistryProvider.create(JVppRegistryProvider.java:61)

at io.fd.hc2vpp.common.integration.JVppRegistryProvider.create(JVppRegistryProvider.java:41)

at io.fd.honeycomb.binding.init.ProviderTrait.get(ProviderTrait.java:30)

at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)