Hello,
I am having an issue with importing sdds in python 3.12 where I get the following error.
>>> import sdds
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/sdds.py", line 1, in <module>
import sddsdata, sys, time
ImportError: /usr/lib/python3/dist-packages/sddsdata.so: undefined symbol: rpn
I have checked the RPN environment and it seems correct (~/.defns.rpn). I have tried rebuilding all my SDDS related RPMs (SDDSToolKit-5.6.1-1.x86_64.rpm, SDDSEpicsToolKit-5.6-1.x86_64.rpm, SDDSToolKit-devel-5.6.1-1.x86_64.rpm, SDDSPython3-5.2.1-1.x86_64.rpm), I re-downloaded the defns.rpn file from the site. I am not sure what to try now. (I am using Ubuntu 24.04)
Thank you for any help.
Undefined Symbol: rpn
Re: Undefined Symbol: rpn
I haven't tried building or running on Ubuntu 24.04 yet. I am in the process of downloading the installation file now. In the meantime I just tested this on ubuntu 22.04 and don't see this problem. I will try to get out a working release for Ubuntu 24.04 as soon as I am able.
--Bob
--Bob
Re: Undefined Symbol: rpn
I have posted Ubuntu 24.04 RPMs
You can also build it yourself using the Build-AOP-RPMs.
I had to make a change to a file in SDDS.5.6.1.tar.gz to link the proper libraries for sddsdata.so
--Bob Soliday
You can also build it yourself using the Build-AOP-RPMs.
I had to make a change to a file in SDDS.5.6.1.tar.gz to link the proper libraries for sddsdata.so
--Bob Soliday
Re: Undefined Symbol: rpn
Thank you. I tried the new build and it did not work.
I think the issue may have come from my computer updating from ubuntu 22.04 to 24.04.
I wiped the computer and rebuilt from scratch and that seemed to fix the issue.
I think the issue may have come from my computer updating from ubuntu 22.04 to 24.04.
I wiped the computer and rebuilt from scratch and that seemed to fix the issue.