LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   blender (https://www.linuxquestions.org/questions/slackware-14/blender-527909/)

slayeriq 02-12-2007 03:43 PM

blender
 
hey guys,

If i start blender i get this:

Quote:

/usr/share/blender/blender: error while loading shared libraries: libavformat.so.50: cannot open shared object file: No such file or directory
i have ffmpeg installed via slapt-get and i still get that error how can i solve this ?

Thx in advance,

Ilgar 02-12-2007 03:56 PM

I have the static version installed and it works, maybe you can try that.

jschiwal 02-12-2007 04:05 PM

Was blender working previously?
Try "locate libavformat.so"

If you have a /lib/libavformat.so.51 or something similar, the library was upgraded.
The libavformat.so refers to a newer version instead. You can sometimes get away with creating a link from an older version wanted to the new version
such as libavformat.so.50 -> libavformat.so.

slayeriq 02-12-2007 04:21 PM

where can i get the static version and

no blender never worked but i dont have slackware for a long time

check this:
Quote:

slayeriq@abed:~$ locate libavformat.so
locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db': No such file or directory
and i cant find /lib/libavformat.so.51

H_TeXMeX_H 02-12-2007 06:28 PM

You do realize there are numerous disadvantages to statically linked pre-compiled binaries, especially for something like blender. All you need is ffmpeg ...

Install ffmpeg ... maybe from linuxpackages.

slayeriq 02-13-2007 12:14 AM

i downloaded the pkg for ffmpeg and i installed it with pkgtool. Only it didnt work and now i reinstalled it with gslapt. But blender still doesnt work

Ilgar 02-13-2007 02:52 AM

Is there a drawback other than the bigger size (for statically linked binaries)? I think it may even be the preferred way, to ensure uniformity in quality and output (e.g. Firefox Linux packages contain compiled-in Gtk/Glib libraries. This way, the developers don't need to worry about the Gtk/Glib version when debugging).


slayeriq, you can get the statically linked package from the Blender site of course :). The static package is about 1 MB larger than the other. Just unpack and run, it should work.

slayeriq 02-13-2007 08:32 AM

whats the difference between static version and normal

gbonvehi 02-13-2007 09:37 AM

The static one has the libraries bundled in the binary file, that way, it doesn't need the .so files. This of course, gives a bigger binary size and when run in memory (but it's only one application...), which won't be a problem in current systems.

H_TeXMeX_H 02-13-2007 02:46 PM

Bigger, more RAM used, slower. Of course on newer systems it won't affect you much.

To get it to compile (assuming you have same error) you might need to symlink:

libavformat.so -> libavformat.so.50

Eternal_Newbie 02-13-2007 03:12 PM

You might also need the OpenEXR libraries. have you run
Code:

ldd `which blender`
to see if that is the only library you are missing.

slayeriq 02-13-2007 04:34 PM

this is what i get

Quote:

slayeriq@abed:~$ ldd `which blender`
not a dynamic executable

Eternal_Newbie 02-13-2007 04:52 PM

Quote:

this is what i get
Code:

slayeriq@abed:~$ ldd `which blender`
not a dynamic executable


Looks like you are already running the static version.

Ilgar 02-13-2007 06:50 PM

I just downloaded and installed the dynamic version (2.42a), and here's what I get:

Code:

bash-3.1# ldd blender
        linux-gate.so.1 =>  (0xffffe000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7ee1000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7ecf000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e37000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e25000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7d91000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7d18000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7c4a000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7c42000)
        libutil.so.1 => /lib/tls/libutil.so.1 (0xb7c3e000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7b0f000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7aec000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ae8000)
        libstdc++.so.5 => /usr/i486-slackware-linux/lib/libstdc++.so.5 (0xb7a2f000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7a26000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7a18000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb7a14000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb7a0b000)
        libvga.so.1 => /usr/lib/libvga.so.1 (0xb79b8000)
        /lib/ld-linux.so.2 (0xb7f23000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb7046000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb7044000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6f76000)

I see no ffmpeg dependency. On the web page this file is titled

Linux i386 2.3.2, dynamic, FFMPEG, Python 2.4 (10.0 MB)

so I suppose it has ffmpeg compiled-in. Are you trying this latest version?

slayeriq 02-14-2007 12:13 AM

where can i get your version


All times are GMT -5. The time now is 06:04 AM.