-
Notifications
You must be signed in to change notification settings - Fork 5
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol: ... #5
Comments
Hmm, hard to say exactly what happened here. Might there have been two different ucto version installed or ucto was upgraded after the Python extension was installed? Or compiled against a different Python version than your anaconda one? If you want to dive into this, you can use A solution to get things working quickly may be to simply use LaMachine, which installs both |
You are right, there must've been some dependency issue. I've removed now everything related to ucto (ticcutils, libfolia, ucto). But installing ucto from the apt packages and trying to compile the extensions now results in a compilation failure not finding libfolia/folia.h:
However, libfolia did get installed as a dep of ucto:
|
You'll need (Also be aware that these debian packages are a bit older than the latest releases and there is currently an open issue (proycon/python-frog#6) regarding a missing |
Alright, thanks for the info: I've installed
I guess from your comment on the debian packages being older I gather that this issue is probably related to python-ucto relying on a newer version of ucto.. |
That does seem likely yes, you could roll-back to an older python-ucto but that's not really recommended. I've been trying to get the debian packages updated for a while already but it takes quite some time and our primary effort goes into LaMachine. |
I will try to compile the deps from scratch. I remember trying it not so long ago and having an issue with libtool version mismatches. I think it was ticcutils, so perhaps it makes sense to open an issue over there. |
Though it's a bit of a hassle, that should always work yeah (it's what LaMachine does too under the hood). Just make sure all debian packages are purged otherwise there may be duplicates lingering which will surely mess things up. |
Alright, I managed to compile the extension after compiling deps from scratch. |
Hi there,
I have a clean ucto installation from
sudo apt install ucto
.When I compile the python extension, however, I can't import it since it fails with:
Not sure what might be going bad, since ucto works perfectly fine and the extension manages to compile without errors.
Any ideas?
The text was updated successfully, but these errors were encountered: