LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   liblmlib.so.1 (https://www.linuxquestions.org/questions/linux-general-1/liblmlib-so-1-a-88800/)

evian 09-03-2003 08:52 AM

liblmlib.so.1
 
I am trying to install enlightenment on redhat 8, but it requires liblmlib.so.1 but when i install imlib this file is not put into /usr/lib like it should. Does anyone know where I could get the file so that I could do it manually?

thanks,

Dark_Helmet 09-03-2003 10:33 AM

Take a look at the installation documentation for imlib. I would be you a LOT of money that it installed the library to /usr/local/lib.

Verify this with the documentation before just giving it a shot, but I think you would want to run configure like this:
./configure --prefix=/usr

I think that will force the "make install" command to place the library in /usr/lib.

Have you tried configuring/making enlightenment after trying to install imlib? I would bet it could find the library in either /usr/lib or /usr/local/lib.

Of course, this all depends on you trying to install from the source... :)

evian 09-03-2003 01:03 PM

I tried everything with installing imlib but for some reason liblmlib.so.1 does not get installed on my system. When I do a search of the entire system for the file I do not get any results. If someone knows how to get this file then I could just manually put it on my system.

Thanks,

DrOzz 09-03-2003 01:13 PM

what is your output of :
ls -alc /usr/lib/lib[l,L]mlib.so.*
also, are you running ldconfig after installing imlib?

Dark_Helmet 09-03-2003 01:14 PM

When you search for the file, are you using the find command or the locate command (or something else)? If using locate, did you remember to execute "updatedb" after the install?

Ok, how are your trying to install it? If from source, could you post what the output of "make install" is?

evian 09-03-2003 01:29 PM

The output of the ls /usr/lib/liblmlib.so.* is no such file or directory. And I try to run ldconfig it says there is not such command. I am searching for the file using the RedHat search utility and I have also looked through the directories for myself.

Dark_Helmet 09-03-2003 02:19 PM

ldconfig has to be run as the root user.

I just noticed... are you searching for imlib? It looks like you are searching for an L before the m.

evian 09-05-2003 02:52 PM

Ok, I was searching for the wrong file. And I have now found that I have these files....libImlib.so , libImlib.so.11 and libImlib.so.11.0.0 but no libImlib.so.1. Can I just rename these?

Dark_Helmet 09-05-2003 03:23 PM

Ok, have you tried running configure for Enlightenment since installing the imlib libraries? The only reason I ask is that I installed Enlightenment myself a while back. I downloaded the dependincies that the enlightenment website linked to, and didn't have any problems at all.

If you did try configuring it again and ran into the same problem, then let me ask this: where did you grab the source code from and what versions did you get? I'll see if I can recreate the problem on my machine. If I get it to work, then I'll just give you a list of the steps I took.

evian 09-05-2003 04:49 PM

I am installing it from an rpm from the enlightenment website.

Dark_Helmet 09-05-2003 05:09 PM

Oh, ok... I don't do much with rpms, but I'll give it a shot when I get home and let you know.

evian 09-05-2003 05:14 PM

Wait, i'll try installing from source to if that is better. i can configure but during the make I get a whole pile of parse errors. I will show you the entire output and see if you can figure out what is going on.

Here is the output from the make:

make all-recursive
make[1]: Entering directory `/home/evan/progs/enlightenment-0.16.5'
Making all in scripts
make[2]: Entering directory `/home/evan/progs/enlightenment-0.16.5/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/evan/progs/enlightenment-0.16.5/scripts'
Making all in dox
make[2]: Entering directory `/home/evan/progs/enlightenment-0.16.5/dox'
Making all in E-docs
make[3]: Entering directory `/home/evan/progs/enlightenment-0.16.5/dox/E-docs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/evan/progs/enlightenment-0.16.5/dox/E-docs'
make[3]: Entering directory `/home/evan/progs/enlightenment-0.16.5/dox'
gcc -DENLIGHTENMENT_ROOT=\"/usr/local/enlightenment\" -DENLIGHTENMENT_BIN=\"/usr/local/enlightenment/bin\" -I.. -I/usr/X11R6/include -I/usr/local/include -I.. -g
-O2 -c format.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from format.c:24:
dox.h:59:22: freetype.h: No such file or directory
In file included from format.c:24:
dox.h:83: parse error before "TT_Engine"
dox.h:83: warning: no semicolon at end of struct or union
dox.h:84: warning: data definition has no type or storage class
dox.h:85: parse error before "instance"
dox.h:85: warning: data definition has no type or storage class
dox.h:86: parse error before "properties"
dox.h:86: warning: data definition has no type or storage class
dox.h:88: parse error before '*' token
dox.h:88: warning: data definition has no type or storage class
dox.h:89: parse error before '*' token
dox.h:89: warning: data definition has no type or storage class
dox.h:92: parse error before '}' token
dox.h:93: warning: data definition has no type or storage class
dox.h:103: parse error before "Efont"
dox.h:103: warning: no semicolon at end of struct or union
dox.h:108: parse error before '}' token
dox.h:109: warning: data definition has no type or storage class
dox.h:173: parse error before '*' token
dox.h:179: parse error before '*' token
dox.h:179: warning: data definition has no type or storage class
dox.h:180: parse error before '*' token
dox.h:183: parse error before "Efont"
dox.h:186: parse error before '*' token
dox.h:187: parse error before '*' token
dox.h:189: parse error before '*' token
format.c: In function `RenderPage':
format.c:513: parse error before "ts"
format.c:521: `ts' undeclared (first use in this function)
format.c:521: (Each undeclared identifier is reported only once
format.c:521: for each function it appears in.)
make[3]: *** [format.o] Error 1
make[3]: Leaving directory `/home/evan/progs/enlightenment-0.16.5/dox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/evan/progs/enlightenment-0.16.5/dox'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/evan/progs/enlightenment-0.16.5'
make: *** [all-recursive-am] Error 2



Don't know if that helps but the error with the rpm was the I did not have fnlib and the error with fnlib was the libImlib.so.1 .

Thanks for all your help by the way, we will get this thing figured out.

Dark_Helmet 09-05-2003 06:04 PM

If you look in the middle of your output, I think you can see the start of your problem during make:

---
In file included from format.c:24:
dox.h:59:22: freetype.h: No such file or directory
---

So, it looks like you'll have to get freetype and install it. It would probably be a "*-devel" rpm if you look for it in that format. I'm pretty sure you can get the source from freshmeat.net too.

NOTE: There's freetype and freetype2. The requirements for Enlightenment say something like "freetype >= 1.<something>". Unfortunately freetype2 doesn't satisfy that requirement. To satisfy the dependencies you need a 1.<something> version... dependencies can be real buggers sometimes.

evian 09-05-2003 08:13 PM

Ok, I got it to build. It was searching for the freetype.h file in the wrong path.

Now for the next thing, how do I actually make enlightenment my window manager. Is there a command to run it or do i need to do some more configuration?

Thanks,

Dark_Helmet 09-06-2003 08:12 AM

I'm not positive about that one. Here's what I did:

Open a terminal
Determine which window manager is currently running (mine was sawfish)
Write down the process id using the ps command
Type kill <sawfish process id> && enlightenment

Then, make sure you "save session" when you logout, or it will start up the old window manager again.


All times are GMT -5. The time now is 05:44 AM.