Skip to content
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

iceoryx libs should be build as static libs #509

Closed
dkroenke opened this issue Jan 19, 2021 · 0 comments · Fixed by #510
Closed

iceoryx libs should be build as static libs #509

dkroenke opened this issue Jan 19, 2021 · 0 comments · Fixed by #510
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dkroenke
Copy link
Member

Required information

Operating system:
Ubuntu 18.04 LTS

Compiler version:
GCC 7.5.0

Observed result or behaviour:
When building the iceroyx lib and install them into build/install/prefix the application cannot find the .so files because LD_LIBRARY_PATH does not point to the custom location.
iox-roudi then throws the error:

bin/iox-roudi: error while loading shared libraries: libiceoryx_posh_config.so: cannot open shared object file: No such file or directory

output from ldd:

ldd bin/iox-roudi 
        linux-vdso.so.1 (0x00007fff1cf1d000)
        libiceoryx_posh_config.so => not found
        libiceoryx_posh_roudi.so => not found
        libiceoryx_posh.so => not found
        libiceoryx_utils.so => not found
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb77124c000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb77122f000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb77103d000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb770eee000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb771474000)

Expected result or behaviour:
For better usability the default build should be a static lib to avoid setting the LD_LIBRARY_PATH manually.
The steps for using iceoryx as shared lib should be documented.

Conditions where it occurred / Performed steps:
Build iceoryx with build script and execute:

./build/install/prefix/bin/iox-roudi
@dkroenke dkroenke added the bug Something isn't working label Jan 19, 2021
@dkroenke dkroenke added this to the Prio 1 milestone Jan 19, 2021
@dkroenke dkroenke self-assigned this Jan 19, 2021
dkroenke added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
dkroenke added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
dkroenke added a commit to ApexAI/iceoryx that referenced this issue Jan 19, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
dkroenke added a commit that referenced this issue Jan 20, 2021
nihalchari pushed a commit to nihalchari/iceoryx that referenced this issue Feb 17, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
nihalchari pushed a commit to nihalchari/iceoryx that referenced this issue Feb 17, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
nihalchari pushed a commit to nihalchari/iceoryx that referenced this issue Feb 17, 2021
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant