[mapserver-users] Problem with libjpeg

Alan Hale alan.hale at btclick.com
Mon Oct 19 10:01:45 EDT 2009


Many thanks Andy

I had already determined (I'm sorry I wasn't clear) that libjpeg.so.7 
was present in /usr/local/lib/ and tried config 
--with-jpeg=/usr/local/lib/ and still got the same error. The .h files 
are in both /usr/include/ and /usr/local/include/

ldconfig is new to me and I get "command not found" on my system (CentOS 
5 by the way).

/etc/ld.so.conf just has one line to include ld.so.conf.d/*.conf and 
when I look in ld.so.conf.d there is only one file: mysql-i386.conf

Due to my inexperience, I'm sure, I remain very confused.

Thanks again

Alan




Andy Colson wrote:
> First you need to find libjpeg.  one way is:
>
> ldconfig -v|grep jpeg
>
> if not there, try a few common places:
>
> ls /usr/lib/libjpeg*
> ls /usr/local/lib/libjpeg*
>
> or if you have locate/slocate then try:
> slocate libjpeg.so.7
>
> Second, if it seemed to compile ok, then it found the .h files (which 
> are probably in /usr/include or /usr/local/include), but when you run 
> it, its looking for libjpeg.so, and specifically, libjpeg.so.7 which 
> is probably a symlink.
>
>
> My guess is the lib is in /usr/local/lib, but you dont have that lib 
> in /etc/ld.so.conf.
> Probably just need to add that path to the file and then run ldconfig 
> once.
>
> -Andy
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 4521 (20091019) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>



__________ Information from ESET Smart Security, version of virus signature database 4522 (20091019) __________

The message was checked by ESET Smart Security.

http://www.eset.com




More information about the mapserver-users mailing list