Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

Re: [PHP4BETA] -lbind missing now From: Sascha Schumann (sascha <email protected>)
Date: 12/07/99

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

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>