安装 fakeXrandr 库时出错 - Raspberry Pi 上的 Ubuntu

安装 fakeXrandr 库时出错 - Raspberry Pi 上的 Ubuntu

我已在我的 Raspberry Pi 4 上成功安装了 ubuntu 映像。我正在尝试进行一些屏幕定制,因此我希望安装这个项目,fakeXrandr:

https://github.com/phillipberndt/fakexrandr

按照他们的安装步骤,安装了一些依赖项后,我收到以下错误,该错误似乎与我的架构(即 RPi)有关:

ubuntu@ubuntu:~/Downloads/fakexrandr-master$ sudo make
./configure
XRandR version is 1.5.2
The path to the real XRandR library is /lib/arm-linux-gnueabihf/libXrandr.so.2

ERROR: Failed to find a suitable directory for the fakeXrandr library

You must place the library into the library search path, in a directory preceeding
/lib/arm-linux-gnueabihf. In your system, this leaves the following candidates:

None of these contains `local', therefore I won't autoconfigure the installation to one
of these directories. Either add a high-priority directory in /usr/local using the ldconfig
mechanism (See /etc/ld.so.conf.d/ on most systems) or manually create config.h.

make: *** [Makefile:7: config.h] Error 1

有什么想法可以让我克服这个问题吗?

(或者,如果由于某种原因这个库无法在我的设置上运行,我真正想做的是设置虚拟监视器,这样我就可以将屏幕切成两半并进行双镜像。所以我很乐意研究任何其他可以帮助我解决这个问题的东西。)

谢谢。

相关内容