Linux Compiling


(|NV|S) #1

I have mapped on my *nix box, but never tried to compile a map using it though. any clue why im getting this error during compile?

/usr/local/games/GtkRadiant-1.2/q3map2: error while loading shared libraries: li
bpng.so.2: cannot open shared object file: No such file or directory

where is q3map2 looking for this LIB at? I cant find it anywhere…and I pretty much installed every freaking package I could think of on this distro btw.


(weasel) #2

libpng.so.2 refers to libpng 1.0.x, libpng.so.3 refers to libpng 1.2.x. They’re not compatible with each other, so you need to have both.


(|NV|S) #3

well shuck my corn, installed the old 1.0.x and sure enough there it was. This is a new Distro, so i figured the PNG support libs were there, didnt realise that q3map2 was looking for old ones.