Re: Configure png doesn't work with ImageMagick.... (libtool?)
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Configure png doesn't work with ImageMagick.... (libtool?) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4468@lists.php.net to get a copy of this message | ||
> 1st of all thanx for the configure stuff!!!
>
> but i got a slight problem with -lpng (on solaris)....
>
> config.log says:
> configure:5489: checking for png_info_init in -lpng
> configure:5508: gcc -o conftest -g -O2 -I/usr/openwin/include/X11
> -L/usr/openwin/lib conftest.c -lpng -lpam -lm -ldl -lsoc
> ket -lnsl -lresolv 1>&5
> Undefined first referenced
> symbol in file
> crc32
> /dot/utility/local/solaris/lib/libpng.a(png.o)
>
>
> cause -lpng requires -lz in the link line as well....
>
> i had a quick look.... but i do not want to mess around with stuff i
> don't understand....
>
> (we do another check in configure for -lz somewhere else....)
>
> maybe you can have a look into that later....
>
> BTW: why can't we include libtool in the distribution, that would make
> this far easier???
Not really. PHP4 will be libtool/automake based. You can't really just
toss libtool in there like that.
I'll have a look at the png stuff.
There are other problems on Solaris actually. The stupid ImageMagick
package has a header file called memory.h. I'd really like to discuss a
few issues with whatever brilliant coder decided to name it that.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net