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: _ZTIN4llvm11ObjectCacheE #244
Comments
did you mean |
I still have the stuff in my terminal, I actually wrote sp.Symbols. But in the next line past me tried
There was no typo, at least it works right now with the old version. |
I have noticed that even with the older version, my python interactive shell can't import anything from symengine. However it works if I write a script and execute it.
and my output is:
So I switched back to the latest version and tested running the same script:
Thats the same I got with pycharm so I guess I can rule out my IDE. The error looks like there is something wrong with Edit: my llvm version is 1:4.0-1ubuntu1~16.04.2 and I'm using python 2.7 |
You could try to set CMAKE_PREFIX_PATH to include LLVM (especially if you have multiple versions of LLVM on your machine), e.g.:
look carefully for what LLVM include path gets used. (and then maybe also the symengine dir when building symengine.py):
|
Can you do |
which is correct. This is also the only llvm dev version I have installed, should I try 6.0?
and
which also looks fine to me.
no libsymengine it seems. Edit:
This |
I've uninstalled llvm4.0-dev, installed 6.0 and rebuild everything. The problem persists, but now the python shell also complains about this stuff:
All the stuff I wrote in my previous post still looks the same except that llvm4.0 is replaced with 6.0 Edit: I've checked on a second computer where symengine was never installed. Same problem. |
You need to compile symengine with |
That fixed it. Thanks a lot! |
I've upgraded to the newest version (
d9bc4a57da57181dff329e5fac2a4e7a384f0ee8
) from sources and now symengine.py seems to be broken. I've tried deleted both symengine and symengine.py and tried the following to reinstall symengine.py but it didn't change anything. I didn't see any errors during the installation.If I now try to simply create a symbol the following happens.
And if I try the same in pycharm's console it tells me:
I don't remember my previous symengine.py version. I only remembered that the symengine hash started with
fff
so I checked out52ee6b8b14891fe42d82fb10cb705e37d70b1a4a
on symengine.py and did the same stuff as above to install symengine.py and now it works again.Any ideas?
The text was updated successfully, but these errors were encountered: