我尝试将LD_LIBRARY_PATH设置为someObject.o所在的位置,当我使用非sudo命令运行python脚本时,这是可行的,但是当我使用sudo时,会遇到链接错误。>>>ldd someSharedObject.sosomeObject.o => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f53c96b8000
Please consult the NVIDIA driver README and your Linux distribution's documentation for details on howinstalled the kernel source files for your kernel and that they are properly configured; on Red Hat LinuxYou may find suggestions on fixing installation problems in the README