|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Problem installing apache-httpd-2.4.23 on OpenBSD 6.0-current
Hi Folks,
I am having a problem installing apache-httpd-2.4.23 in OpenBSD 6.0-current I grabbed a copy of the 6.0 install iso and put it on an old machine. I'm trying to setup a server to run apache/php/mysql for a project at work. I tried to install apache via pkg_add -v apache-httpd. The output is: Code:
Update candidates: quirks-2.241 -> quirks-2.241 quirks-2.241 signed on 2016-07-29T15:39:09Z Can't install libiconv-1.14p3 because of libraries |library c.88.0 not found | /usr/lib/libc.so.89.2 (system): bad major Can't install apr-1.5.2 because of libraries |library pthread.22.0 not found | /usr/lib/libpthread.so.23.0 (system): bad major Can't install db-4.6.21p3v0 because of libraries |library m.9.0 not found Can't install apr-util-1.5.4p1: can't resolve libiconv-1.14p3,db-4.6.21p3v0,apr-1.5.2 | /usr/lib/libm.so.10.0 (system): bad major Can't install xz-5.2.2p0 because of libraries Can't install libxml-2.9.3: can't resolve libiconv-1.14p3,xz-5.2.2p0 Can't install pcre-8.38p0 because of libraries Can't install apache-httpd-2.4.23: can't resolve xz-5.2.2p0,libxml-2.9.3,apr-util-1.5.4p1,pcre-8.38p0 I'm looking for advice from the pros on how to proceed. Should I build my own apache server? Should I upgrade/downgrade the dependent packages? Thanks in advance, Brian Last edited by ocicat; 28th September 2016 at 05:07 PM. Reason: Please use [code] & [/code] tags when posting command output. |
|
|||
I would guess you installed a snapshot but didn't point the PKG_PATH or /etc/pkg.conf to snapshots and it's looking at -release.
Tim. |
|
||||
Hello and welcome!
It appears to me you have a -current system but are using a -release package path, which is an incorrect provisioning. There are snapshot packages built from time to time for the convenience of -current users. Package paths are set either by the $PKG_PATH environment variable or by the installpath variable in your pkg.conf(5) file. --- Please note, -current is the development branch and is a constantly moving target. The snapshot packages mentioned above are built on different systems than the snapshots themselves, by different teams, at a different cadence, and there is no guarantee they will be in sync. -current users who deploy snapshot packages should expect to manually build some packages from time to time, or wait until needed packages are in sync. You might be a new OpenBSD user. If so, starting with -release is recommended. If you are planning to put the server into production, you can then deploy -stable or apply errata patches as you prefer. http://www.openbsd.org/faq/faq5.html#Flavors Last edited by jggimi; 26th September 2016 at 08:25 PM. Reason: typo |
|
|||
Thanks for the replies. I'll burn a release iso and reinstall and give it another go.
Brian |
|
|||
Reinstalling from the release ISO solved the issue. Thanks.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apache to Httpd | frcc | OpenBSD General | 2 | 7th September 2015 05:49 PM |
error while installing apache | Nk2Network | OpenBSD Packages and Ports | 4 | 13th April 2009 08:45 PM |
httpd problem or something else | c0mrade | Other BSD and UNIX/UNIX-like | 6 | 15th January 2009 09:19 PM |
Apache : httpd could not be started | lalebarde | General software and network | 13 | 13th November 2008 11:51 PM |
Problem with php and apache on OpenBSD | co_bofh | OpenBSD General | 10 | 27th July 2008 10:13 PM |