Message boards :
Client :
[FAQ] Portability - Linux
Message board moderation
Author | Message |
---|---|
![]() Volunteer moderator Project administrator ![]() Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8 |
Problem: All my results fail with a message saying that the application died prematurely or a segfault, but the message does not talk about link libraries. It seems "Glue" starts up but the renderer fails. What is going on and what can I do about it? Example error output: [...] Answer: The official linux client is compiled for kernel above 3.11.x glibc >= 2.11 systems with recent libraries installed. Your message indicates that "Glue" is working fine but the renderer is failing to start up with the bundled libraries. Sometimes the libraries that are bundled with the client simply don't work well with the libraries installed on the machine. In that case you can disable the bundled libraries and install and use your own: 1) Install the renderer through your system's package manager (for example: apt-get install blender) 2) Go to the boinc project folder (typically something like /var/lib/boinc-client/projects/burp.renderfarming.net) 3) Create a file called "native" 4) Restart BOINC. It should now say something along the lines of "NOTE: Skipping preloader, using native libs!" when it starts a workunit instead of "CHMODing preloader executable..." As an alternative to 1 you can also unpack the blender?.zip in the project directory and run "ldd ./blender" on it to get a list of libraries and see which ones are missing. Install the missing libraries (if any) and then proceed to 2 and 3. Problem: I'm using native mode (above) and all my results fail with a message talking about link libraries, shared objects or segfaults. It seems "Glue" starts up but the renderer fails. What is going on and what can I do about it? Example error output: [...] Answer: Your message indicates that "Glue" is working fine but the renderer is missing some libraries or some of the supplied libraries didn't work well with what else is on your system. Make sure that all required libraries are available. If it still fails you may have to compile a custom version of it. |
![]() Volunteer moderator Project administrator ![]() Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8 |
Problem: All my results fail with a message talking about link libraries or shared object files. The error does not say anything about 'Glue' Example error output: :/ error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory Answer: The official binary of Glue is statically compiled with stdc++ and glibc and only requires the following standard libraries:
|
![]() Volunteer moderator Project administrator ![]() Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8 |
Please only reply to this thread if you have any additions to the Linux portability FAQ - if you have issues compiling for linux please create a new thread (or search and use an existing thread) instead. |
r3nd3rm4n Send message Joined: 14 Nov 07 Posts: 36 Credit: 20,490 RAC: 0 |
Fedora 10 64Bit. > ./blender: error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory Install "libXmu.i386" via yum and > ./blender: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory Install "SDL.i386" via yum |