php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2111 Compiling with imap, sybase-ct and apache fails
Submitted: 1999-08-20 00:35 UTC Modified: 2000-02-23 13:35 UTC
From: online at olg dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Linux 2.2.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: online at olg dot com
New email:
PHP Version: OS:

 

 [1999-08-20 00:35 UTC] online at olg dot com
When attempting to compile both IMAP C-Client support and Sybase-Ct into php3 for an apache module, the compile fails with the following: 

gcc  -DLINUX=2 -DUSE_HSREGEX `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a  -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib/mysql  /root/tmp/imap-4.5/lib/c-client.a -lgd -L/usr/lib -lttf -L/usr/lib/mysql -lmysqlclient -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3          -L/root/tmp/sybase/lib -lcs -lct -lcomn -lintl -lsybtcl -linsck -lgd -lpam -lm -ldl -lcrypt -lnsl  -lresolv
 -lm -lcrypt -lgdbm
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/root/tmp/sybase/lib/libsybtcl.a(net_clos.o)(.text+0x0): multiple definition of `net_close'
/root/tmp/imap-4.5/lib/c-client.a(mail.o):/root/tmp/imap-4.5/c-client/mail.c:4600: first defined here
modules/php3/libphp3.a(imap.o): In function `php3_imap_headerinfo':
/root/tmp/php-3.0.12/functions/imap.c:1599: undefined reference to `rfc822_parse_msg_full'   
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/root/tmp/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/tmp/apache_1.3.6'
make: *** [build] Error 2  

Compiling with UW c-client version 4.5 or version 4.6-BETA does not make a difference.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 13:35 UTC] sas at cvs dot php dot net
This is a vendor issue. Unfortunately, we cannot do anything about how vendors choose their function names. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 15 03:00:01 2026 UTC