hmm have you installed the png library ? .. just a quick guess
I'm trying to compile qiv, but the compiled binary won't run at all.
For those that don't know, qiv is the Quick Image Viewer, and blackbox's "bsetbg" is essentially just a wrapper for it, written in bash.
Anyway, I'm not sure what I have to have installed beforehand, but this is the error i'm getting:
Anybody know what needs to be installed for qiv to work properly?Code:$qiv 1337.png /convert: No such file or directory gdk_imlib ERROR: Cannot load image: 1337.png All fallbacks failed
hmm have you installed the png library ? .. just a quick guess
Yes I have, that was one of the first things I compiled.
The author of QIV is suggesting that I install imagemagick or something... he didn't seem very helpful... gah.
Ok, I've got this sorted:
First, I had to copy the png libs from /usr/local/lib to /usr/lib, and then because I was having the same problems with jpegs, I had to compile the jpeg libs like this:
the '--enable-shared' bit makes libjpeg install the actual libraries needed to run qiv. Without it, you just get a couple of binaries that have some nondescript use... Then once the actual libraries are installed, qiv works like a charmCode:./compile --prefix=/usr --enable-shared make make install
u could've just added /usr/local/lib to ur /etc/ld.so.conf file, ran ldconfig as root and it would've found the libsFirst, I had to copy the png libs from /usr/local/lib to /usr/lib
everytime u install libraries u HAVE to make sure that the path to the libraries is in /etc/ld.so.conf. and if u have to add a path to it u have to run ldconfig as root before it'll be updated.
Bookmarks