Page 1 of 1

Files missing from SDDSToolkit-devel RPM package?

Posted: 08 Jul 2024, 16:01
by dturner
Hello,

I have a C++ program that uses the SDDS API to read and write SDDS files.
If I try to link with the library provided with the RPM package for RHEL9 (SDDSToolKit-devel-5.6-1.x86_64),
I get linker errors like 'undefined reference to rpn_***'. If I link with SDDSlib built from source,
it works fine. It seems there are library files that get built with the source distribution,
but they are not included with the RPM.

The RPM puts the following into /usr/lib64/SDDS:
demo liblzma.a libmdbcommon.a libmdblib.a libmdbmth.a libSDDS1.a

Whereas the build from source provides quite a few more files:
libcsa.a libmatlib.a libmdbmth.a libnamelist.a libSDDS1.a
libfftpack.a libmdbcommon.a libmdbplt.a libnnetwork.a libSDDS1c.a
libgsl.a libmdblib.a libmeschach.a librpnlib.a libSDDSmpi.a

Is there a fix? Our sysadmins much prefer to use the RPM packages rather than
building from source.

We presently have these RPM packages installed:
SDDSToolkit-devel-5.6-1.x86_64
SDDSToolKit-5.6-1.x86_64
SDDSEpicsToolKit-5.6-1.x86_64

For what it's worth, the Debian 12 RPM is also missing those files.

Thanks!
Dennis

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 08 Jul 2024, 17:33
by soliday
Yes, I can add the missing libraries to that RPM. I will add it to the Debian 12 release by tomorrow and probably wait for the next version release to update all the others.

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 11 Jul 2024, 12:48
by dturner
Perfect, thank you!

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 11 Jul 2024, 15:18
by soliday
My timeline on this is going to take a bit longer than I had hoped. I will post here when it is done.

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 16 Jul 2024, 10:15
by soliday
My access rights to edit APS web pages has temporarily been removed. So until I can get this fixed you will have to download it from here.

https://ops.aps.anl.gov/downloads/SDDST ... x86_64.rpm

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 23 Jul 2024, 07:31
by dturner
Thank you! I was able to get it working on Debian. Could you please post the RHEL9 RPM? Thanks!

Re: Files missing from SDDSToolkit-devel RPM package?

Posted: 23 Jul 2024, 11:54
by soliday
I have a new RHEL 9 version up now.

https://ops.aps.anl.gov/downloads/SDDST ... x86_64.rpm