Also, if this does not work even from the fresh "simple" build, you can verify that the correct libraries are being picked up:
ayourtch@ayourtch-mbp:~/vpp$ sudo strace ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test plugin_path ./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins/ 2>&1 | grep open open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/dpdk/lib/tls/x86_64/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/dpdk/lib/tls/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/dpdk/lib/x86_64/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/dpdk/lib/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/tls/x86_64/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/tls/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/x86_64/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libvlibmemoryclient.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libsvm.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libvatplugin.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libvppinfra.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/home/ayourtch/vpp/build-root/install-vpp_debug-native/vpp/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 open("/dev/shm/global_vm", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0777) = -1 EEXIST (File exists) open("/dev/shm/global_vm", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 3 open("/dev/shm/vpe-api", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0777) = -1 EEXIST (File exists) open("/dev/shm/vpe-api", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 4 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//ioam_pot_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//vxlan_gpe_ioam_export_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//nat_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//gtpu_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//acl_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//stn_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//pppoe_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//dpdk_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//ioam_export_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//kubeproxy_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//lb_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//cdp_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//ioam_vxlan_gpe_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//udp_ping_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//flowprobe_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//lacp_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//memif_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 open("./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins//ioam_trace_test_plugin.so", O_RDONLY|O_CLOEXEC) = 6 --a On 4/3/18, Andrew Yourtchenko <ayour...@gmail.com> wrote: > Shashi, > > Why not simply clone into an empty directory and “make build” in the root > directory ? > > --a > >> On 3 Apr 2018, at 12:03, Shashi Kant Singh <sksi...@altiostar.com> wrote: >> >> Hi Andrew, >> >> I was trying that in the meantime. This is what I have got: >> >> git clone https://gerrit.fd.io/r/vpp vpp5 >> git checkout remotes/origin/master >> cd build-root/ >> make distclean >> cd .. >> make build >> >> [root@vbbubng6-shashi-7 vpp5]# make run STARTUP_CONF=../startup.conf >> vlib_plugin_early_init:359: plugin path >> /bng5/shashi-7/vpp5/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins >> load_one_plugin:187: Loaded plugin: acl_plugin.so (Access Control Lists) >> load_one_plugin:187: Loaded plugin: avf_plugin.so (Intel Adaptive Virtual >> Function (AVF) Device Plugin) >> load_one_plugin:189: Loaded plugin: cdp_plugin.so >> load_one_plugin:187: Loaded plugin: dpdk_plugin.so (Data Plane Development >> Kit (DPDK)) >> load_one_plugin:187: Loaded plugin: flowprobe_plugin.so (Flow per Packet) >> load_one_plugin:187: Loaded plugin: gbp_plugin.so (Group Based Policy) >> load_one_plugin:187: Loaded plugin: gtpu_plugin.so (GTPv1-U) >> load_one_plugin:187: Loaded plugin: igmp_plugin.so (IGMP messaging) >> load_one_plugin:187: Loaded plugin: ila_plugin.so (Identifier-locator >> addressing for IPv6) >> load_one_plugin:187: Loaded plugin: ioam_plugin.so (Inbound OAM) >> load_one_plugin:117: Plugin disabled (default): ixge_plugin.so >> load_one_plugin:187: Loaded plugin: kubeproxy_plugin.so (kube-proxy data >> plane) >> load_one_plugin:187: Loaded plugin: l2e_plugin.so (L2 Emulation) >> load_one_plugin:187: Loaded plugin: lacp_plugin.so (Link Aggregation >> Control Protocol) >> load_one_plugin:187: Loaded plugin: lb_plugin.so (Load Balancer) >> load_one_plugin:187: Loaded plugin: memif_plugin.so (Packet Memory >> Interface (experimetal)) >> load_one_plugin:187: Loaded plugin: nat_plugin.so (Network Address >> Translation) >> load_one_plugin:187: Loaded plugin: pppoe_plugin.so (PPPoE) >> load_one_plugin:187: Loaded plugin: srv6ad_plugin.so (Dynamic SRv6 proxy) >> load_one_plugin:187: Loaded plugin: srv6am_plugin.so (Masquerading SRv6 >> proxy) >> load_one_plugin:187: Loaded plugin: srv6as_plugin.so (Static SRv6 proxy) >> load_one_plugin:187: Loaded plugin: stn_plugin.so (VPP Steals the NIC for >> Container integration) >> load_one_plugin:187: Loaded plugin: tlsmbedtls_plugin.so (mbedtls based >> TLS Engine) >> load_one_plugin:187: Loaded plugin: tlsopenssl_plugin.so (openssl based >> TLS Engine) >> tls_init_ca_chain:600: Could not initialize TLS CA certificates >> tls_openssl_init:650: failed to initialize TLS CA chain >> tls_init_ca_chain:567: Could not initialize TLS CA certificates >> tls_mbedtls_init:606: failed to initialize TLS CA chain >> dpdk_config:1271: EAL init args: -c e -n 4 --huge-dir /run/vpp/hugepages >> --file-prefix vpp -w 0000:00:07.0 -w 0000:00:08.0 --master-lcore 1 >> --socket-mem 1024 >> >> >> root@vbbubng6-shashi-7 vpp5]# >> ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test plugin_path >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lacp_plugin.so: >> undefined symbol: bond_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/kubeproxy_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gbp_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/acl_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lb_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/igmp_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6as_plugin.so: >> undefined symbol: sr_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ixge_plugin.so: >> undefined symbol: format_vnet_buffer >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gtpu_plugin.so: >> undefined symbol: l2input_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/memif_plugin.so: >> undefined symbol: unix_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/tlsmbedtls_plugin.so: >> undefined symbol: vlib_thread_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6am_plugin.so: >> undefined symbol: sr_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/pppoe_plugin.so: >> undefined symbol: ip6_input_node >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/avf_plugin.so: >> undefined symbol: unformat_vlib_pci_addr >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/l2e_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/tlsopenssl_plugin.so: >> undefined symbol: test_srv_crt_rsa >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/nat_plugin.so: >> undefined symbol: ip4_lookup_node >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/cdp_plugin.so: >> undefined symbol: vnet_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ioam_plugin.so: >> undefined symbol: _vlib_init_function_flow_report_init >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/srv6ad_plugin.so: >> undefined symbol: sr_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/stn_plugin.so: >> undefined symbol: socket_main >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ila_plugin.so: >> undefined symbol: unformat_vnet_sw_interface >> load_one_plugin:42: >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/flowprobe_plugin.so: >> undefined symbol: ip4_lookup_node >> vat# >> >> >> >> -----Original Message----- >> From: Andrew 👽 Yourtchenko [mailto:ayour...@gmail.com] >> Sent: 03 April 2018 15:30 >> To: Shashi Kant Singh >> Cc: vpp-dev@lists.fd.io >> Subject: Re: [vpp-dev] VAT ACL for 18.04 >> >> Shashi, >> >> yeah, this looks like some localized issue with the build. >> >> You might issue "git clean -fdx" to get rid of extraneous stuff and then >> redo "make build", or just check out a clean repo into a new directory. >> >> I have just checked out the fresh master on ubuntu 16.04.4 box, built it, >> and was able to run vat with all the plugins, using this command: >> >> sudo ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test >> plugin_path >> ./build-root/install-vpp_debug-native/vpp/lib64/vpp_api_test_plugins/ >> >> This is from the topmost VPP repo directory of course. >> >> If you then can reproduce the failure again, the detailed steps might be >> helpful to try to devise a way to fix it... >> >> --a >> >>> On 4/3/18, Shashi Kant Singh <sksi...@altiostar.com> wrote: >>> Hi Andrew >>> >>> I saw this link, similar to my problem: >>> >>> https://www.mail-archive.com/vpp-dev@lists.fd.io/msg02547.html >>> >>> >>> When I try to give plugin_path, I get this error (even with a fresh >>> build) >>> >>> root@vbbubng6-shashi-7 vpp]# >>> ./build-root/install-vpp_debug-native/vpp/bin/vpp_api_test >>> plugin_path >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/ >>> lib64/vpp_plugins >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/kubeproxy_plugin.so: >>> undefined symbol: unformat_ip46_address >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/acl_plugin.so: >>> undefined symbol: format_bihash_48_8 >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/libsixrd_plugin.so: >>> undefined symbol: format_dpo_proto >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/lb_plugin.so: >>> undefined symbol: unformat_ip46_address >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ixge_plugin.so: >>> undefined symbol: format_vnet_buffer >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/gtpu_plugin.so: >>> undefined symbol: l2input_main >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/memif_plugin.so: >>> undefined symbol: unix_main >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/pppoe_plugin.so: >>> undefined symbol: ip6_input_node >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/l2e_plugin.so: >>> undefined symbol: format_vnet_sw_if_index_name >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/nat_plugin.so: >>> undefined symbol: ip4_lookup_node >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so: >>> undefined symbol: unformat_vnet_hw_interface >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ioam_plugin.so: >>> undefined symbol: _vlib_init_function_flow_report_init >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/stn_plugin.so: >>> undefined symbol: unformat_ip46_address >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/ila_plugin.so: >>> undefined symbol: unformat_vnet_sw_interface >>> load_one_plugin:42: >>> /bng5/shashi-7/vpp4_debug/vpp/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/flowprobe_plugin.so: >>> undefined symbol: ip4_lookup_node >>> vat# >>> >>> >>> >>> >>> From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of >>> Andrew Yourtchenko >>> Sent: 03 April 2018 01:16 >>> To: vpp-dev@lists.fd.io >>> Cc: vpp-dev@lists.fd.io >>> Subject: Re: [vpp-dev] VAT ACL for 18.04 >>> >>> Shashi, >>> >>> Probably your 1804 environment is not happy. >>> >>> The commands are still there, but if you don’t see it in vat it means >>> it can’t load acl plugin, so you will need to doublecheck why. >>> >>> --a >>> >>> On 2 Apr 2018, at 12:06, Shashi Kant Singh >>> <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote: >>> Hi >>> >>> I was trying to follow >>> >>> https://wiki.fd.io/view/VPP/SecurityGroups#acl_interface_set_acl_list_ >>> :_set_the_list_of_inbound.2Boutbound_ACLs_for_a_given_interface >>> >>> for VAT ACL commands on 18.04 but cannot these command valid anymore. >>> >>> Pls help with ACL commands on 18.04 >>> >>> Regards >>> Shashi >>> >>> >>> >> >> >> > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8772): https://lists.fd.io/g/vpp-dev/message/8772 View All Messages In Topic (7): https://lists.fd.io/g/vpp-dev/topic/16737649 Mute This Topic: https://lists.fd.io/mt/16737649/21656 New Topic: https://lists.fd.io/g/vpp-dev/post Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656 Group Home: https://lists.fd.io/g/vpp-dev Contact Group Owner: vpp-dev+ow...@lists.fd.io Terms of Service: https://lists.fd.io/static/tos Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub -=-=-=-=-=-=-=-=-=-=-=-