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 22nd February 2015
Valus Valus is offline
Port Guard
 
Join Date: Feb 2015
Location: EU
Posts: 22
Default Openbsd 5.7 Can't install php-5.6.5

Hi,

I would like to use new opnedsb http with php on openbsd 5.7, but I am not able to install package php-5.6.5. (New httpd on 5.6 is not working correctly with index.php)
Thanks for help.

Valus
Code:
# dmesg | head -10
OpenBSD 5.7-beta (GENERIC) #713: Tue Jan 13 02:58:05 MST 2015
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520081408 (495MB)
avail mem = 502456320 (479MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x1ffffec0 (10 entries)
bios0: vendor Seabios version "0.5.1" date 01/01/2007
bios0: Red Hat KVM
Code:
# pkg_add -v php-5.6.5.tgz 
Update candidates: quirks-2.53 -> quirks-2.53
quirks-2.53 signed on 2015-02-21T12:18:44Z
Can't install php-5.6.5 because of libraries
|library crypto.31.0 not found
| /usr/lib/libcrypto.so.30.3 (system): bad major
|library ssl.31.0 not found
| /usr/lib/libssl.so.30.0 (system): bad major
Direct dependencies for php-5.6.5 resolve to gettext-0.19.4 libxml-2.9.2p0 femail-chroot-1.0p0
Full dependency tree is femail-chroot-1.0p0 gettext-0.19.4 libxml-2.9.2p0 libiconv-1.14p1 xz-5.2.0 femail-1.0p0
# pkg_info
femail-1.0p0        simple SMTP client
femail-chroot-1.0p0 simple SMTP client for chrooted web servers
gettext-0.19.4      GNU gettext
libiconv-1.14p1     character set conversion library
libxml-2.9.2p0      XML parsing library
quirks-2.53         exceptions to pkg_add rules
xz-5.2.0            LZMA compression and decompression tools

Last edited by ocicat; 22nd February 2015 at 06:24 PM. Reason: Please use [code] & [/code] tags when posting command-line output.
Reply With Quote
  #2   (View Single Post)  
Old 22nd February 2015
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Your snapshot is older than the packages you're trying to install. In between those points in time, libcrypto and libssl had major bumps. You need to start over from a newer snapshot which will have the correct libraries.
Reply With Quote
  #3   (View Single Post)  
Old 22nd February 2015
Valus Valus is offline
Port Guard
 
Join Date: Feb 2015
Location: EU
Posts: 22
Default

Thanks I will try it again with the latest install57.iso.
Reply With Quote
  #4   (View Single Post)  
Old 22nd February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Hello, and welcome.

You can re-install, or upgrade.
Reply With Quote
  #5   (View Single Post)  
Old 23rd February 2015
Valus Valus is offline
Port Guard
 
Join Date: Feb 2015
Location: EU
Posts: 22
Default

Thanks, for an advice. I did upgrade and installed php without problem.
Code:
# dmesg | head -10
OpenBSD 5.7-beta (GENERIC) #805: Sun Feb 22 03:09:53 MST 2015
    todd@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 520081408 (495MB)
avail mem = 502415360 (479MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x1ffffec0 (10 entries)
bios0: vendor Seabios version "0.5.1" date 01/01/2007
bios0: Red Hat KVM
Code:
# pkg_add -v php-5.6.5.tgz
quirks-2.53 signed on 2015-02-21T12:18:44Z
quirks-2.53: ok
php-5.6.5:femail-1.0p0: ok
php-5.6.5:femail-chroot-1.0p0: ok
php-5.6.5:xz-5.2.0: ok
php-5.6.5:libiconv-1.14p1: ok
php-5.6.5:libxml-2.9.2p0: ok
php-5.6.5:gettext-0.19.4: ok
php-5.6.5: ok
Look in /usr/local/share/doc/pkg-readmes for extra documentation.
--- +php-5.6.5 -------------------
To enable the php-5.6 module please create a symbolic link from
/var/www/conf/modules.sample/php-5.6.conf to
/var/www/conf/modules/php.conf. As root:
Code:
# pkg_info
femail-1.0p0        simple SMTP client
femail-chroot-1.0p0 simple SMTP client for chrooted web servers
gettext-0.19.4      GNU gettext
libiconv-1.14p1     character set conversion library
libxml-2.9.2p0      XML parsing library
php-5.6.5           server-side HTML-embedded scripting language
quirks-2.53         exceptions to pkg_add rules
screen-4.0.3p4      multi-screen window manager
xz-5.2.0            LZMA compression and decompression tools

Last edited by ocicat; 23rd February 2015 at 04:40 PM. Reason: Again, please use [code] & [/code] tags when posting command-line output.
Reply With Quote
Reply


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
How to install kde in openbsd v5.6? Crypto333 OpenBSD Packages and Ports 6 30th December 2014 04:53 PM
I need like to install DenyHosts on OpenBSD 4.9! CyberJet OpenBSD Packages and Ports 5 23rd June 2011 09:49 PM
Install OpenBSD 3.6 zabidin2 OpenBSD Installation and Upgrading 4 22nd September 2010 10:09 AM
How - To install GNOME vile I install OpenBSD ? looop OpenBSD Installation and Upgrading 6 24th April 2010 08:58 PM
install ssh openbsd darken OpenBSD Packages and Ports 22 26th September 2008 02:58 AM


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