Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPENDENCY] libwxgtk3 and Debian testing #1046

Open
vercingetorx opened this issue Mar 31, 2023 · 17 comments
Open

[DEPENDENCY] libwxgtk3 and Debian testing #1046

vercingetorx opened this issue Mar 31, 2023 · 17 comments
Labels

Comments

@vercingetorx
Copy link

Currently Veracrypt is not installable on Debian testing as the dependency libwxgtk3.0-gtk3-0v5 is not installable. They have a higher version libwxgtk3.2-1 but that wouldn't fulfill that dependency, correct? If not, would installing the generic Veracrypt work on Debian testing?

@bugtracker2019
Copy link

Currently Veracrypt is not installable on Debian testing as the dependency libwxgtk3.0-gtk3-0v5 is not installable.
You don't need aforementioned version of libwxgtk3.
I'm running VeraCrypt 1.25.9 on Arch with the latest version of wxwidgets-gtk3 (3.2.2.1-1).

@vercingetorx
Copy link
Author

vercingetorx commented Apr 1, 2023

Well maybe Debian package manager is more strict than Arch's; I don't know. I tried installing the most recent libwxgtk3 and Veracrypt still wont install because the version is different. I tried extracting the .deb files, changing the dependency to the higher version which is present on Debian testing and recompiling the .deb. While it installs, Veracypt wont run as it comlains about a missing .so file (probably because the version number for the file it is looking for is different than the one in the newer package).

@giovEra
Copy link

giovEra commented Apr 11, 2023

If you are using Debian 12 (bookworm), you have to compile VeraCrypt yourself.

cd /tmp
mkdir vc
cd vc/
# install dependencies
sudo apt insatll tar wget libwxgtk3.2-dev libfuse-dev yasm g++ make pkg-config
# download VeraCrypt source
wget https://launchpad.net/veracrypt/trunk/1.25.9/+download/VeraCrypt_1.25.9_Source.tar.bz2
tar xvf VeraCrypt_1.25.9_Source.tar.bz2
cd src
# download wxwidget-3.2 size warnings patch
wget https://raw.githubusercontent.com/archlinux/svntogit-community/packages/veracrypt/trunk/wx-3.2-size-warnings.patch
# apply patch
patch -p1 < wx-3.2-size-warnings.patch
# build
make
# install
sudo make install
# clean
cd
rm -rf /tmp/vc/

@vercingetorx
Copy link
Author

Thanks. I'm currently looking into wrapping Veracrypt as a Flatpak to just sidestep all these issues.

@koutheir
Copy link

This issue is now happening on Debian stable (version 12).

@idrassi idrassi reopened this Jun 16, 2023
@idrassi
Copy link
Member

idrassi commented Jun 16, 2023

This was fixed by the commit 0fdf2ed
Beta packages for 1.26.2 were published for Ubuntu at https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20Nightly%20Builds/Linux/
I will add packages for Debian

@idrassi
Copy link
Member

idrassi commented Jun 17, 2023

I pushed an extra commit to fix .deb compatibility with Debian 12: 031748a

And I have published Debian 12 packages in Nightly Builds folder: https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20Nightly%20Builds/Linux/

Don't hesitate to reopen the issue in case you still have issues.

@idrassi idrassi closed this as completed Jun 17, 2023
@idrassi idrassi added the Fixed label Jun 17, 2023
@theofficialgman
Copy link

@idrassi I'd appreciate this staying open until a stable cut is made

CC: Botspot/pi-apps#2401

@idrassi idrassi reopened this Jul 29, 2023
@idrassi
Copy link
Member

idrassi commented Jul 29, 2023

@theofficialgman I will leave it open until official 1.26 is released

@theofficialgman
Copy link

theofficialgman commented Oct 11, 2023

@idrassi hi, 1.26.7 released but the fix is not included in any of the prebuilt debs as it seems (at least on arm64 and armhf which are the architectures I am interested in).

Also have you actually checked that the build functions on these systems with libwxgtk3.2-1?

@idrassi
Copy link
Member

idrassi commented Oct 11, 2023

@theofficialgman The fix is correctly present in 1.26.7 release for Linux distributions that actually ship with libwxgtk3.2-1, which are Debian 12 and Ubuntu 23.04.

For ARM based builds, Debian12 and Ubuntu 23.04 packages are not available since we don't have their respective images for Raspberry Pi. As you can see in the download page, we only provide Debian 10, Debian 11, Ubuntu 20.04 and Ubuntu 22.04.

Which Linux distribution are you using?

@idrassi
Copy link
Member

idrassi commented Oct 11, 2023

@theofficialgman: if you have access to Debian 12 or newer, did you try building VeraCrypt from source? you should be able to create correct package since CMakeLists.txt correctly adds libwxgtk3.2-1 as a dependency:

		if (   ( ( PLATFORM STREQUAL "Debian" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "12" ) ) 
			OR ( ( PLATFORM STREQUAL "Ubuntu" ) AND ( PLATFORM_VERSION VERSION_GREATER_EQUAL "23.04" ) ) )
			
			set( CPACK_DEBIAN_PACKAGE_DEPENDS 		"libwxgtk3.2-1, libayatana-appindicator3-1, libfuse2, dmsetup, sudo, libpcsclite1, pcscd" )			

@theofficialgman
Copy link

theofficialgman commented Oct 11, 2023

For ARM based builds, Debian12 and Ubuntu 23.04 packages are not available since we don't have their respective images for Raspberry Pi.

debootstrap can be used to create a debian/Ubuntu image/chroot for any distro and architecture.

Regardless, PiOS bookworm armhf and arm64 released today https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os . I had access to a prerelease version before now but that no longer matters.

@theofficialgman
Copy link

theofficialgman commented Oct 20, 2023

@idrassi I have tested the packages Debian 12+/Ubuntu 23.04+ and they do work.
Could you please package for Debian 12 armhf and arm64, 23.10 for arm64 would also be nice since that is released now?

theofficialgman added a commit to Botspot/pi-apps that referenced this issue Oct 20, 2023
manually package for bookworm due to upstream multi-week delay veracrypt/VeraCrypt#1046 (comment)

hopefully upstream is able to package by the next stable cut

also switch to github releases instead of curseforge
@OlegZv
Copy link

OlegZv commented Jan 13, 2024

Running Linux Mint 21.1, x86_64, amd64.
When trying to install veracrypt-1.26.7-Debian-12-amd64.deb I get Error: Dependency is not satisfiable: libwxgtk3.2-1.
But using the generic installer veracrypt-1.26.7-setup.tar.bz2, everything worked smoothly. (I used ./veracrypt-1.26.7-setup-gtk3-gui-x64)
UPD: it allowed me to install, but when I got to the encryption step, I got: error while loading shared libraries: libwx_gtk3u_core-3.2.so.0

@VVJaca
Copy link

VVJaca commented Mar 5, 2024

When running Mint 21.3 x86_64 amd64,
Upon attemping to install Veracrypt 1.26.7 version for Debian 12, I also get the error "Error: Dependency is not satisfiable: libwxgtk3.2-1".
I have tried running the Ubuntu .deb file. Anyone have a fix?

@markatgh
Copy link

markatgh commented May 13, 2024

@OlegZv @VVJaca
(I'm a newb with all this, so hopefully I've done the addressing properly, etc. and am looking to improve.)
I may have found a potential work around with LM 21.3 that works so far and will be doing further usage/testing.
#1340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants