Page 1 of 1

pdf creation error

Posted: 2012-11-11T02:10:26-07:00
by fw190
Hello,

When I try to convert JPG files to pdf I get an error like this:
imagemagick pdf libgomp: Thread creation failed
I run a openSuse machine with 2GB ram. When I try to convert I go to the specific folder and use:
convert *.JPG foo.pdf
There are about 300 photos which have about 100mb.
Is this because my machine needs more RAM or I do something wrong.
I have tried to google this problem but didn't find a solution I could understand or implement in my case.

Best regards,

Krzysztof

Re: pdf creation error

Posted: 2012-11-11T12:01:25-07:00
by fmw42
I really do not know what that error means. Perhaps one of your delegates is depending upon some other dependency that is not there (libgomp?)

Do you get the same message when converting one single image? What about

convert logo: logo.pdf

Does that work?

What version of IM are you using?

When doing

convert -list configure

does the line starting with DELEGATES show jpg. If so, you might have multiple libjpeg installed.

If it is a problem with memory, then see http://www.imagemagick.org/Usage/files/#massive

Re: pdf creation error

Posted: 2012-11-12T06:44:53-07:00
by fw190
The problem is strange as it happens only sometimes.
I can convert a few files to one pdf and I hit a folder which gives problems.
Generally the coverisons works ok but on some certain things it fails creating about 1,5 GB file sin TMP folder which when I dodn't know that happened stuck my suse install and made it unbootable. Now I know about this and have auto tmp clean by start, and alway give it a look there manualy form time to time.
The funny thing is that it fails with photos made with the same camera and same settings so the only clue for me is the number of photos in folder or the size of them or something like this.

I'm not a techie so to bring more details and to help to kill this bug I would have to have a step by step instruction for non tech people.