Boost logo

Boost Users :

From: Deniz Bahadir (deniz.bahadir_at_[hidden])
Date: 2021-02-24 09:39:10


Am 23.02.21 um 19:12 schrieb Joaquin M López Muñoz via Boost-users:
> El 23/02/2021 a las 10:59, Andreas Buykx via Boost-users escribió:
>
> ...
> Umm.. Do you have any *global* static variable of type
> nesting_flyweight? If so, you
> may be running into the sort of static data initialization issues
> described at:
>
> https://www.boost.org/ibs/flyweight/doc/tutorial/technical.html#static_init

That link is not working. But I guess you meant:
https://www.boost.org/doc/libs/1_75_0/libs/flyweight/doc/tutorial/technical.html#static_init

>
> ...
>>
>> /opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld:
>> Test/appz/ppf/unittests/model/results/CMakeFiles/unittest_PpfModelResultUnitTest.dir/PpfResultCaseUnitTest.cpp.o:
>> undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5'
>>
>> //lib64/librt.so.1: error adding symbols: DSO missing from command line
>>
>>
>
> I'm no Linux expert, does this article help?
>
> https://stackoverflow.com/questions/9923495/undefined-reference-shm-open-already-add-lrt-flag-here

It did help me when I had that same problem two weeks ago.

Deniz


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net