I have been trying to build octave from the mercurial source on my 64-bit Arch Linux. I have installed the dependencies from various sources but when I run make command during build it gives me following output and terminates with error:
/usr/bin/gs: symbol lookup error: /usr/lib/libgs.so.9: undefined symbol: jbig2_ctx_new_imp
I guess it is related to ghostscript since I installed the new version just before the build. My ghostscript version is :
config.status: executing libgui/mk-default-qt-settings.sh commands
MAKEINFO ../doc/interpreter/
octave.info GEN doc/interpreter/voronoi.eps
free(): double free detected in tcache 2
sh: line 1: 115097 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-ggF7Pp.eps 'doc/interpreter/voronoi.eps'
GEN doc/interpreter/triplot.eps
free(): double free detected in tcache 2
sh: line 1: 115268 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-PhEuHX.eps 'doc/interpreter/triplot.eps'
GEN doc/interpreter/griddata.eps
free(): double free detected in tcache 2
sh: line 1: 115439 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-8xKWNx.eps 'doc/interpreter/griddata.eps'
GEN doc/interpreter/convhull.eps
free(): double free detected in tcache 2
sh: line 1: 115610 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-0t4p8k.eps 'doc/interpreter/convhull.eps'
GEN doc/interpreter/delaunay.eps
free(): double free detected in tcache 2
sh: line 1: 115788 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-g6X2Ow.eps 'doc/interpreter/delaunay.eps'
GEN doc/interpreter/inpolygon.eps
free(): double free detected in tcache 2
sh: line 1: 115970 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-ELMEKj.eps 'doc/interpreter/inpolygon.eps'
GEN doc/interpreter/interpft.eps
free(): double free detected in tcache 2
sh: line 1: 116147 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-IyLXng.eps 'doc/interpreter/interpft.eps'
GEN doc/interpreter/interpn.eps
GEN doc/interpreter/interpderiv1.eps
free(): double free detected in tcache 2
sh: line 1: 116474 Aborted (core dumped) /usr/bin/epstool --quiet --copy --bbox /tmp/oct-DNSBbt.eps 'doc/interpreter/interpderiv1.eps'
GEN doc/interpreter/interpderiv2.eps