[prev in list] [next in list] [prev in thread] [next in thread]
List: php-install
Subject: Re: [PHP-INST] PHP installation on redhat 6.1
From: Rasmus Lerdorf <rasmus () php ! net>
Date: 2000-07-31 20:16:43
[Download RAW message or body]
Try: rm config.cache
and then re-configure and rebuild.
If that doesn't work, use --without-gd
-Rasmus
On Mon, 31 Jul 2000, Laurence Berland wrote:
> I'm trying to install PHP 3.0.16 on a RedHat 6.1 i386 box with the latest
> apache rpms (apache-1.3.12-2.i386.rpm and apache-devel-1.3.12-2.i386.rpm).
> I'm adding MySQL support, and am building from the source tarball. I'm
> trying to build the DSO, so I follow the INSTALL.DSO instructions. The
> command I issue to configure is
> ../configure --with-mysql --with-xml --with-apxs=/usr/sbin/apxs On make I
> get
>
> gcc -shared -o libphp3.so mod_php3.o
> libmodphp3-so.a -L/usr/local/lib -lgd -L/usr/local/lib/mysql -lmysqlclient -
> lgdbm -lpam -lm -ldl -lcrypt -lresolv -Wl,-rpath /usr/local/lib/mysql
> /usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
> gd.o(.text+0x6a0): multiple definition of `gdImageColorResolve'
> libmodphp3-so.a(gd.o):/usr/local/src/php-3.0.16/functions/gd.c:231: first
> defined here
> /usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from 253
> to 226 in gd.o
> collect2: ld returned 1 exit status
> apxs:Break: Command failed with rc=65536
> make: *** [libphp3.so] Error 1
>
> I've obviously left out the earlier compile lines, as they appear to have
> gone just fine. I'm pretty much baffled at this point, the only thing I can
> think of is I should start reading through the PHP source, which I
> unfortunately don't have time for right now. Anyone have any ideas? Output
> of other commands available on request. It occurs to me that gcc -v might
> be useful so:
> [root@host php-3.0.16]# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> and uname -a too
> Linux host 2.2.14 #2 Thu Apr 27 18:08:46 EDT 2000 i686 unknown
> That's all I can think of off hand. Thanks in advance for any help. Please
> CC me as I'm not on this list.
>
> Thanks,
> Laurence Berland
> Flooz.com
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic