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

Produce statically linked (within reason) builds on all platforms. #137

Open
jonesmz opened this issue Aug 21, 2021 · 0 comments
Open

Produce statically linked (within reason) builds on all platforms. #137

jonesmz opened this issue Aug 21, 2021 · 0 comments
Labels
building Related to CMake or other build-related stuff enhancement New feature or request

Comments

@jonesmz
Copy link
Member

jonesmz commented Aug 21, 2021

E.g., currently many parts of the linux build are shared libraries, even libs from our own source repository.

jonesmz@ymir ~/build-osp-magnum-Desktop-Debug/bin $ ldd osp-magnum
        linux-vdso.so.1 (0x00007ffe53ba6000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdce092d000)
        libdNewton_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdNewton_d.so (0x00007fdce0901000)
        libdScene_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdScene_d.so (0x00007fdce086b000)
        libdModel_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdModel_d.so (0x00007fdce085e000)
        libdVehicle_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdVehicle_d.so (0x00007fdce081e000)
        libSDL2-2.0d.so.0 => /home/jonesmz/build-osp-magnum-Desktop-Debug/Debug/lib/libSDL2-2.0d.so.0 (0x00007fdce05b7000)
        libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007fdce0583000)
        libOpenGL.so.0 => /usr/lib64/libOpenGL.so.0 (0x00007fdce0557000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fdce0551000)
        libdAnimation_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdAnimation_d.so (0x00007fdce0542000)
        libdCustomJoints_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdCustomJoints_d.so (0x00007fdce04f1000)
        libnewton_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libnewton_d.so (0x00007fdce04b3000)
        libdgPhysics_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdgPhysics_d.so (0x00007fdce02bc000)
        libdContainers_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdContainers_d.so (0x00007fdce02a7000)
        libdMath_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdMath_d.so (0x00007fdce028c000)
        libdgCore_d.so => /home/jonesmz/build-osp-magnum-Desktop-Debug/3rdparty/newton-dynamics/lib/libdgCore_d.so (0x00007fdce01e6000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/libstdc++.so.6 (0x00007fdcdff7e000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fdcdfe3c000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/libgcc_s.so.1 (0x00007fdcdfe22000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fdcdfc65000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdce101b000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fdcdfc14000)
        libunwind.so.8 => /usr/lib64/libunwind.so.8 (0x00007fdcdfbf6000)
        libunwind-x86_64.so.8 => /usr/lib64/libunwind-x86_64.so.8 (0x00007fdcdfbd6000)
        libpulse-simple.so.0 => /usr/lib64/libpulse-simple.so.0 (0x00007fdcdfbcf000)
        libpulse.so.0 => /usr/lib64/libpulse.so.0 (0x00007fdcdfb75000)
        libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007fdcdfabd000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fdcdf962000)
        libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fdcdf8a5000)
        libpulsecommon-13.0.so => /usr/lib64/pulseaudio/libpulsecommon-13.0.so (0x00007fdcdf815000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fdcdf7e8000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fdcdf7de000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fdcdf7aa000)
        libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007fdcdf6b7000)
        libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007fdcdf564000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fdcdf55f000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fdcdf540000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fdcdf535000)
        libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007fdcdf52a000)
        libsndfile.so.1 => /usr/lib64/libsndfile.so.1 (0x00007fdcdf483000)
        libasyncns.so.0 => /usr/lib64/libasyncns.so.0 (0x00007fdcdf47c000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fdcdf477000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fdcdf46f000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007fdcdf446000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fdcdf428000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fdcdf41e000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fdcdf406000)
        libFLAC.so.8 => /usr/lib64/libFLAC.so.8 (0x00007fdcdf3b9000)
        libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007fdcdf37d000)
        libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00007fdcdf2d0000)
        libopus.so.0 => /usr/lib64/libopus.so.0 (0x00007fdcdf249000)
        libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007fdcdf23d000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdcdf223000)
        libmd.so.0 => /usr/lib64/libmd.so.0 (0x00007fdcdf213000)
        libmvec.so.1 => /lib64/libmvec.so.1 (0x00007fdcdf1e7000)
@Capital-Asterisk Capital-Asterisk added enhancement New feature or request building Related to CMake or other build-related stuff labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Related to CMake or other build-related stuff enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants