Monday, October 30, 2006

Standalone BOINC Application dlopen Failure

When running a BOINC application standalone, you may see an error along the lines of
dlopen() failed: upper_case.so: cannot open shared object file: No such file or directory No graphics.
This happens when the application tries to load its graphics library. The dynamic loader does not know to look in the local directory. Running the standalone application this way:
$ LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./upper_case
will solve the problem, by telling the dynamic loader to look in the current directory.

No comments: