LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xine probs -where is LD_LIBRARY_PATH (https://www.linuxquestions.org/questions/linux-software-2/xine-probs-where-is-ld_library_path-49184/)

rickenbacherus 03-10-2003 06:36 PM

xine probs -where is LD_LIBRARY_PATH
 
Anybody know where the LD_LIBRARY_PATH is? I need to find it so I can edit it (I think).

thanks!! :D

loke137 03-10-2003 06:40 PM

Are you compiling Xine? if so, then post the error msg.

Now I will try to guess the error, LOL. It is saying you dont have xine-lib installed or you have an old version of Xine. If that is so, you will need to download xine-lib 1.0.0 or above, that is the beta version 8 I think. Compiled it and then run ldconfig, everything should compile fine :)

Tinkster 03-10-2003 07:02 PM

Re: xine probs -where is LD_LIBRARY_PATH
 
Quote:

Originally posted by rickenbacherus
Anybody know where the LD_LIBRARY_PATH is? I need to find it so I can edit it (I think).

thanks!! :D

LD_LIBRARY_PATH is an environment variable
that you usually set from a script in /etc/profile.d
or manually ;), like in
Code:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/new/path
.
Alternatively, you can edit ld.so.conf and add the
path to the library that's not being found there.

Cheers,
Tink

rickenbacherus 03-10-2003 09:32 PM

I am installing the xine-lib beta8 as we speak. Before I did make it told me that it was going to be in /usr/local/lib and that this lib wasn't listed in any local.....search.....link........i can't remember. So anyway I added that to /ld.so.conf. I installed a different xine.lib already, maybe the wrong one??- I still don't quite understand how you decide which one you'll need. I'll post errors if (when) I get them but I really want to figure this out as much as I can.

Thanks for posts folks :D

rickenbacherus 03-10-2003 10:26 PM

xine-check
blah blah..
However, you don't have permission to read from this device, so you
won't be able to use it, at least not with this account, that's bad...
Most people nowadays fix this by using a 'cdrom' group:
make sure, that you have a group named 'cdrom', become root and type
chgrp cdrom /dev/scd0
chmod g+r /dev/scd0
Now you only have to make sure you're in the cdrom group. The command
id -a
(executed as normal user) should tell you

OK so I do that...

~$ id -a
uid=1001(glenn) gid=1001(glenn) groups=1001(glenn)

I need an interpretation here. That is to say am I part of the cdrom group? I don't even know if I have a cdrom group. Otherwise things are looking good.
man id gives me something about programming

iceman47 03-11-2003 07:28 AM

If you want to know what's "in" no matter what variable, just do
echo $<varname> example: echo $PATH or echo $LD_LIBRARY_PATH

loke137 03-11-2003 12:30 PM

So I think you are really compiling Xine. Well when I did it last week the error was quite obscure, but it did mention the lib version should be newer than 1.0.0 :)

rickenbacherus 03-11-2003 12:51 PM

thanks loke137 for the tip on the Beta8, that was what I needed -it compiled nicely. Now I have to fix a permissions problem and hopefully everything is set. So I did this:

~$ id -a
uid=1001(glenn) gid=1001(glenn) groups=1001(glenn)
But I have no idea what it means.

I also plan on doing this once I escape from behind this windows machine and get home:

cd /dev
chmod +rwx scd0

Hopefully that fixes my permissions issue. Any tips on that??


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