attract
attract copied to clipboard
Linux - CURL_OPENSSL_4 not found
Hi,
Fresh install of Linux Mint 19.1, tried Bionic version 2.5 and 2.51 and receive the following error. Installing
attract: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version
CURL_OPENSSL_4' not found (required by attract)
`
Running apt-get install libcurl4 uninstalls Attract and visa versa.
This is one where I could really use the help of someone who knows a bit about ubuntu packaging.
The pre built linux packages are built using pacur: https://github.com/pacur/pacur
The config: https://github.com/mickelson/attract/blob/master/util/linux/pacur/PKGBUILD
When the bionic package is built, it looks like the "libcurl4-openssl-dev" is the package that is being used to compile against. There are a couple of different options for libcurl dev packages, and maybe this isn't the right one to use?
Th
I built attract on Linux Mint 19.1 using the libcurl4-gnutls-dev package as the .deb wanted to uninstall my curl, php and php-curl extension and other packages in order to install. Should be the same for Ubuntu.
I tried to install the provided packages into a fresh 18.04 installation and had the same exact issue.
The problem appears to be a typo in the Debian control file. It lists libcurl3 as a dependency, yet the program actually depends on libcurl4 shared libraries. Since the versions are mutually exclusive, installing the correct version uninstalls libcurl3 and attractmode packages.
Fix the file debian/control, edit line "Depends: " and change "libcurl3" -> "libcurl4", then repackage it.
If you're just a random person looking for the magic commands to make this without installing the whole build environment, you're in luck as here's how you can edit the package contents:
Download the package, in this example we'll use attract_2.5.1-0ubuntu1.bionic_amd64.deb. Put the file in /tmp or other temporary directory, then switch to it.
- dpkg-deb -R attract_2.5.1-0ubuntu1.bionic_amd64.deb contents
- edit contents/DEBIAN/control, locate line that starts with Depends, change "libcurl3" from there to say "libcurl4", then save
- dpkg-deb -b contents fixed.deb
Now you're ready to install fixed.deb with dpkg -i. If you haven't installed the dependencies yet, run "apt -f install" after that.
Hi,
I have the opposite of this issue, for me it says "CURL_OPENSSL_3 not found". Running Buster with libcurl4 on RasPi 3b+. Do I have to install another version of AM? If yes, what is the command? :-)
Thanks for the great work by the way!
Cheers
Remove "/usr/lib/x86_64-linux-gnu/libcurl.so.4" file by using the command: sudo rm /usr/lib/x86_64-linux-gnu/libcurl.so.4
Create softlink again by using the command : sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0 /usr/lib/x86_64-linux-gnu/libcurl.so.4