LD_LIBRARY_PATH tells the OS where to look for dynamic libraries at run-time. The -L /some/path option tells the compiler where to look for compiling and linking. Check to see that the compiler is getting a '-L /usr/local/lib' argument. Michael A. Moran suresh kolan wrote: Hi, Sorry it was a typo in the LD_LIBRARY_PATH in my mail. I have /usr/local/lib in my LD_LIBRARY_PATH. I reran the "make" again and I am getting same error message. I have looked into the config.log file and it doesnt seems to have problem with finding libpng...Following is the output inthe config.log file configure:18998: checking for libpng-config configure:19016: found /usr/local/bin/libpng-config configure:19029: result: /usr/local/bin/libpng-config configure:19125: checking for freetype-config configure:19156: result: no configure:19164: result: *** freetype-config not found, freetype2 support disabl ed *** .... .... ac_cv_path_LIBPNG_CONFIG=/usr/local/bin/libpng-config ... ... LIBPNG_CONFIG='/usr/local/bin/libpng-config' ... .... PNG_LIBS='-lpng12 -lz -lm' Thanks Kolan --- Wayne Abbott <wabbott@xxxxxxxxxxxxx>[1] wrote: Since your configure command was successful take a look at config.log and search for "png" - maybe something will jump out at you. I took a look at my /usr/local/lib directory and it does seem that libpng is ultimately called libpng12.xxx now - I hadn't noticed that before since I've been using libpng for quite some time. In any case make sure your LD_LIBRARY_PATH is set correctly - you mentioned /usr/local/bin instead of /usr/local/lib. Regards Wayne Thanks for your reply. I am trying to install xine-lib-1-rc0a. According to the instructions from xine.de website, I was successfully able to do "./configure". But when I run the "make" command I am getting this error message. I have /usr/local/bin in the LD_LIBRARY_PATH. The "make" did run for long time..and then it gave me this error msg. I have 5.9 Generic_112233-01 sun4u sparc SUNW. I have gcc 3.2 installed Best Regards Kolan --- Wayne Abbott <wabbott@xxxxxxxxxxxxx>[2] wrote: Not knowing what you've done thus far can you give us more information (i.e. which S9 update, what compiler and version, what required libs have you installed, etc.)? Did your configure command run without errors? If not check config.log to see what happened. In any case the -lpng12 seems funny to me. I would think it should be -lpng which should properly find libpng assuming your LD_LIBRARY_PATH includes where the library is located which is typically /usr/local/lib. Regards Wayne Hi, I am trying to install xine on Sun solaris 9, and I am getting the following error message. Any pointers will be greatlyappreciated. ld: fatal: library -lpng12: not found ld: fatal: File processing errors. No output written to .libs/xineplug_decode_image.so *** Error code 1 make: Fatal error: Command failed for target `xineplug_decode_image.la' Current working directory /opt/xine-lib-1-rc0a/src/libxinevdec *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /opt/xine-lib-1-rc0a/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /opt/xine-lib-1-rc0a ***Error code 1 make: Fatal error: Command failed for target `all' __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com[3] --- Links --- 1 mailto:wabbott@xxxxxxxxxxxxx 2 mailto:wabbott@xxxxxxxxxxxxx 3 http://sitebuilder.yahoo.com