TX2安装PCL出现libGL.so: undefined reference to 'xxxx'

在TX2 上刷机后安装PCL时出现
aarch64-linux-gnnu/libGL.so :undefined reference to `drmCloseOnce`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmCloseOnce`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmMap`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmUnmap`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmFreeDevice`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmOpenOnce`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmGetDevice2`

aarch64-linux-gnnu/libGL.so :undefined reference to `drmFreeDevices`

解决方案:

$cd /usr/lib/aarch64-linux-gnu

$sudo rm libGL.so

$sudo ln -s /usr/lib/aarch-linux-gnu/tegra/libGL.so libGL.so

 

你可能感兴趣的:(TX2)