[PHP-DEV] PHP 4.0 Bug #6218 Updated: Make fails when adding YAZ support From: Bug Database (php-dev <email protected>)
Date: 09/15/00

ID: 6218
Updated by: dickmeiss
Reported By: mgrphp3 <email protected>
Status: Feedback
Bug Type: YAZ related
Assigned To:
Comments:

To remove the conflict we've renamed function log_file
to yaz_log_file in YAZ version 1.7. If the "problem"
goes away by upgrading from version 1.6 to 1.7 we can
close this one.

Previous Comments:
---------------------------------------------------------------------------

[2000-08-17 11:51:20] mgrphp3 <email protected>
Followed the instructions in the php manual for installing
yaz-1.6 from source. Then, installing php,

Configure line was:

./configure --disable-inline --disable-debug
--with-apxs=/usr/sbin/apxs --with-msql=/usr/local/Hughes
--with-pgsql=/usr/include/pgsql --enable-ftp --with-zlib
--with-xml --with-mysql --with-mcrypt=/usr/local/lib
--with-mhash=/usr/local/lib --with-mcal=/usr/src/libmcal
--with-imap=/usr/include/imap --with-swf=/usr/local/lib
--with-interbase=/usr/interbase --with-ldap=/usr
--enable-wddx --enable-sysvsem --enable-sysvshm
--with-jpeg-dir=/usr/src/jpeg-6b
--with-xpm-dir=/usr/X11R6/ --with-t1lib=/usr/local
--with-gd=/usr/local --enable-bcmath
--with-pfpro=/usr/local --with-curl=/usr/local
--with-pspell=/usr/local --with-tiff-dir=/usr/lib
--with-pdflib=/usr/local --with-yaz=/usr/bin

and shows:
checking for YAZ support... yes
...
creating ext/yaz/Makefile
...

Executing 'make' ends with:

/usr/bin/ld: .libs/libphp4.so: undefined versioned symbol
 name log_file@ <email protected>
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/src/phpdev'
make: *** [all-recursive] Error 1

Removing the yaz flag, php compiles and installs
without any problems.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=6218

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