Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Installing MXNet Perl Bindings - undefined symbol: MXListAllOpNames #21154

Open
ajaff opened this issue Dec 9, 2022 · 1 comment
Open

Installing MXNet Perl Bindings - undefined symbol: MXListAllOpNames #21154

ajaff opened this issue Dec 9, 2022 · 1 comment

Comments

@ajaff
Copy link

ajaff commented Dec 9, 2022

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?

@github-actions
Copy link

github-actions bot commented Dec 9, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant