apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

Home Page:https://mxnet.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing MXNet Perl Bindings - undefined symbol: MXListAllOpNames

ajaff opened this issue · comments

I have followed the installation guide for installing MXNet as well as the perl bindings however I am running into the below error.
I was able to verify my MXNet installation by installing and using the python bindings so I'm fairly confident it is not an issue with the base MXNet library.

Guide:
https://mxnet.apache.org/versions/1.5.0/install/ubuntu_setup.html#install-the-mxnet-package-for-perl

Cpan
cpanm PDL Term::ReadKey Function::Parameters Hash::Ordered PDL::CCS Mouse::Util::TypeConstraints GraphViz

Make
`
MXNET_HOME=/mxnet \

&& export PERL5LIB=/root/perl5/perlbrew/perls/perl-5.22.0/ \
&& cd ${MXNET_HOME}/perl-package/AI-MXNetCAPI/ \
&& perl Makefile.PL INSTALL_BASE=/root/perl5/perlbrew/perls/perl-5.22.0/ \
&& make install \
&& cd ${MXNET_HOME}/perl-package/AI-NNVMCAPI/ \
&& perl Makefile.PL INSTALL_BASE=/root/perl5/perlbrew/perls/perl-5.22.0/ \
&& make install \
&& cd ${MXNET_HOME}/perl-package/AI-MXNet/ \
&& perl Makefile.PL INSTALL_BASE=/root/perl5/perlbrew/perls/perl-5.22.0/ \
&& make install

`

Error:
perl: symbol lookup error: /root/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux/auto/AI/MXNetCAPI/MXNetCAPI.so: undefined symbol: MXListAllOpNames
I have tried installing the binding with Perl 5.30, 5.22, and 5.18 now but am seeing this error always.

Has anyone else run into this, or have any hints on how to debug?

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.