libXm and libXpm problem.

Hi, I'm having some problems with libXm, it just doesn't exist's....I've installed the xpm(hopping it could solve the problem), but it didn't. And I get constant errors like this one:

And worse, I'm trying to install afterstep, and I need xpm right? But even after installing the xpm libs, here's the problem:

Help???

****EDIT****

I forgot to say I'm using Solaris 8 on a ULTRA-5 machine.

have you already set the env. variable: LD_LIBRARY_PATH
search for the lib and enter the path to that variable....

greetings pressy

Well...the libXm.so.2 is solved(with an weird link of /lib/libXm.so to /lib/libXm.so.2), however I've done a "find / -name "libXpm.*" ", and here's the output:

Ok, so it just does not exist the libXpm.so.*.....what now?

Thanks.

You can just create a soft link to that. From libXm.so.2 to libXm.so in the same directory. This will solve your problem. If you look at all of your other lib they are all links back to the same one.
Good Luck