Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using cx_freeze to compile my python script and when I compile the program, all the files are placed in one specified folder. The executable wont run if the shared libs are not within the same directory.

How would I set it up so the executable looks within /usr/lib/PROGRAMNAME/ to run the libraries?

share|improve this question

closed as off topic by Marco Ceppi May 4 '11 at 14:21

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
This is a great question, but you would be better off asking it at stackoverflow.com instead of here. –  Alvin Row Dec 4 '10 at 22:45
    
Alright, thanks for the tip. –  MetaDark Dec 4 '10 at 22:54
    
Answered on StackOverflow: Cx_freeze - How can I Install the shared libraries to /usr/lib –  Marco Ceppi May 4 '11 at 14:22

Browse other questions tagged or ask your own question.