Webb28 apr. 2011 · After that I make the project “nbody” again, But it appears “/usr/bin/ld: skipping incompatible /usr/lib/libglut.so when searching for -lglut /usr/bin/ld:cannot find -lglut” Then I input #ls /usr/lib64 grep glut it displays “libglut.so.3 libglut.so.3.8.0” I input#ln -s /usr/lib64/libglut.so.3 /usr/lib64/libglut.so Then it will be OK!! :rolleyes: Webb12 juni 2024 · 问题原因: so库编译时使用的操作位数与当前操作系统位数不一致。 原因确认: 查看当前系统位数:shell下输入命令: getconf LONG_BIT,输出结果表示当前操作系统位数。 查看编译so文件时系统位数:在shell中进入so文件所在目录,输入命令:readelf -h xxx.so 从输出结果Class一栏中可以看到ELF32,该库文件是在32位系统环境下编译的。 …
c++ - Error:
Webb5 okt. 2024 · /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when searching for -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.a when searching for -lcrypt /usr/bin/ld: cannot find -lcrypt /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libcrypt.so when searching for -lcrypt collect2: error: … WebbConnect and share knowledge within a single location that is structured and easy to search. Learn more about Teams Cross-compilation issues with GCC/G++ city of tampa number
How to deal with linker error - error - "cannot find -lgcc"
Webb13 mars 2024 · 1 This may have to do with 32 vs. 64 bit compiler and library. You may need to install the 32 bit versions of the libraries. – ojblass Mar 14, 2024 at 14:21 I tried to install the following 32bit version: "i686-8.1.0-release-posix-sjlj-rt_v6-rev0", also changing the … Webb9 aug. 2024 · Nvlink warning : Skipping incompatible MatColgrove June 13, 2024, 4:24pm 2 I’ve not seen this myself either, but my best guess is that there’s some compatible with these GNU 12.1 static libraries. Probably not too surprising given 12.1 just came out about a month ago. Are you trying to link statically (via “-Bstatic” or “-static”)? Webb16 juni 2024 · Getting error (skipping incompatible) while trying to build OpenGl project, despite library (glew32.a) seems to be fine. I have an issue with building my OpenGL … do the 12inch zinus mattresses hold up well