Fwd: Fwd: [GD-DEVEL] installing gd
[email protected] (Colin Wood) Mon, 12 Apr 2010 09:51:40 -0700
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
Solution: edit: /usr/X11/lib/libpng12.la Edit lines 10 and 11 to include a dylib file found in your /usr/X11/lib/ directory: # Names of this library. library_names='libpng12.0.dylib libpng12.dylib libpng12.0.0.0.dylib' can be changed to: library_names='libpng12.0.dylib libpng12.dylib libpng12.0.26.0.dylib' for example. It may be a good idea add more than one, though I'm not sure. This allowed GD to compile and install, however.... PHP is now broken. It's just showing the code of each PHP file rather than processing it. Anyone know how to fix this? ---------- Forwarded message ---------- From: Evan Kaufman <[email protected]> Date: Mon, Apr 12, 2010 at 6:32 AM Subject: Re: Fwd: [GD-DEVEL] installing gd To: Colin Wood <[email protected]> I don't know what the problem is, then. At this point, you may want to just try installing GD with a package manager like MacPorts or Fink. Downside of that is, it'll probably install to an uncommon directory (like /sw/) so you may have add to your PATH afterward. Hope this helps On Apr 12, 2010 3:55 AM, "Colin Wood" <[email protected]> wrote: Ok, back to square one. I reinstalled libpng and I'm 99% sure I did it right. I attempted to install GD again and still I end up with this error: /usr/X11/lib/libpng12.0.0.0.dylib: No such file or directory I checked my /usr/X11/lib/ directory and there are several libpngXX.X.X.X.dylib files where the X's are numbers. But the error is correct in stating that I don't have 12.0.0.0. I have libpng12.0.26.0.dylib, for example. Any information you guys have might help me figure this out. I'm trying to educate myself but it's slow going. ---------- Forwarded message ---------- From: Colin Wood <[email protected]> Date: Sun, Apr 11, 20...