← Back to team overview

cuneiform team mailing list archive

[Bug 345033] Re: cuneiform does not find its librarie libpuma.so

 

If you run into this error and don't like editing your system files, you could try adding the environment variable "LD_LIBRARY_PATH" to your shell before calling 'cuneiform' e.g. by adding the following line to your .bash_profile:
export LD_LIBRARY_PATH=/usr/local/lib

... or you could create a script that calls the real 'cuneiform' e.g. like this:
   LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/cuneiform "$@"


Here's a sample script that I use for a specific job that converts PNM-files:

#!/bin/sh
for pnm in *.pnm
do
	[ -f "$pnm" ] || break
	printf "Processing %s ...\n" "$pnm"
	ppmtobmp "$pnm" > "${pnm%%.pnm}.bmp"
	LD_LIBRARY_PATH=/usr/local/lib cuneiform -l eng -f smarttext -o ${pnm%%.pnm}.eng ${pnm%%.pnm}.bmp
done

-- 
cuneiform does not find its librarie libpuma.so
https://bugs.launchpad.net/bugs/345033
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: Invalid

Bug description:
Hi!

After installing cuneiform, I tried to start it the first time. But the output is:

cuneiform: error while loading shared libraries: libpuma.so: cannot open shared object file: No such file or directory

I found libpuma.so at /usr/local/lib, but cuneiform does not.

Can anyone help?

Thanks
Koose