Re: [PHP4BETA] -lbind missing now

From: Date: Tue, 07 Dec 1999 16:26:43 +0000
Subject: Re: [PHP4BETA] -lbind missing now
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-7626@lists.php.net to get a copy of this message
On Tue, Dec 07, 1999 at 11:23:03AM -0600, Andrei Zmievski wrote: > On Tue, 07 Dec 1999, Sascha Schumann wrote: > > On Tue, Dec 07, 1999 at 09:39:51AM -0600, Andrei Zmievski wrote: > > > gcc -g -Wall -O2 -o php stub.o .libs/libphp4.a -L/usr/ucblib > > > -L/projects/compile/gd1.3 -L/usr/local/etc/mysql/lib/mysql -lpam -lexpat > > > -lmysqlclient -lgd -lresolv -lresolv -lm -lcrypt -lsocket -lnsl -lsocket > > > -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/ucblib -Wl,--rpath > > > -Wl,/projects/compile/gd1.3 -Wl,--rpath > > > -Wl,/usr/local/etc/mysql/lib/mysql -Wl,--rpath -Wl,/usr/ucblib > > > -Wl,--rpath -Wl,/projects/compile/gd1.3 -Wl,--rpath > > > -Wl,/usr/local/etc/mysql/lib/mysql > > > .libs/libphp4.a(dns.o): In function `php3_checkdnsrr': > > > /export/projects/zend-php/php4/ext/standard/dns.c:203: undefined > > > reference to `__res_search' > > > .libs/libphp4.a(dns.o): In function `php3_getmxrr': > > > /export/projects/zend-php/php4/ext/standard/dns.c:272: undefined > > > reference to `__res_search' > > > /export/projects/zend-php/php4/ext/standard/dns.c:299: undefined > > > reference to `__dn_expand' > > > .libs/libphp4.a(fsock.o): In function `lookup_hostname': > > > /export/projects/zend-php/php4/ext/standard/fsock.c:135: undefined > > > reference to `__inet_aton' > > > > > > On Solaris this is broken now. > > > > libbind does not exist on Solaris at all. Are you using a > > custom installation of Bind? > > Hmm, libbind.a here is in /usr/local/lib. Why did make fail then? Did it -I/usr/local/include? Maybe you have custom Bind headers there which reference __res_search (which is Bind 8-specific AFAIK). -- Regards, Sascha Schumann Consultant

« previous php.version4 (#7626) next »