Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

libjpeg debugging

By: nottrobin on Aug 23rd, 2011  |  syntax: Bash  |  size: 2.42 KB  |  views: 146  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ cat /etc/redhat-release
  2. CentOS release 5.6 (Final)
  3.  
  4. ===
  5. $ './configure'  '--enable-fpm' '--enable-mbstring' '--with-mysql' '--with-mysqli' '--with-gd' '--with-curl' '--with-mcrypt' '--with-zlib' '--with-pear' '--with-gmp' '--with-xsl' '--enable-zip' '--disable-fileinfo' '--with-jpeg-dir=/usr/lib/'
  6. ...
  7. checking for GD support... yes
  8. checking for the location of libjpeg... no
  9. checking for the location of libpng... no
  10. checking for the location of libXpm... no
  11. ...
  12. Thank you for using PHP.
  13.  
  14. ===
  15. $ php -r 'print_r(gd_info());'
  16. Array
  17. (
  18.     [GD Version] => bundled (2.0.34 compatible)
  19.     [FreeType Support] =>
  20.     [T1Lib Support] =>
  21.     [GIF Read Support] => 1
  22.     [GIF Create Support] => 1
  23.     [JPEG Support] =>
  24.     [PNG Support] => 1
  25.     [WBMP Support] => 1
  26.     [XPM Support] =>
  27.     [XBM Support] => 1
  28.     [JIS-mapped Japanese Font Support] =>
  29. )
  30.  
  31. ===
  32. $ locate libjpeg
  33. /usr/lib/libjpeg.so
  34. /usr/lib/libjpeg.so.62
  35. /usr/lib/libjpeg.so.62.0.0
  36. /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjpeg.so
  37. /usr/lib64/libjpeg.so
  38. /usr/lib64/libjpeg.so.62
  39. /usr/lib64/libjpeg.so.62.0.0
  40. /usr/local/lib/libjpeg.a
  41. /usr/local/lib/libjpeg.la
  42. /usr/local/lib/libjpeg.so
  43. /usr/local/lib/libjpeg.so.8
  44. /usr/local/lib/libjpeg.so.8.3.0
  45. /usr/local/src/jpeg-6b/libjpeg.a
  46. /usr/local/src/jpeg-6b/libjpeg.doc
  47. /usr/local/src/jpeg-8c/libjpeg.la
  48. /usr/local/src/jpeg-8c/libjpeg.map
  49. /usr/local/src/jpeg-8c/libjpeg.txt
  50. /usr/local/src/jpeg-8c/.libs/libjpeg.a
  51. /usr/local/src/jpeg-8c/.libs/libjpeg.la
  52. /usr/local/src/jpeg-8c/.libs/libjpeg.lai
  53. /usr/local/src/jpeg-8c/.libs/libjpeg.so
  54. /usr/local/src/jpeg-8c/.libs/libjpeg.so.8
  55. /usr/local/src/jpeg-8c/.libs/libjpeg.so.8.3.0
  56. /usr/share/doc/libjpeg-6b
  57. /usr/share/doc/libjpeg-devel-6b
  58. /usr/share/doc/libjpeg-6b/README
  59. /usr/share/doc/libjpeg-6b/usage.doc
  60. /usr/share/doc/libjpeg-devel-6b/coderules.doc
  61. /usr/share/doc/libjpeg-devel-6b/example.c
  62. /usr/share/doc/libjpeg-devel-6b/libjpeg.doc
  63. /usr/share/doc/libjpeg-devel-6b/structure.doc
  64. /usr/share/doc/libjpeg-devel-6b/wizard.doc
  65.  
  66. ===
  67. $ ls -l /usr/lib/libjpeg.so*
  68. lrwxrwxrwx 1 root wheel     22 Aug 23 21:34 /usr/lib/libjpeg.so -> /usr/lib/libjpeg.so.62
  69. lrwxrwxrwx 1 root root      17 Dec 14  2010 /usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
  70. -rwxr-xr-x 1 root root  134268 Jan  6  2007 /usr/lib/libjpeg.so.62.0.0
  71.  
  72. ===
  73. $ echo $LIBPATH
  74. /usr/lib
  75.  
  76. ===
  77. $ rpm -qa | grep -e libjpeg
  78. libjpeg-devel-6b-37
  79. libjpeg-6b-37
  80. libjpeg-6b-37
  81. ===