Problems compiling on Solaris
| From: | Frank Gadegast | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Problems compiling on Solaris | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5223@lists.php.net to get a copy of this message | ||
Hi,
compiling the beta2 without anything special on Solaris, I get
# gcc -g -O2 -g-O2 -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -g -o php -L./libzend
main.o internal_functions.o snprintf.o php3_sprintf.o configuration-parser.o configuration-scanner.o
request_info.o safe_mode.o fopen-wrappers.o php3_realpath.o alloca.o output.o php_ini.o SAPI.o
cgi_main.o rfc1867.o dlist.o -Llibzend -lzend -Lext -lphpext
-L/home/install/done/php-4.0b2/ext/pcre/pcrelib -lpcre -L/home/install/done/php-4.0b2/regex
-L/usr/local/lib -lregex -lgdbm -lpam -ldl -lgd -lm -lsocket -lnsl -lresolv
Undefined first referenced
symbol in file
gdImageGif ext/libphpext.a(gd_gd.o)
gdImageCreateFromGif ext/libphpext.a(gd_gd.o)
ld: fatal: Symbol referencing errors. No output written to php
But there is a /usr/local/lib/libgd.*, wich version of gd is needed ?
Kind regards, Frank
--
Dipl.-Inform. Frank Gadegast mailto:frank@gadegast.de
PHADE Software - PowerWeb http://www.powerweb.de
Leibnizstr. 30, 10625 Berlin, Germany fon/fax: ++ 49 30 3128103
======================================================================
PowerWeb = Deutschlands Pauschal-Webhoster mit freiem
Platz im Netz Speicherplatz UND freiem Uebertragungsvolumen.