Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.