autotrace / autotrace

bitmap to vector graphics converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release dependencies

mrx23dot opened this issue · comments

Trying current release on debian:

autotrace: error while loading shared libraries: libMagickCore-6.Q16.so.2: cannot open shared object file: No such file or directory

even though I have magick installed.

ldd ./autotrace
        linux-vdso.so.1 (0x00007ffe913db000)
        libautotrace.so.3 => /lib/libautotrace.so.3 (0x0000741510400000)
        libMagickCore-6.Q16.so.6 => /lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6 (0x0000741510000000)

please specify dependencies

sudo dpkg -i autotrace_0.40.0-20200219_all.deb
Selecting previously unselected package autotrace.
(Reading database ... 74587 files and directories currently installed.)
Preparing to unpack autotrace_0.40.0-20200219_all.deb ...
Unpacking autotrace (0.40.0-20200219) ...
dpkg: dependency problems prevent configuration of autotrace:
 autotrace depends on libpstoedit0c2a; however:
  Package libpstoedit0c2a is not installed.
 autotrace depends on libtiff5; however:
  Package libtiff5 is not installed.

dpkg: error processing package autotrace (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 autotrace

I guess you need to rebuild it with a proper library.

It tries to use:
libMagickCore-6.Q16.so.2
when I have this installed:
libMagickCore-6.Q16.so.6
not sure if it's the same version

Our https://github.com/autotrace/autotrace/releases/download/travis-20200219.65/autotrace_0.40.0-20200219_all.deb
no longer works. Not even with old ubuntu 20.04 with recent online updates.
We need to release a rebuild.

Workaround attempted:

  • sudo ln -s libMagickCore-6.Q16.so.6.0.0 /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2
  • this silences the libmagic error message, but now I get error while loading shared libraries: libpng12.so.0

https://app.travis-ci.com/github/autotrace/autotrace tells me:
We are unable to start your build at this time. You exceeded the number of users allowed for your plan. Please review your plan details and follow the steps to resolution.

This probably means, that we don't get any automated builds any more. :-(

I guess, we should find something more reliable than travis.

@jnweiger for me it looks like it's time to switch to GitHib Actions completely.

I had to do another fresh install to Debian, this is the only procedure that worked for me.

# !into proj folder
sudo apt update && sudo apt remove autotrace autotrace imagemagick libtiff-dev libtiff-tools libtiff5-dev libtiff-dev libtiff-*
sudo apt --fix-broken install
sudo apt install -y libgraphicsmagick1-dev libpng-dev libexiv2-dev libtiff5-dev libjpeg-dev libxml2-dev libbz2-dev libfreetype6-dev libpstoedit-dev autoconf automake libtool intltool autopoint libtool intltool libpng-dev libexif-dev libtiff5-dev libjpeg-dev libxml2-dev libbz2-dev libpstoedit-dev libmagickcore-dev libfreetype6-dev
git clone --depth 1 https://github.com/autotrace/autotrace.git autotrace_git
cd autotrace_git
chmod +x autogen.sh
./autogen.sh
./configure
make
make check
./autotrace
# sudo make install  didn't work
# copying to sys wide doesn't work, looks for .lib folder, have to use locally
# even symlink fails sudo ln -s autotrace /usr/bin/autotrace
# have to reference it with full path 
autotrace_git/autotrace

It seems autotrace cannot be built with the latest pstoedit library, at version 4.0.0. This is the errors I'm seeing: reviczky/pstoedit#2

Downgrading to 3.78 resolves the issue.

@Apteryks I've added test for building with pstoedit 4.00, see PR #127. We have a fixed pstoedit in Fedora - see build logs. I advise you to ask your Distribution' maintainer(s) of pstoedit to grab the patches from our repository and apply them.

@mrx23dot I think that's fixed by 8d7c808

@Apteryks I've added test for building with pstoedit 4.00, see PR #127. We have a fixed pstoedit in Fedora - see build logs. I advise you to ask your Distribution' maintainer(s) of pstoedit to grab the patches from our repository and apply them.

Thanks; have these patches been forwarded to upstream?

@Apteryks I've added test for building with pstoedit 4.00, see PR #127. We have a fixed pstoedit in Fedora - see build logs. I advise you to ask your Distribution' maintainer(s) of pstoedit to grab the patches from our repository and apply them.

Thanks; have these patches been forwarded to upstream?

Yes sure.

pstoedit 4.01 includes those fixes.

Have been using autotrace_0.40.0-20200219_all.deb from the latest travis build for a while now on Ubuntu 20.04. As mentioned above, it broke now after updating to 22.04.

Anyone succeeded in creating a new deb package for Ubuntu 22.04, so far?

P.S. FWIW, the mac version from the same travis build still runs fine on the latest macOS release (14.4.1).

EDIT: Nevermind, managed to build it on a fresh Ubuntu 22.04 VM. Here's the package: autotrace_0.40.0-20240404_all.deb.zip