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 28th January 2024
Bigjohn888jb Bigjohn888jb is offline
New User
 
Join Date: Jan 2024
Posts: 4
Default Openbsd 7.4 and Openvpn

I have done a fresh install of Openbsd 7.4 i386. All working well. I wanted to add openvpn. When I try i get this:
Code:
 pkg_add -n openvpn-2.6.8.tgz
quirks-6.160 signed on 2024-01-26T18:05:09Z
Can't install lz4-1.9.4 because of libraries
|library c.96.2 not found
| /usr/lib/libc.so.97.1 (system): bad major
openvpn-2.6.8:lzo2-2.10p2: ok
Can't install openvpn-2.6.8: can't resolve lz4-1.9.4
Couldn't install lz4-1.9.4 openvpn-2.6.8
It appears that the libraries have been updated, but this cannot find what is needed. Any ideas on how to fix?

thanks,

Last edited by ocicat; 29th January 2024 at 12:21 AM. Reason: Please use [code] & [/code] tags when posting command output.
Reply With Quote
  #2   (View Single Post)  
Old 29th January 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Hello, and welcome.


I will guess you have a $PKG_PATH environment variable pointing to an OpenBSD 7.2 package repository. That won't work, because you've installed 7.4. If you delete your $PKG_PATH, then pkg_add(1) will use your installurl(5) file, which does not contain release-specifics.
Reply With Quote
  #3   (View Single Post)  
Old 29th January 2024
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

@Bigjohn888jp said
Quote:
pkg_add -n openvpn-2.6.8.tgz
net/openvpn had a security update that was backported to release 7.4.

If you use
Code:
pkg_add openvpn
pkg_add should install the latest version in the repository:
Quote:
 opensearch-dashboards-2.10.0p0.tgz 2024-01-26 10:01 249M
 opensmtpd-filter-spamassassin-0.7p1.tgz 2024-01-26 10:01 1.7M
 openvpn-2.6.7.tgz 2024-01-26 10:01 702K
 openvpn-2.6.8.tgz 2024-01-26 10:01 705K
 p5-Spreadsheet-ParseExcel-0.66v0.tgz
Source http://mirrors.sonic.net/pub/OpenBSD...-stable/amd64/
Reply With Quote
  #4   (View Single Post)  
Old 29th January 2024
Bigjohn888jb Bigjohn888jb is offline
New User
 
Join Date: Jan 2024
Posts: 4
Default

That seemed to work.

thank you.
Reply With Quote
  #5   (View Single Post)  
Old 12th February 2024
Bigjohn888jb Bigjohn888jb is offline
New User
 
Join Date: Jan 2024
Posts: 4
Default

Adding to this. The Openvpn creating of keys seems to work. But when I make an ovpn file to connect my Windows computer to the Openvpn i get:
MANAGEMENT: >STATE:1707769228,RECONNECTING,private-key-password-failure

i created with the server and client keys with nopass, so I don't know where this is failing.
Reply With Quote
  #6   (View Single Post)  
Old 14th February 2024
Bigjohn888jb Bigjohn888jb is offline
New User
 
Join Date: Jan 2024
Posts: 4
Default update

I recreated all the keys. my best guess I forgot to do the nopass on one of them. All is working now that I've downloaded a new version of Openvpn Connect.
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
Issue openvpn with openbsd 6.0 svk900 OpenBSD Packages and Ports 1 11th September 2016 04:30 PM
OpenVPN on OpenBSD 5.1 scrummie02 OpenBSD Security 6 1st October 2012 04:46 PM
OpenBSD port of OpenVPN revisited J65nko OpenBSD Packages and Ports 4 11th February 2011 03:53 AM
openvpn on openbsd problem.... michaelk OpenBSD Security 8 9th February 2011 04:49 AM
openvpn-auth-ldap on openbsd 4.7 jespada OpenBSD General 2 26th August 2010 09:05 PM


All times are GMT. The time now is 10:56 PM.


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