pdf creation error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
fw190
Posts: 2
Joined: 2012-11-11T02:00:47-07:00
Authentication code: 67789

pdf creation error

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: pdf creation error

Post 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
fw190
Posts: 2
Joined: 2012-11-11T02:00:47-07:00
Authentication code: 67789

Re: pdf creation error

Post 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.
Post Reply