-lgpib

This error message indicates that the linker (/usr/bin/ld) is trying to find the library named libgpib.so, which is necessary to link your program, but it is unable to use the library found at /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libgpib.so because it is not compatible with the architecture of your system.

This error can occur if you are trying to link a 32-bit program with a 64-bit library or vice versa. It can also occur if the library was compiled with a different version of the compiler than the one you are using.

To resolve this issue, you may need to install a compatible version of the library or recompile the library from source using the same version of the compiler that you are using for your program. You may also need to check the architecture of your program and ensure that it matches the architecture of the library you are trying to link with

usrbinld skipping incompatible usrlibgccx86_64-redhat-linux483libgpibso when searching for

原文地址: https://www.cveoy.top/t/topic/ghdi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录