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 26th September 2016
lobueb lobueb is offline
New User
 
Join Date: Sep 2016
Posts: 3
Default 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
from what I can tell the package wants an older version of libc, libpthread, and libm.

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.
Reply With Quote
  #2   (View Single Post)  
Old 26th September 2016
TronDD TronDD is offline
Shell Scout
 
Join Date: Sep 2014
Posts: 121
Default

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.
Reply With Quote
  #3   (View Single Post)  
Old 26th September 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,561
Default

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
Reply With Quote
  #4   (View Single Post)  
Old 26th September 2016
lobueb lobueb is offline
New User
 
Join Date: Sep 2016
Posts: 3
Default

Thanks for the replies. I'll burn a release iso and reinstall and give it another go.

Brian
Reply With Quote
  #5   (View Single Post)  
Old 28th September 2016
lobueb lobueb is offline
New User
 
Join Date: Sep 2016
Posts: 3
Default

Reinstalling from the release ISO solved the issue. Thanks.
Reply With Quote
  #6   (View Single Post)  
Old 28th September 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,561
Default

Glad to learn the issue is resolved.
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
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


All times are GMT. The time now is 07:04 AM.


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