LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-15-2020, 02:10 AM   #1
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Rep: Reputation: 12
Blender on Slackware current with kde5 from Alien


Hi All,
lately I am in trouble to compile blender..

Quote:
-- Installing: /tmp/SBo/package-blender/usr/share/blender/2.82/datafiles/studiolights/matcap/jade.exr
-- Installing: /tmp/SBo/package-blender/usr/share/blender/2.82/datafiles/studiolights/matcap/check_rim_dark.exr
build/bin/blender: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
executing: build/bin/blender --help
Traceback (most recent call last):
File "./doc/manpage/blender.1.py", line 55, in <module>
blender_help = subprocess.run(
File "/usr/lib64/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['build/bin/blender', '--help']' returned non-zero exit status 127.

Blender:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
The compiling is good but when slackbuild tries to install I have that..

Any hints??

PS. I have another pc with the same distro but without kde5 ( normal current) where blender works
 
Old 04-15-2020, 02:44 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,286

Rep: Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076
Probably blender need glew-2.1, in current, the version is glew-2.2, now.

Last edited by gmgf; 04-15-2020 at 02:46 AM.
 
Old 04-15-2020, 03:13 AM   #3
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by gmgf View Post
Probably blender need glew-2.1, in current, the version is glew-2.2, now.
Hi,
yes .. my distro ( slackware -current has glew-2.2.0 ) but I do not understand why in the other pc all works
 
Old 04-15-2020, 06:11 AM   #4
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,286

Rep: Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076Reputation: 1076
Try to rebuild 'openimageio' on this machine, install it, and retry to compil 'blender'
 
Old 04-15-2020, 07:52 AM   #5
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by gmgf View Post
Try to rebuild 'openimageio' on this machine, install it, and retry to compil 'blender'
Hi, I recompiled openimageio, installed but I have the same error..

Seeing the statement

Quote:
build/bin/blender: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
I checked if blender executable under build/bin directory lacks GLEW2.1..
and with ldd I have

Quote:
root@darkstar:/tmp/SBo/blender-2.82a/build/bin$ ldd blender |grep GLEW
libGLEW.so.2.1 => not found
I tried on the pc where I compiled Blender and that executable doesn't need the libGLEW library (libGLEW.2.2.0 is installed)

Where is the fault??

Last edited by dafrasaga; 04-15-2020 at 08:07 AM.
 
Old 04-15-2020, 10:10 AM   #6
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
sbopkg -i blender
The executable file is dumped into /opt/blender/blender

You might have to edit the menu if you don't wish to start it in a terminal.

If you havent used sbopkg before you will want to look at this:
https://github.com/Ponce/slackbuilds...ry-with-sbopkg

and this:
https://sbopkg.org/docs.php

Well that gives you blender-2.78c... not 2.82,
But I was able to get 2.82 up and going
by following the instructions:
Quote:
Linux: Unpack the archive, then run the Blender executable.

Last edited by Regnad Kcin; 04-15-2020 at 10:33 AM.
 
Old 04-15-2020, 11:34 AM   #7
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by Regnad Kcin View Post
The executable file is dumped into /opt/blender/blender

You might have to edit the menu if you don't wish to start it in a terminal.

If you havent used sbopkg before you will want to look at this:
https://github.com/Ponce/slackbuilds...ry-with-sbopkg

and this:
https://sbopkg.org/docs.php
Thanks Regnad,
I use sbopkg and the Ponce's current for every out of distro program.. The issue is this one.. I have two PC with the same distro (OK one is with Alien's KDE5 but i think not guilt) and I use sbopkg current on either..

I checked the Cmake Cache.txt file and I have
Quote:
//Path to a library.
GLEW_LIBRARY:FILEPATH=/usr/lib64/libGLEW.so
which in turn is 2.2 and not 2.12 as states the error

Quote:
root@darkstar:/home/gabriele$ ls /usr/lib64/libGLEW* -l
lrwxrwxrwx 1 root root 16 Apr 15 15:26 /usr/lib64/libGLEW.so -> libGLEW.so.2.2.0
lrwxrwxrwx 1 root root 16 Apr 15 15:26 /usr/lib64/libGLEW.so.2.2 -> libGLEW.so.2.2.0
-rwxr-xr-x 1 root root 714736 Apr 4 07:23 /usr/lib64/libGLEW.so.2.2.0
I'm confused

