DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th May 2008
blackyzero blackyzero is offline
New User
 
Join Date: May 2008
Posts: 2
Arrow openbsd4.3 - problem compile php5

Hi,

I am trying to compile php5 work with apache2 (official port package) with IMAP SSL support. After installed, i got following error when execute # php command or start/stop apache2 daemon.

Code:
# apachectl2 stop                                                                                                                  
/usr/local/sbin/httpd2:/usr/lib/libcom_err.so.16.0: /usr/local/lib/libkrb5.so.3.3 : WARNING: symbol(krb5_fcc_ops) size mismatch, relink your program
/usr/local/sbin/httpd2:/usr/lib/libcom_err.so.16.0: /usr/local/lib/libkrb5.so.3.3 : WARNING: symbol(krb5_mcc_ops) size mismatch, relink your program
#
Code:
# php -v
php:/usr/local/lib/libkrb5.so.3.3: /usr/local/lib/libcom_err.so.16.0 : WARNING: symbol(krb5_mcc_ops) size mismatch, relink your program
php:/usr/local/lib/libkrb5.so.3.3: /usr/local/lib/libcom_err.so.16.0 : WARNING: symbol(krb5_fcc_ops) size mismatch, relink your program
PHP 5.2.6 (cli) (built: May 27 2008 02:52:03) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
#
Please help me to fix it in order to non display php error.
Thank you.
Reply With Quote
  #2   (View Single Post)  
Old 27th May 2008
Dazhelpwiz Dazhelpwiz is offline
Port Guard
 
Join Date: May 2008
Location: Townsville, Australia
Posts: 34
Default

tbh, Ive never tried building a webserver via the ports. And a quick look around the net I couldnt find that much either.(not to say it hasnt been done)

I, personally, tend to build and compile apache and php from the src code.

a bit more information on your build might help.

does imap over ssl work itself?

personally those errors look like the symlinks need to be remade..

I could be very well be wrong, wouldnt be the first and definately wouldnt be the last.
Reply With Quote
  #3   (View Single Post)  
Old 27th May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

Have you recently upgraded OpenBSD ?
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #4   (View Single Post)  
Old 27th May 2008
blackyzero blackyzero is offline
New User
 
Join Date: May 2008
Posts: 2
Default

Thanks for your all reply.

Actually, i got problem with krb5-config, it was not been found during i compile PHP5 with openssl and imap(ssl) support. It always show as:

Code:
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dngettext in -lintl... yes
checking for dcngettext in -lintl... yes
checking for bind_textdomain_codeset in -lintl... yes
checking for GNU MP support... no
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... no
checking for libiconv... yes
checking if iconv is glibc's... no
checking if using GNU libiconv... 265yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_CANONICAL... yes
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... no
checking for krb5-config... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.
#
I fix it by install krb5 latest version, and it can pass this error, however i got another error like my first message.
I know the problem comes from krb5-config does not exist on OBSD because after install krb5, i can see krb5-config command.

Does anybody know how to fix compile problem without install any krb5 (kerberos) or heimdal?

Please advice me.
Many thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with latest php5 from ports clevershark FreeBSD Ports and Packages 1 22nd July 2009 07:38 PM
openBSD4.4 + Chrooted apache1.3 + php5 + sessions wolf3d OpenBSD Packages and Ports 1 2nd July 2009 11:07 AM
[openBSD4.5] Not able to boot on Notebook openBSD-Boy OpenBSD General 12 4th May 2009 01:24 PM
Problem with upgrading php5-pcre and php5-mysql KernelPanic FreeBSD Ports and Packages 6 16th June 2008 10:00 PM
Problem installing PHP5 DrKrall OpenBSD Packages and Ports 8 23rd May 2008 12:10 AM


All times are GMT. The time now is 11:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick