I finally got it working. Instead of using the Swaret version, I recompiled it from source again, and tried your --with-X options, and it worked. "Travis Conway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Just wondering but did you compile libjpeg with --with-shared --with-static? I believe it is --with*... check the doc to see if it is --enable*.
Anyways, did you compile it to have both shared and static? I also assume you did make install afterwards and made sure it is in /usr/lib/ or /usr/local/lib? Travis On 9/19/05, TJ09 <[EMAIL PROTECTED]> wrote: *Bump?* The think I don't get is that libphp4.la compiles fine with --with-jpeg-dir, but it fails on sapi/cli/php. Why would one succeed while the other fails? ""TJ09"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] .... > It's not required, I believe (./configure --help says it's > "--with-jpeg-dir[=DIR]"), but I have put the directory and gotten the same > result. Also, when I compiled JibJPEG, I compiled it from source. > "Daniel Bird" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> TJ09 wrote: >> >> | K, for starters, I'm trying to compile under Slackware Linux 9.1. >> | >> | Here's my configure line: >> | >> | /configure --with-apxs --with-openssl --with-kerberos --with-zlib >> | --enable-bcmath --with-bz2 --enable-exif --enable-ftp --with-gd >> | --with-jpeg-dir --with-png-dir --with-xpm-dir --with-freetype-dir >> | --enable-gd-native-ttf --with-java --with-mime-magic --with-mysql >> | --with-pspell --with-swf=/usr/local >> | >> | If I try to compile it without '--with-jpeg-dir' it works fine. >> | However, if I try to add jpeg support, make fails with the >> | following error: >> >> >> When you use the --with-<option>-dir option you need to, as far as I >> know, specify the path to the libraries >> >> eg >> >> - --with-jpeg-dir=/usr/lib >> >> Also did you comple lib-jpeg from source or rpm? If rpm make sure you >> have the devel package installed >> >> Dan >> >> | >> | ext/gd/libgd/gd_jpeg.lo(.text+0x24): In function >> | `fatal_jpeg_error': >> | /usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:62: undefined >> | reference to `jpeg_destroy' ext/gd/libgd/gd_jpeg.lo(.text+0x123): >> | In function `gdImageJpegCtx': >> | /usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:118: undefined >> | reference to `jpeg_std_error' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x18a):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:130: >> | undefined reference to `jpeg_CreateCompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x1bb):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:136: >> | undefined reference to `jpeg_set_defaults' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x1d2):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:138: >> | undefined reference to `jpeg_set_quality' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x248):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:152: >> | undefined reference to `jpeg_start_compress' >> | >> ext/gd/libgd/gd_jpeg..lo(.text+0x2d1):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:159: >> | undefined reference to `jpeg_write_marker' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x364):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:176: >> | undefined reference to `jpeg_write_scanlines' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x399):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:210: >> | undefined reference to `jpeg_finish_compress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x3a1):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:211: >> | undefined reference to `jpeg_destroy_compress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x43e):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:203: >> | undefined reference to `jpeg_write_scanlines' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x486):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:143: >> | undefined reference to `jpeg_simple_progression' >> | ext/gd/libgd/gd_jpeg.lo(.text+0x557): In function >> | `gdImageCreateFromJpegCtx': >> | /usr/local/src/php- 4.4.0/ext/gd/libgd/gd_jpeg.c:261: undefined >> | reference to `jpeg_std_error' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x5fc):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:276: >> | undefined reference to `jpeg_CreateDecompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x61b):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:281: >> | undefined reference to `jpeg_save_markers' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x625):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:283: >> | undefined reference to `jpeg_read_header' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x6a3):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:406: >> | undefined reference to `jpeg_destroy_decompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x6cf):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:311: >> | undefined reference to `jpeg_start_decompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x7d2):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:391: >> | undefined reference to `jpeg_finish_decompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x802):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:400: >> | undefined reference to `jpeg_destroy_decompress' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x84d):/usr/local/src/php-4.4.0/ext/gd/libgd/gd_jpeg.c:380: >> | undefined reference to `jpeg_read_scanlines' >> | >> ext/gd/libgd/gd_jpeg.lo(.text+0x907):/usr/local/src/php- >> 4.4.0/ext/gd/libgd/gd_jpeg.c:367: >> | undefined reference to `jpeg_read_scanlines' >> | ext/gd/libgd/gd_jpeg.lo(.text+0xc39): In function >> | `jpeg_gdIOCtx_src': >> | /usr/local/src/php- 4.4.0/ext/gd/libgd/gd_jpeg.c:645: undefined >> | reference to `jpeg_resync_to_restart' collect2: ld returned 1 exit >> | status make: *** [sapi/cli/php] Error 1 >> | >> | Yes, I have libjpeg. I've tried installing it through swaret and >> | compiling it manually. Either way, same error. Is there something >> | I'm overlooking? >> >> >> >> - -- >> ____________________________________ >> >> Daniel Bird >> Network and Systems Manager >> Department Of Information Services >> St. George's, University Of London >> Tooting >> London SW17 0RE >> >> P: +44 20 8725 2897 >> F: +44 20 8725 3583 >> E: [EMAIL PROTECTED] >> ____________________________________ >> >> Computing Services Homepage: >> http://www.sgul.ac.uk/depts/cu >> >> The Computing Services Handbook: >> http://www.sgul.ac.uk/pics/cu/pdfs/handbook2003-4.pdf >> >> The best way to accelerate a Mac is at 9.8 m / sec^2 >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.1 (MingW32) >> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org >> >> iD8DBQFDHuUzPnhz2OZ7I3gRAlEgAJ90jS2/AEHKmqui6x7z2iKAMLbCHACfQLoz >> kRxPvDe+0QD5vz3kOvjJeRk= >> =J56R >> -----END PGP SIGNATURE----- >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean.