I previously installed Efax-gtk v3.2.13 and v3.2.14 on a hardware machine on Debian Buster (10) for use with my U S Robotics 5637 USB modem.
If you don't want to build from source, the Efax-gtk version in the Debian respository (v3.2.8) did work for me, once I figured out how to filter/capture my US Robotics 5637 USB modem for the Linux virtual machine, which is set up in Settings in VirtualBox.
This effort to build the latest version from source in a virtual machine is mostly about wanting it to have the latest and greatest version of Efax-gtk.
I followed these steps:
Install pkg-config, libtiff5-dev, gtk+-3.0, libglib2.0 using apt-get or Synaptic etc from Debian repository.
Download source folder of c++-gtk-utils-2.2.19 from Sourceforge: configure, make, sudo make install (package on SourceForge)
Download and install source file/folder for efax-gtk (install instructions in README)
[not sure this step necessary]sudo adduser boldstripe dialout(where 'boldstripe' is the username)
login to Gnome GUI with XORG (Efax-gtk v3.2.13) or Wayland (Efax-gtk 3.2.14)
run sudo ldconfig
launch Efax-gtk
In Settings, set Serial Device: ttyACM0 (from dmesg output)
delete all of string of modem parameters except initial letter 'Z' (needed for my modem to fax)
I'm trying to repeat the 3.2.14 install on a virtual machine hosted by VirtualBox on MacOS.
My virtual machine is MX Linux 19 which is based on Debian Buster, like the hardware machine I used successfully.
[edit: the next problem following has now been fixed by adding 'sudo ldconfig' to instructions above; you can safely ignore the rest of this post]
Launching Efax-gtk from the command line fails with this error:
Possibly you have not run ldconfig. Possibly /usr/local/lib is not specified in /etc/ld.so.conf. Possibly it is looking in /usr/local/lib64, or possibly the /usr/local prefix is not catered for at all. To change to /usr/local/lib64, look at the --libdir configuration option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you. That worked (or something did). I ran 'sudo ldconfig'. On its own, not very informative, but the -v option produced a lot of output. I never found out how to do a --libdir option (and it was not in 'ldconfig --help'. Anyway, not needed.
I went through the whole ./configure, make, 'sudo make install' process on the Efax-gtk source folder again without error, and the app launches and works as expected.
Glad to have this new version in 2020 and to have an option for MacOS! I need a virtual Linux machine anyway on my Mac for some opensource apps that don't exist or work well on MacOS, so adding Efax-gtk is a relatively small increment of effort. Perhaps someone can package it for Linux Homebrew for MacOS, but that is beyond me. Thanks for your work on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can confirm that I definitely had to add 'sudo ldconfig' after 'make install' of efax-gtk, because I ran into the same problem just now installing the app on a second pure Debian Buster virtual machine. I have edited/added this step to my instructions in the first post.
Last edit: boldstripe 2020-03-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I previously installed Efax-gtk v3.2.13 and v3.2.14 on a hardware machine on Debian Buster (10) for use with my U S Robotics 5637 USB modem.
If you don't want to build from source, the Efax-gtk version in the Debian respository (v3.2.8) did work for me, once I figured out how to filter/capture my US Robotics 5637 USB modem for the Linux virtual machine, which is set up in Settings in VirtualBox.
This effort to build the latest version from source in a virtual machine is mostly about wanting it to have the latest and greatest version of Efax-gtk.
I followed these steps:
sudo adduser boldstripe dialout
(where 'boldstripe' is the username)sudo ldconfig
I'm trying to repeat the 3.2.14 install on a virtual machine hosted by VirtualBox on MacOS.
My virtual machine is MX Linux 19 which is based on Debian Buster, like the hardware machine I used successfully.
[edit: the next problem following has now been fixed by adding 'sudo ldconfig' to instructions above; you can safely ignore the rest of this post]
Launching Efax-gtk from the command line fails with this error:
These libraries (or their aliases) appear to be in /usr/local/lib
MX Linux uses sysvinit instead of systemd, in case that could make a difference.
Last edit: boldstripe 2020-04-27
Possibly you have not run ldconfig. Possibly /usr/local/lib is not specified in /etc/ld.so.conf. Possibly it is looking in /usr/local/lib64, or possibly the /usr/local prefix is not catered for at all. To change to /usr/local/lib64, look at the --libdir configuration option.
Thank you. That worked (or something did). I ran 'sudo ldconfig'. On its own, not very informative, but the -v option produced a lot of output. I never found out how to do a --libdir option (and it was not in 'ldconfig --help'. Anyway, not needed.
I went through the whole ./configure, make, 'sudo make install' process on the Efax-gtk source folder again without error, and the app launches and works as expected.
Glad to have this new version in 2020 and to have an option for MacOS! I need a virtual Linux machine anyway on my Mac for some opensource apps that don't exist or work well on MacOS, so adding Efax-gtk is a relatively small increment of effort. Perhaps someone can package it for Linux Homebrew for MacOS, but that is beyond me. Thanks for your work on this.
I can confirm that I definitely had to add 'sudo ldconfig' after 'make install' of efax-gtk, because I ran into the same problem just now installing the app on a second pure Debian Buster virtual machine. I have edited/added this step to my instructions in the first post.
Last edit: boldstripe 2020-03-08