DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th June 2009
edvinus edvinus is offline
New User
 
Join Date: Jun 2009
Posts: 3
Default apache2.2+PHP5

Hello,

I have OpenBSD 4.5 and I have got a problem trying to install apache2.2 and php5 from packages, later from ports. I in both ways I get the same error:

# apachectl2 start
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_block_alarms'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_unblock_alarms'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_user_id'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_group_id'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_user_name'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'top_module'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_table_get'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_table_setn'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_kill_timeout'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_uudecode'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_pstrdup'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_psprintf'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_table_add'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_register_cleanup'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_signal'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_send_http_header'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_pstrndup'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_block_alarms'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_child_terminate'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_table_set'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_hard_timeout'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_reset_timeout'
/usr/local/sbin/httpd2:/usr/local/lib/php/libphp5.so: undefined symbol 'ap_unblock_alarms'
httpd2: Syntax error on line 474 of /etc/apache2/httpd2.conf: Cannot load /usr/local/lib/php/libphp5.so into server: Cannot load specified object

Also I tried to change Makefiles of PHP5 core ant extensions in ports by changing in configure parameters path to the apxs2, also didnt worked.

does anybody know how to deal with it?
Reply With Quote
  #2   (View Single Post)  
Old 29th June 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by edvinus View Post
...in both ways I get the same error...
The first thing you should do is ensure that you have matched the version of the operating system installed with the packages/ports tree used. For OpenBSD 4.5-release, you should be getting packages from /pub/OpenBSD/4.5/packages/i386 on the mirrors. If you are compiling ports, you should double check that you downloaded the corresponding 4.5-release ports tree as described in Section 15.3.2:

http://openbsd.org/faq/faq15.html#PortsFetch

The problems you describe are commonly a symptom of mismatching packages/ports to the operating system version installed. More information describing this can be found in Section 15.4.1:

http://openbsd.org/faq/faq15.html#NoFun
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
fbsd 7.2 and php5 baraboom FreeBSD Ports and Packages 2 9th July 2009 08:33 PM
PHP5 inst. from Ports jaymax FreeBSD Ports and Packages 1 23rd June 2008 01:52 AM
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
Apache2 and Iconv disi NetBSD Installation and Upgrading 1 13th May 2008 09:07 PM


All times are GMT. The time now is 05:50 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