-
Notifications
You must be signed in to change notification settings - Fork 10
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
Installation process #2
Comments
What goes wrong? Typical installation on my computer:
|
Hi Goeb, here's the problem.
Here's my system (uname -a) Thanks in advance for any help. |
It looks like your librt does not have the mq_open symbol. I do not know why... In my Linux distribution (Debian), it is documented that the mq functions are in librt ("Link with -lrt"). What does "man mq_open" tell you? You can also look at the lib directly:
If you miss the librt.so, then you need to install it (apt install libc6-dev). |
It all checks out but still got the same error. I will investigate further. |
This is an issue with the Edit: It seems newer toolchains no longer resolve symbols when the library precedes the referencing object file. This has always been the case for static libraries, as far as I'm aware, but now seems to also be the case for shared libs. So the issue is that by using |
The `_LDFLAGS` family of variables is not appropriate for specifying libraries to link against, since libraries are (potentially) order-dependent. That is, symbols referenced by an object file will only be resolved by libraries that are specified *after* the object file. This has always been the case for static libraries, but it seems newer toolchains also enforce order for shared libraries; at least with GCC 9.2.1 and GNU ld 2.33.1, this lead the build failing at the linker stage, as described in issue goeb#2. Fixes: goeb#2.
Hi there, Thanks for the lib.
Could you , please, provide instruction for installing your lib.
I have tried with autoreconf --install, etc, but with no luck.
Thanks in advance.
The text was updated successfully, but these errors were encountered: