Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a RPM to install SWFtools as written here. I have a another RPM that I created containing basic applications, shared to all of our servers. the first RPM (SWFtools) should be installed after the basic RPM.

If I install them one by one, the server work as it's suppose to, but if i'm building the the seconds RPM so the basic RPM will be one of it's requirement so it will be installed automatically, I get segmentation fault while running the pdf2swf command.

What am I doing wrong?

share|improve this question
up vote 0 down vote accepted

Running this command in the first line of the second RPM %install section made it work:

 ranlib /usr/local/lib/libjpeg.a
 ldconfig /usr/local/lib
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.