我有两个独立的地方,我从源头安装了ImageMagick。第一个是Linux Mint 18.1,第二个是Ubuntu 16.04。在他们两个上我都从aptitude安装了liblqr-1-0-dev
以便使用lqr委托。我使用以下内容进行配置:
./configure --with-gslib --with-lqr
在Linux Mint上,这很好用,但在Ubuntu上它说它找不到lqr库。我已经尝试了以下方法来确保安装了liblqr:
lqr在ldconfig中找到
xxxxx@vps:~/ImageMagick-7.0.6-0$ ldconfig -p | grep lqr
liblqr-1.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/liblqr-1.so.0
liblqr-1.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/liblqr-1.so
Apt表示安装了lqr
xxxxx@vps:~/ImageMagick-7.0.6-0$ sudo apt install liblqr-1-0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblqr-1-0-dev is already the newest version (0.4.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我还能做些什么来让ImageMagick意识到它已经安装好了?