LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-22-2006, 03:19 AM   #1
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
Slackware 10.2: e16


I just got enlightenment 0.16.8.1 on my Slackware 10.2 install and after wrestling pkg-config to do my bidding (it took far longer than it should have) I './configure'd and 'make'd it and all dependencies. Now, when I go to 'starte16' something curious happens:

e16: error while loading shared libraries: libImlib2.so.1: cannot open shared object file: No such file or directory

Interesting. So I check to make sure it exists:

$find / -name *libImlib2.so.1*
/usr/local/lib/libImlib2.so.1.2.1
/usr/local/lib/libImlib2.so.1

So far so good. I check on /etc/ld.so.conf:

/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib

Seems fine to me, but then I don't pretend to know much. Anyone have any clue what the problem could be?

Thanks in advance.
 
Old 04-22-2006, 06:15 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
A reset might sort it, but before you log in, or in your .xinitrc file put the line:
export LD_LIBRARY_PATH=/usr/local/lib
 
Old 04-22-2006, 06:41 AM   #3
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Awesome, thanks a lot. Cleared my problem right up. I think I'll play around a bit to see if it was the reboot or the environment variable and report back. What does LD_LIBRARY_PATH do, exactly, anyways? I assume it loads the library path, but why do I need it in xinitrc? Shouldn't it read from /etc/ld.so.conf like everything else?
 
Old 04-22-2006, 08:12 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Quote:
Originally Posted by zytsef
Awesome, thanks a lot. Cleared my problem right up. I think I'll play around a bit to see if it was the reboot or the environment variable and report back. What does LD_LIBRARY_PATH do, exactly, anyways? I assume it loads the library path, but why do I need it in xinitrc? Shouldn't it read from /etc/ld.so.conf like everything else?
LD_LIBRARY_PATH is an environment variable that can be set to tell the linker where to look for shared library files. Imagine if you were just a normal user on a system and had no root access but wanted to install some libraries - you could set that rather than editing /etc/ld.so.conf which you woudln't have access to. Quite why yours isn't using the info in /etc/ld.so.conf is a mystery, though I've also had a similar problem in the past.

It doesn't matter where you put the export LD_LIBRARY_PATH (etc) bit, you could simply type it in the shell before hand, but I told you to put it in the .xinitrc file so it would be loaded automatically.
 
Old 04-22-2006, 09:34 AM   #5
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Cool, thanks for explaining. That's really good to know.
 
Old 04-22-2006, 09:48 AM   #6
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Did you run 'ldconfig' ?
 
Old 04-22-2006, 05:28 PM   #7
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Yeah, it was just a problem of my shared libraries not being updated. LD_LIBRARY_PATH isn't necissary in this case, I just had to get everything linked properly by rebooting or ldconfig. Thanks for the tips.
 
  


Reply

Tags
enlightenment, imlib2, slackware


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
Enlightement (E16 / E17) Hedon Mandriva 2 12-06-2005 03:21 AM
e16 and e17? mikeh2 Linux - Software 3 10-30-2005 04:46 PM
torsmo + E16 = X won't log out kak Linux - General 0 04-21-2005 09:34 PM
e16.7 loads epplets erroneously german Linux - Software 1 03-20-2005 03:09 PM
Mandrake8.2 & E16 questions... Estariel Linux - Distributions 1 07-29-2002 01:48 PM


All times are GMT -5. The time now is 09:00 AM.

Main Menu
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