Last edited by dafrasaga; 04-15-2020 at 11:37 AM.
 
Old 04-15-2020, 11:37 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
@OP, You may need to uninstall and recompile all the dependencies needed for blender. It's possible one of your previously compiled dependencies was compiled against the older version of glew.

@Regnad Kcin, there are two versions of blender on SBo. One, blender, is a repackaging of the official binary, and the other, Blender, is one that is to be compiled. The repackaged binary is currently untouched on ponce's unofficial repo, but there has been an adjustment of the version to be compiled by adding a flag for boost.
 
Old 04-15-2020, 11:39 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by dafrasaga View Post
Thanks Regnad,
I use sbopkg and the Ponce's current for every out of distro program.. The issue is this one.. I have two PC with the same distro (OK one is with Alien's KDE5 but i think not guilt) and I use sbopkg current on either..

I checked the Cmake Cache.txt file and I have

which in turn is 2.2 and not 2.12 as states the error

I'm confused
glew was updated from 2.1 to 2.2 on 5 APR. You might have a package you previously compiled that links against the old glew, and that is probably causing your broken compilation. Once you recompile all the dependencies, it will likely fix your problem.
 
Old 04-15-2020, 11:40 AM   #10
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by bassmadrigal View Post
@OP, You may need to uninstall and recompile all the dependencies needed for blender. It's possible one of your previously compiled dependencies was compiled against the older version of glew.

I think I did : I re-created the Blender queue and re run all.. You think I have to remove all before rec-create the queue ??
 
Old 04-15-2020, 11:43 AM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by dafrasaga View Post
I think I did : I re-created the Blender queue and re run all.. You think I have to remove all before rec-create the queue ??
Sometimes you need to remove all the packages since they can sometimes have circular dependencies and so they could still link to non-existent software.
 
Old 04-15-2020, 11:45 AM   #12
dafrasaga
LQ Newbie
 
Registered: Jun 2010
Location: Italy
Distribution: Slackware 13.1 32/64 bit
Posts: 25

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by bassmadrigal View Post
Sometimes you need to remove all the packages since they can sometimes have circular dependencies and so they could still link to non-existent software.
OK.. I'll update you
 
Old 04-15-2020, 01:28 PM   #13
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,820

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Uninstall opencolor and openimage before building those dependencies again. If I remember correctly there is a circular dependency there. The binary Blender package works fine in Slackware. I used the SBo Slackbuild and the 2.82a binary package and installed that way.

Last edited by RadicalDreamer; 04-15-2020 at 01:31 PM.
 
Old 04-15-2020, 02:43 PM   #14
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Interesting.
At the end point what is going to be the difference in user functionality between installing the binary direct from the blender site (quick simple easy), the SlackBuild that repackages the binary (has some menu issues), and a compile from scratch capital B Blender (I havent tried it)?
 
Old 04-15-2020, 05:14 PM   #15
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,820

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Quote:
Originally Posted by Regnad Kcin View Post
Interesting.
At the end point what is going to be the difference in user functionality between installing the binary direct from the blender site (quick simple easy), the SlackBuild that repackages the binary (has some menu issues), and a compile from scratch capital B Blender (I havent tried it)?
What menu issues? I don't really dig into the menus except in the viewport. I'm a noob learning retopology at the moment.
 
  


Reply



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
[SOLVED] slackware-current KDE5 startx failed zdolar Slackware 5 10-23-2019 03:34 PM
[SOLVED] Anyone using Alien Bob's KDE5? dugan Slackware 11 12-05-2015 06:15 PM
[SOLVED] [Slackware 64-current] Fresh installation with KDE5 stucks when open the "Leave" tab Francexi Slackware 1 09-14-2015 09:09 AM
[SOLVED] Blender 2.63 only runs if I type /opt/blender/blender in cmdline Jeebizz Slackware 6 07-23-2013 05:00 PM
Blender problem: can't run Blender, anyone know how? Chuong Linux - Software 11 09-01-2006 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration