Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Applications
Reload this Page compiling Blender - openal/alut
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Applications I cant get "X" app to work... also discussion about linux programs.

Reply
 
Thread Tools Display Modes
Old 03-05-2008   #1 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 12
compiling Blender - openal/alut

I'm trying to compile Blender (i have the source) but I've hit a brick wall at getting "alut";
I've got "openal" downloaded (from openal.org) & compiled; but every attempt to obtain "alut" is failing.

I've tried the "source tar", "source rpm", and "binary rpm" with no luck.
When I tried the Linux RPM version, it complained that OpenAL isn't there (but it is! ... and when I try to compile Blender, that does find it).
The source tar simply contains another file named "tar<something else>" which itself can't be processed by the archive manager.. usually when trying to install a source tar i've just hit extract and got a nice directory holding actual source files in which you can execute make..

Any suggestions - are there any other places I can get this library ? Might i need to install "openAL" differently for the alut rpm to find it ?




I'm using Fedora Core 7 at the minute.
Before you suggest Ubuntu studio, Ubuntu 7.1 doesn't work on my laptop
ceti331 is offline   Reply With Quote
Old 03-05-2008   #2 (permalink)
Bigtomrodinator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 5,190
Isn't Blender in the Fedora 7 repos anyway? You should be able to install it automatically using Yum.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 03-05-2008   #3 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 12
ok i deleted, reobtained the source code, and did configure / make / make install in openal & freealut..
This gave me openal.so & freealut.so.0 / freealut.so in /usr/local/lib and /usr/local.

but i still get
"./blender: error while loading shared libraries: libalut.so.0: cannot open shared object file: No such file or directory"

Do I have to add paths to some sort of enviroment variable to make it find it... how does this work ?
EDIT:
now I've found 'ld.so.conf', I've tried adding /usr/local/lib there, and i've tried moving my libraries into one of the directories i already found there (nasty hack)... neither worked... arrrghh...
ceti331 is offline   Reply With Quote
Old 03-05-2008   #4 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,159
Quote:
Originally Posted by ceti331 View Post
ok i deleted, reobtained the source code, and did configure / make / make install in openal & freealut..
This gave me openal.so & freealut.so.0 / freealut.so in /usr/local/lib and /usr/local.

but i still get
"./blender: error while loading shared libraries: libalut.so.0: cannot open shared object file: No such file or directory"

Do I have to add paths to some sort of enviroment variable to make it find it... how does this work ?
You can try adding these paths into LDPATH or LD_LIBRARY_PATH. You can also try preloading the libs like in

Quote:
LD_PRELOAD="path/to/so_file.so" ./whatever
You can also just symlink the libs into the /lib dir, though I wouldn't do that if regular users have write permissions into /usr/local. I wouldn't do that anyway, since your package manager could very well overwrite or erase those symlinks and screw you up again.
i92guboj is offline   Reply With Quote
Old 03-05-2008   #5 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 12
ok thanks! Copying them directly into "/lib" got it running, which will do for the moment
None of the attempts to modify the paths (i'd also found something suggesting you add the paths to "/etc/ld.so.conf" & run "ldconfig") worked, worryingly. Is there a tool that will show you the current library search paths?
ceti331 is offline   Reply With Quote
Old 03-06-2008   #6 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,159
Quote:
Originally Posted by ceti331 View Post
ok thanks! Copying them directly into "/lib" got it running, which will do for the moment
None of the attempts to modify the paths (i'd also found something suggesting you add the paths to "/etc/ld.so.conf" & run "ldconfig") worked, worryingly. Is there a tool that will show you the current library search paths?
Sure, you can do that with a simple ldd:

Quote:
# ldd /bin/bash
linux-vdso.so.1 => (0x00007fff52ffd000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00002b6e57b49000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b6e57d2a000)
libc.so.6 => /lib/libc.so.6 (0x00002b6e57f2e000)
/lib64/ld-linux-x86-64.so.2 (0x00002b6e57b0e000)
It will also show if there's is a problem to link to any of the files.
i92guboj is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
blender installation keithclark Linux Applications 12 09-20-2007 12:10 AM
Samba Client Won't Mount Shares on Reboot bruceski Servers 4 08-23-2007 04:36 AM
Compiling vsftpd with PAM? ScSpruijt Servers 0 04-10-2007 10:07 AM
Yafray, Blender & Debian Darl Art & Imaging in Linux 1 01-05-2005 07:35 PM
Can't get 56k modem setup in Fedora Core 1 panthrax Peripherals / Hardware 6 04-26-2004 03:08 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 06:29 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0