Tesseract.Error in `shapeclustering': double free or corruption (out) - tesseract

What is the error may be? Tesseract 3.04.01
shapeclustering -F font_properties -U unicharset fontfile.box.tr
Reading fontfile.box.tr ...
*** Error in `shapeclustering': double free or corruption (out): 0x000000000251d1e0 ***
Aborted (core dumped)

Related

wget - Assertion `lib' failed. Aborted (core dumped)

using Centos 9 Stream, after running wget commang i get :
wget: CRYPTO/Crypto.c:355: init_openssl_crypto: Assertion `lib' failed.
Aborted (core dumped)

RHEL8 (CentOS8): compiling nagios-plugins error with perl

I'm trying to compile the nagios plugins in a RHEL8 box but it fails and reports an error message when running tools/build_perl_modules
make[2]: Entering directory '/root/nagios-plugins-2.2.1/perlmods'
../tools/build_perl_modules -d /usr/local/nagios/perl -em .
make[2]: ../tools/build_perl_modules: Command not found
make[2]: *** [Makefile:1462: all-local] Error 127
make[2]: Leaving directory '/root/nagios-plugins-2.2.1/perlmods'
make[1]: *** [Makefile:1431: all-recursive] Error 1
make[1]: Leaving directory '/root/nagios-plugins-2.2.1'
make: *** [Makefile:1352: all] Error
I compiled these same nagios plugins in RHEL5, RHEL6 and RHEL7 some time ago with no problem.
The tools/build_perl_modules does EXIST:
# ls -l tools/build_perl_modules
-rwxr-xr-x 1 root root 9999 Jun 16 12:27 tools/build_perl_modules
In fact, when launched that perl program:
# ../tools/build_perl_modules -d /usr/local/nagios/perl -em .
-bash: ../tools/build_perl_modules: yes: bad interpreter: No such file or directory
This message is because of the shebang line
#!yes
# SYNTAX:
which is very weird for me. And yet, it worked in previous RHEL releases!
Best regards
After installing perl-Module-Build the error message disappeared.
Please install Nagios PL
dnf install nagios-plugins-all

strawberry perl on windows install Prima failed with no tiff.h

I use strawberry perl on windows. I tried to install Prima module, running
install Prima
in CPAN console, I got
> img\codec_tiff.c:14:10: fatal error: tiff.h: No such file or directory
> #include <tiff.h>
> ^~~~~~~~ compilation terminated. dmake.exe: Error code 129, while making 'img\codec_tiff.o' KARASIK/Prima-1.53.tar.gz
> C:\STRAWB~1\c\bin\dmake.exe -- NOT OK Stopping: 'install' failed for
> 'Prima'. Failed during this command: KARASIK/Prima-1.53.tar.gz
> : make NO
so finally it failed to install Prima. So what to fix missing tiff.h problem?
update
Now I reinstalled the latest strawberry perl version 5.28.1.1
However, installing Prima failed for another reason. Error message as below:
dlltool -l blib/arch/auto/Prima/libPrima.a -d Prima.def -D PRIMA.xs.dll blib\arch\auto\Prima\Prima.xs.dll
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Prima\Prima.xs.dll
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- Prima/VB/VB.pl blib\script\VB.pl
pl2bat.bat blib\script\VB.pl
process_begin: CreateProcess(NULL, pl2bat.bat blib\script\VB.pl, ...) failed.
make (e=2): The system cannot find the file specified.
gmake: *** [Makefile:1165: blib\script\VB.pl] Error 2
KARASIK/Prima-1.53.tar.gz
C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'Prima'.
Failed during this command:
KARASIK/Prima-1.53.tar.gz : make NO
And if I run install Prima the second time, it shows
Running install for module 'Prima'
KARASIK/Prima-1.53.tar.gz
Has already been unwrapped into directory C:\STRAWB~1\cpan\build\Prima-1.53-0
KARASIK/Prima-1.53.tar.gz
Has already been prepared
KARASIK/Prima-1.53.tar.gz
Could not make: Unknown error
What should I do?

How do I solve PostgreSQL "Aborted (core dumped)" error?

I am trying to install postgreSQL-9.6.4 on Ubuntu 14.04. But when I am running 'initdb' to create database cluster, it shows error.
$ ./configure --prefix=/path/to/install
$ make
$ make install
$ initdb -U user1 -D /path/to/install/data
When I run the 'initdb', it shows the following error:
Aborted (core dumped)
child process exited with exit code 134
initdb: removing contents of data directory "/path/to/install/data"
Any help?
Exit status 134 means that the process was called by a SIGABRT signal, since that signal has number 6, and 128 + 6 = 134.
Your process probably failed an assert(3) assertion. Did you ./configure --with-cassert?
Try to read the core dump with gdb and use bt to get a back trace. That should tell you where exactly execution failed, so you can fix the problem.

Netbeans fortran build fails on Mac OS 10.8, cannot see gfortran file

I'm trying to get Netbeans up and running so I can start a Fortran project. I've downloaded the binaries and installed the plugins to the best of my knowledge. When I try to compile my hello world I get this error:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/convection
mkdir -p build/Debug/GNU-MacOSX
gfortran -c -g -o build/Debug/GNU-MacOSX/main.o main.f
gfortran: error trying to exec 'f951': execvp: No such file or directory
make[2]: *** [build/Debug/GNU-MacOSX/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 111ms)
Any thoughts?
EDIT: I'm using Mac OSX 10.8.5
EDIT 2: I've been messing around for awhile now and now the error is slightly different:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/convection
mkdir -p build/Debug/GNU-MacOSX
gfortran -c -g -o build/Debug/GNU-MacOSX/main.o main.f
make[2]: gfortran: No such file or directory
make[2]: *** [build/Debug/GNU-MacOSX/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 127ms)
EDIT 3: And just for fun, here is the output from a successful build that I was able to do in Ubuntu:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/hannah/NetBeansProjects/test'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/test
make[2]: Entering directory `/home/hannah/NetBeansProjects/test'
make[2]: `dist/Debug/GNU-Linux-x86/test' is up to date.
make[2]: Leaving directory `/home/hannah/NetBeansProjects/test'
make[1]: Leaving directory `/home/hannah/NetBeansProjects/test'
BUILD SUCCESSFUL (total time: 92ms)
I had the same problem on 10.9. I needed to make a new gfortran link in my /usr/bin (Base directory). After that it worked fine. If I had it in usr/local/bin,..or any other path it didn't work.
Here is a link to someone else's solution to this problem. gfortran is unable to find f951.
http://ubuntuforums.org/showthread.php?t=1164394
I think I found the solution here: http://eftrunk.blogspot.com/2011/11/how-to-fix-error-trying-to-exec-f951.html
Will report back if it works or not.