LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2007, 11:08 PM   #1
timmit
Member
 
Registered: Oct 2007
Location: Illinois
Distribution: Slackware 12.0
Posts: 46
Blog Entries: 1

Rep: Reputation: 15
3D Desktop and Imlib2 Error, Easy Fix, But Not For Me!


Distro: Slackware 12.0
Box: HP tx 1220us
Error Message:
3ddesk
Attempting to start 3ddesktop server.
3ddeskd: error while loading shared libraries: libImlib2.so.1: cannot open shared object file: No such file or directory
Server not found after waiting 5 seconds.
Could not find server.
Try starting manually (3ddeskd)

I gather from the error message that 3D Desktop is looking in the wrong place for Imlib2. This makes sense, because I am stupid and don't know the basics of installing things :-(. I extracted the Imlib2 folder onto my desktop and installed it from there. Then I ran the 3D Desktop installer and said that the Imlib2-config file was not in my $PATH. So I moved a copy of the config and ran the installer and it worked just fine. But now when I run 3D Desktop I get the error I listed above.

This should be an easy fix, but this is the first time that I have run Linux and I do not know enough :-(. Any help would be appreciated!

Also, what should I do to avoid this is in the future? I guess I do not really know where to put things when I install them. Where should the 3D Desktop folder go, for instance?
 
Old 10-03-2007, 06:20 PM   #2
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
When you execute ~$whereis libImlib2.so.1, where does the shared library show up, or does it show up at all? If it does not show up, a quick look through /lib, /usr/lib, and /usr/local/lib would be good places to start. When you find it, is the path where the file is located in /etc/ld.so.conf?
 
Old 10-03-2007, 09:30 PM   #3
timmit
Member
 
Registered: Oct 2007
Location: Illinois
Distribution: Slackware 12.0
Posts: 46

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by bmarx View Post
When you execute ~$whereis libImlib2.so.1, where does the shared library show up, or does it show up at all? If it does not show up, a quick look through /lib, /usr/lib, and /usr/local/lib would be good places to start. When you find it, is the path where the file is located in /etc/ld.so.conf?
This is what shows up:
whereis libImlib2.so.1
libImlib2.so:

That doesn't look like a path; I don't really know what that means. Also, I had a look through the folders you suggested and came up with nothing. Should I try extracting the library again but place it in one of those directories?

EDIT: So reinstalled and here is what I got...

~$3ddesk
Attempting to start 3ddesktop server.
3ddeskd: error while loading shared libraries: libImlib2.so.1: cannot open shared object file: No such file or directory
Server not found after waiting 5 seconds.
Could not find server.
Try starting manually (3ddeskd)

~$whereis libImlib2.so.1
libImlib2.so: /usr/local/lib/libImlib2.so.1 /usr/local/lib/libImlib2.so

So why can't it find the file?
Here is my ld.so.conf file....

/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/usr/lib/seamonkey

It seems to be in the correct path.

Last edited by timmit; 10-03-2007 at 09:40 PM.
 
Old 10-05-2007, 01:20 AM   #4
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
When you say reinstalled, do you mean you reinstalled 3ddesk or the imlib? Based on above, executing "ldconfig" as root should solve your problem
 
  


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
Argument 2 - Pointer Error ?? Easy Fix?? Mistro116@yahoo.com Programming 1 10-04-2005 07:04 AM
MPlayer -vo Fatal Error - Easy FIX?? Nadinesky Linux - Software 2 08-23-2005 03:56 PM
Error installing imlib2 _TT_ Linux - Software 0 10-28-2004 03:57 AM
feh / Imlib2: "no imlib2 loader for that file format" froedi Linux - Software 2 11-30-2003 07:44 AM
Mouse Problem - SHould be easy to fix! VIP3R Linux - Hardware 2 05-17-2003 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 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
Open Source Consulting | Domain Registration