-
Notifications
You must be signed in to change notification settings - Fork 31
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
MQTT Linux library dependencies should be recompiled with -fPIC #306
Comments
Right, can do. Any deadlines? |
No, would be good to have it in the next release, but there is no milestone planned, yet. If it is done earlier I would create an intermediate bug fix release, so that it has a chance to be shipped with the next Dymola release. |
This applies to libcrypto.a and libssl.a. Also to libpaho-mqtt3cs.a? |
That one should be fine.
|
libpaho-mqtt3cs.a is built with -fPiC already. |
I wonder if this requires to build openssl libs as shared libs. |
@bernhard-thiele In the spirit of TDD can you please add a unit test, where we compile a shared library (instead of an executable). |
Yes, will do. |
The goal is to ensure that the shipped MQTT libraries can be used for building shared libraries which might be needed for building FMUs, see modelica-3rdparty#306.
The goal is to ensure that the shipped MQTT libraries can be used for building shared libraries which might be needed for building FMUs, see #306.
This is an issue reported to me which popped up when trying to translate an FMU using Dymola:
So to work with FMI, the libraries (only listed a few above) under Resources/Library/linux64 need to be compiled with the -fPIC flag.
The text was updated successfully, but these errors were encountered: