#31182 [Bgs]: compile fails when using mysql 4.1.x and imap c-client 2004a

2004-12-20 Thread sdolgy-php at squigly dot net
 ID:   31182
 User updated by:  sdolgy-php at squigly dot net
 Reported By:  sdolgy-php at squigly dot net
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: Linux 2.4.21-9.ELsmp
 PHP Version:  5.0.3
 New Comment:

http://bugs.mysql.com/bug.php?id=7428


Previous Comments:


[2004-12-18 23:46:14] [EMAIL PROTECTED]

This is not a bug in PHP. The mysql library and/or imap library need to
name-space protect their symbols. Please file a bug with them.



[2004-12-18 18:02:10] ctbeers at syr dot edu

This problem exists with 4.3.10 and mysql 4.1.[7|8] and UW imapd 2004
or 2004a.  I am compiling it on Solaris 8, but really need this fixed
in order to compile the latest php code.

Chris



[2004-12-18 17:30:03] sdolgy-php at squigly dot net

Will compile fine if I omit either mysql or imap arguments from
./configure 

regards.



[2004-12-18 17:27:14] sdolgy-php at squigly dot net

Description:

When compiling php 5.0.2 or php 5.0.3 with mysql 4.1.8 or 4.1.7 and
imap c-client 2004a libraries, consistently php fails to work.  This
was not a problem with mysql 4.0 branch.  So, might not be something
which can be avoided in php compile.  configure works fine.  make is
where it fails.  only when it tries linking everything together. 
afaik.

Reproduce code:
---
'./configure' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--localstatedir=/var' \
'--enable-gd-native-ttf' \
'--with-openssl=/usr/local/ssl' \
'--with-mysql' \
'--with-imap=/usr/local/imap-2004a' \
'--with-imap-ssl' \
'--with-java=/usr/java/jdk' \
'--with-kerberos' \
'--with-xml' \
'--with-xpm' \
'--with-bz2' \
'--with-jpeg-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
'--with-tiff-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-gettext' \
'--enable-fastcgi' \
'--disable-path-info-check' \
'--disable-ipv6' \
'--with-curl' \
'--with-exif' \
'--with-iconv' \
'--with-ldap' \
'--with-mbstring' \
'--with-mcrypt' \
'--with-mhash' \
$@


Expected result:

/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In
function `hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined
here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


Actual result:
--
/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In
function `hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined
here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=31182edit=1


#31182 [NEW]: compile fails when using mysql 4.1.x and imap c-client 2004a

2004-12-18 Thread sdolgy-php at squigly dot net
From: sdolgy-php at squigly dot net
Operating system: Linux 2.4.21-9.ELsmp
PHP version:  5.0.3
PHP Bug Type: Compile Failure
Bug description:  compile fails when using mysql 4.1.x and imap c-client 2004a

Description:

When compiling php 5.0.2 or php 5.0.3 with mysql 4.1.8 or 4.1.7 and imap
c-client 2004a libraries, consistently php fails to work.  This was not a
problem with mysql 4.0 branch.  So, might not be something which can be
avoided in php compile.  configure works fine.  make is where it fails. 
only when it tries linking everything together.  afaik.

Reproduce code:
---
'./configure' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--localstatedir=/var' \
'--enable-gd-native-ttf' \
'--with-openssl=/usr/local/ssl' \
'--with-mysql' \
'--with-imap=/usr/local/imap-2004a' \
'--with-imap-ssl' \
'--with-java=/usr/java/jdk' \
'--with-kerberos' \
'--with-xml' \
'--with-xpm' \
'--with-bz2' \
'--with-jpeg-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
'--with-tiff-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-gettext' \
'--enable-fastcgi' \
'--disable-path-info-check' \
'--disable-ipv6' \
'--with-curl' \
'--with-exif' \
'--with-iconv' \
'--with-ldap' \
'--with-mbstring' \
'--with-mcrypt' \
'--with-mhash' \
$@


Expected result:

/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In function
`hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


Actual result:
--
/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In function
`hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


-- 
Edit bug report at http://bugs.php.net/?id=31182edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31182r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31182r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31182r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=31182r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=31182r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=31182r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=31182r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=31182r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31182r=support
Expected behavior:   http://bugs.php.net/fix.php?id=31182r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=31182r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=31182r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=31182r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31182r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=31182r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=31182r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31182r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31182r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=31182r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31182r=mysqlcfg


#31182 [Opn]: compile fails when using mysql 4.1.x and imap c-client 2004a

2004-12-18 Thread sdolgy-php at squigly dot net
 ID:   31182
 User updated by:  sdolgy-php at squigly dot net
 Reported By:  sdolgy-php at squigly dot net
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux 2.4.21-9.ELsmp
 PHP Version:  5.0.3
 New Comment:

Will compile fine if I omit either mysql or imap arguments from
./configure 

regards.


Previous Comments:


[2004-12-18 17:27:14] sdolgy-php at squigly dot net

Description:

When compiling php 5.0.2 or php 5.0.3 with mysql 4.1.8 or 4.1.7 and
imap c-client 2004a libraries, consistently php fails to work.  This
was not a problem with mysql 4.0 branch.  So, might not be something
which can be avoided in php compile.  configure works fine.  make is
where it fails.  only when it tries linking everything together. 
afaik.

Reproduce code:
---
'./configure' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--localstatedir=/var' \
'--enable-gd-native-ttf' \
'--with-openssl=/usr/local/ssl' \
'--with-mysql' \
'--with-imap=/usr/local/imap-2004a' \
'--with-imap-ssl' \
'--with-java=/usr/java/jdk' \
'--with-kerberos' \
'--with-xml' \
'--with-xpm' \
'--with-bz2' \
'--with-jpeg-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
'--with-tiff-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-gettext' \
'--enable-fastcgi' \
'--disable-path-info-check' \
'--disable-ipv6' \
'--with-curl' \
'--with-exif' \
'--with-iconv' \
'--with-ldap' \
'--with-mbstring' \
'--with-mcrypt' \
'--with-mhash' \
$@


Expected result:

/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In
function `hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined
here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


Actual result:
--
/usr/local/imap-2004a/lib/libc-client.a(misc.o)(.text+0x8a4): In
function `hash_reset':
/build/imap-2004a/c-client/misc.c:278: multiple definition of
`hash_reset'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x130): first defined
here
/usr/bin/ld: Warning: size of symbol `hash_reset' changed from 94 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 89 in
/usr/lib/mysql/libmysqlclient.a(hash.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=31182edit=1