Bug #2111: Compiling with imap, sybase-ct and apache fails

From: Date: Fri, 20 Aug 1999 04:35:23 +0000
Subject: Bug #2111: Compiling with imap, sybase-ct and apache fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-10022@lists.php.net to get a copy of this message
From: online@olg.com Operating system: Linux 2.2.10 PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: Compiling with imap, sybase-ct and apache fails 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.

« previous php.dev (#10022) next »