-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined references when building liblame
#666
Comments
Hi @mmxgn Thanks for reporting. Seems like this is specific to |
Hi, Sure, I will do that. I was unsure whether it was specific to |
There was an issue when building from source in an Anaconda environment under `Arch Linux` where building `liblame` would fail with `undefined reference` errors related to the `ncurses` library (`tgetstr`, `tgetnum`, `tgetent`). This PR allows `liblame` to build under this specific setting.
Yes, we would love hear the fix too. BTW if the installation was working previously, by adding |
Hello, |
Also, copying another workaround here for #666: Apparently the problem is when using the bundled anaconda
In this case, the fix I posted is not needed. I don't know if that is specific to |
Added a simple command what to do when coming across undefined reference errors when trying to build from specific linux+anaconda configurations.
Hi, I am closing this since the workaround worked and |
I am facing the same issue but the workaround(s) don't help. I tried installing ncurses with the provided conda install command as well as the hacky approach: Plus, deleting third_party/* makes it complain that third_party/CMakeLists.txt is absent. |
馃悰 Bug
Hello all,
Thanks for maintaining torchaudio.
When trying to do
python setup.py install
from within anaconda it fails with error code 2 at the stage when buildingliblame
.make.log
inthird_party/tmp/lame-3.99.5
show errors similar to:undefined reference to `tgetnum'
(see below for full list).
To Reproduce
Steps to reproduce the behavior:
cd
to the rootaudio
directorypython setup.py install
Expected behavior
To build liblame succesfully and continue installation from there.
Environment
da59f59
torchaudio.__version__
print? (If applicable)Not applicable
Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).
Additional context
I managed to work around the issue by removing
third_party/*
, addingLIBS=-ltinfo
at line80
of
build_tools/setup_helpers/build_third_party_helper.sh
as such:and run
python setup.py install
again.The text was updated successfully, but these errors were encountered: