LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-12-2007, 04:43 PM   #1
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Rep: Reputation: 15
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,
 
Old 02-12-2007, 04:56 PM   #2
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
I have the static version installed and it works, maybe you can try that.
 
Old 02-12-2007, 05:05 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.
 
Old 02-12-2007, 05:21 PM   #4
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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

Last edited by slayeriq; 02-12-2007 at 05:22 PM.
 
Old 02-12-2007, 07:28 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 02-13-2007, 01:14 AM   #6
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
Old 02-13-2007, 03:52 AM   #7
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
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.
 
Old 02-13-2007, 09:32 AM   #8
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Original Poster
Rep: Reputation: 15
whats the difference between static version and normal
 
Old 02-13-2007, 10:37 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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.
 
Old 02-13-2007, 03:46 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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

Last edited by H_TeXMeX_H; 02-13-2007 at 03:48 PM.
 
Old 02-13-2007, 04:12 PM   #11
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
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.

Last edited by Eternal_Newbie; 02-13-2007 at 04:13 PM.
 
Old 02-13-2007, 05:34 PM   #12
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Original Poster
Rep: Reputation: 15
this is what i get

Quote:
slayeriq@abed:~$ ldd `which blender`
not a dynamic executable
 
Old 02-13-2007, 05:52 PM   #13
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
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.
 
Old 02-13-2007, 07:50 PM   #14
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 930

Rep: Reputation: 96
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?
 
Old 02-14-2007, 01:13 AM   #15
slayeriq
LQ Newbie
 
Registered: Jan 2007
Posts: 25

Original Poster
Rep: Reputation: 15
where can i get your version
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blender problem: can't run Blender, anyone know how? Chuong Linux - Software 11 09-01-2006 09:54 AM
Have you used blender for 2d work? dr_zayus69 Linux - Software 1 07-18-2006 11:07 PM
K-3D vs Blender b3rx Linux - Software 2 06-24-2006 12:16 PM
help with blender SciYro Linux - Software 2 03-14-2005 07:09 PM
what is blender? demmylls Linux - Software 8 02-02-2004 12:38 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration