![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
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? |
|
|||
![]()
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 |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |