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

Static configuration / compilation not working? #17

Open
ghost opened this issue Aug 15, 2020 · 1 comment
Open

Static configuration / compilation not working? #17

ghost opened this issue Aug 15, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 15, 2020

Configuring with ./configure --enable-static --enable-static-boost --disable-shared and building on the Pi still seems to result in the following:

$ ldd cc-tool
        linux-vdso.so.1 (0xbef9c000)
        /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0xb6f1a000)
        libusb-1.0.so.0 => /lib/arm-linux-gnueabihf/libusb-1.0.so.0 (0xb6ef5000)
        libboost_filesystem.so.1.67.0 => /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so.1.67.0 (0xb6ece000)
        libboost_regex.so.1.67.0 => /usr/lib/arm-linux-gnueabihf/libboost_regex.so.1.67.0 (0xb6dd7000)
        libboost_system.so.1.67.0 => /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.67.0 (0xb6dc3000)
        libboost_program_options.so.1.67.0 => /usr/lib/arm-linux-gnueabihf/libboost_program_options.so.1.67.0 (0xb6d42000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6bfb000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6b79000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6b4c000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb69fe000)
        libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0xb69ce000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb69a4000)
        /lib/ld-linux-armhf.so.3 (0xb6f2f000)
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb698d000)
        libicudata.so.63 => /usr/lib/arm-linux-gnueabihf/libicudata.so.63 (0xb4f8f000)
        libicui18n.so.63 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.63 (0xb4d41000)
        libicuuc.so.63 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.63 (0xb4bbb000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb4ba8000)

Is a fully static build possible?

@dashesy
Copy link
Owner

dashesy commented Aug 17, 2020

There was recently a PR merged. I think you still need to pass some libraries manually to the configure script. As mentioned in that PR (e.g. LIBS="-latomic").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant