From: Wayne on
Guys

I having a problem getting acroread and now eagle to run it claims
that libXrander is bad. From the following I can see a problem.

[VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
~$ ls -l /usr/lib/libXrender*
-rw-r--r-- 1 root root 58K 2009-11-25 13:54 /usr/lib/libXrender.a
lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so ->
libXrender.so.1.3.0
lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so.1 ->
libXrender.so.1.3.0
-rw-r--r-- 1 root root 38K 2009-11-25 13:54 /usr/lib/libXrender.so.1.3.0

[VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
~$ eagle
/home/wtopa/.eagle/bin/eagle: error while loading shared libraries:
libXrender.so.1: cannot open shared object file: No such file or directory

This is an an amd64 box. No problems on the X86 squeeze box with either
program.

No bugs listed either.

Wayne


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA2B99E.3000304(a)gmail.com
From: Ólafur Jens Sigurðsson on
On Thu, Mar 18, 2010 at 07:39:10PM -0400, Wayne wrote:
> Guys
>
> I having a problem getting acroread and now eagle to run it claims
> that libXrander is bad. From the following I can see a problem.
>
> [VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
> ~$ ls -l /usr/lib/libXrender*
> -rw-r--r-- 1 root root 58K 2009-11-25 13:54 /usr/lib/libXrender.a
> lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so
> -> libXrender.so.1.3.0
> lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so.1
> -> libXrender.so.1.3.0
> -rw-r--r-- 1 root root 38K 2009-11-25 13:54 /usr/lib/libXrender.so.1.3.0
>
> [VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
> ~$ eagle
> /home/wtopa/.eagle/bin/eagle: error while loading shared libraries:
> libXrender.so.1: cannot open shared object file: No such file or
> directory

Ok, I see you have compiled your own there since its in your home
directory. This could lead it to search for libs in the wrong places.

Try the following:

strace eagle 2> strace.txt
grep libXrender strace.txt

and see if the location for the lib this grep should give you is
/usr/lib or perhaps it is /opt or something else, you might be able to
solve it then by making a symlink from the result of strace to
/usr/lib and then eagle should find the lib.

HTH, Oli


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100319011204.GB4703(a)heima.gjk.dk
From: Wayne on
Ólafur Jens Sigurðsson wrote:
> On Thu, Mar 18, 2010 at 07:39:10PM -0400, Wayne wrote:
>> Guys
>>
>> I having a problem getting acroread and now eagle to run it claims
>> that libXrander is bad. From the following I can see a problem.
>>
>> [VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
>> ~$ ls -l /usr/lib/libXrender*
>> -rw-r--r-- 1 root root 58K 2009-11-25 13:54 /usr/lib/libXrender.a
>> lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so
>> -> libXrender.so.1.3.0
>> lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so.1
>> -> libXrender.so.1.3.0
>> -rw-r--r-- 1 root root 38K 2009-11-25 13:54 /usr/lib/libXrender.so.1.3.0
>>
>> [VT/dev/pts/1 wtopa(a)dj-SQUEEZE]
>> ~$ eagle
>> /home/wtopa/.eagle/bin/eagle: error while loading shared libraries:
>> libXrender.so.1: cannot open shared object file: No such file or
>> directory
>
> Ok, I see you have compiled your own there since its in your home
> directory. This could lead it to search for libs in the wrong places.
>

No, I did not compile my own lib. I was trying to run eagle from my
home dir to get the failures messages.

Oh, I see what you mean the .eagle/bin.eagle. I tried to start eagle
from the fluxbox menu and it didn't work so if tried from an xterm.

/usr/bin/eagle produces the same error list.

> Try the following:
>
> strace eagle 2> strace.txt
> grep libXrender strace.txt

strace eagle --including only failures "I did not edit this"
weird - looks like someone didn't compile something for 64 bits??

stat64("/usr/lib/i486-linux-gnu", 0xff8c4e44) = -1 ENOENT (No such file
or directory)
writev(2, [{"/home/wtopa/.eagle/bin/eagle", 28}, {": ", 2}, {"error
while loading shared libra"..., 36}, {": ", 2}, {"libXrender.so.1", 15},
{": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such
file or directory", 25}, {"\n", 1}], 10/home/wtopa/.eagle/bin/eagle:
error while loading shared libraries: libXrender.so.1: cannot open
shared object file: No such file or directory
) = 143
exit_group(127) = ?

grep strace.txt
fails to find llibXrender
in the following places
/lib32/tls/i686/sse2/cmov/libXrender.so.1
/usr/lib32/tls/i686/sse2/cmov/libXrender.so.1
/lib/i486-linux-gnu/tls/i686/sse2/cmov/libXrender.so.1

There are 8 -12 different places in the 3 base dirs I list above that
are there but it's so long I show only the main dirs that were searched.

None of which is a 64 bit lib. By the install dates of the libs this
got messed up in December.

> and see if the location for the lib this grep should give you is
> /usr/lib or perhaps it is /opt or something else, you might be able to
> solve it then by making a symlink from the result of strace to
> /usr/lib and then eagle should find the lib.

I did make the symlinks but it seems that, for some reason, the libs in
/usr/lib/ are not even called. Check this----

~$ sudo ldconfig -v |grep libXrender
[sudo] password for wtopa:
ldconfig: Can't stat /lib/i486-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/lib/i486-linux-gnu: No such file or directory
ldconfig: Can't stat /lib/x86_64-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Cannot stat /usr/lib/libfakeroot-0.so: No such file or directory
ldconfig: Cannot stat /usr/lib/libgthumb-2.6.9.so: No such file or directory
libXrender.so.1 -> libXrender.so.1.3.0

Something looks fishy here......

Thanks for the Help!!

Wayne


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA2D992.3080107(a)gmail.com
From: Ólafur Jens Sigurðsson on
On Thu, Mar 18, 2010 at 09:55:30PM -0400, Wayne wrote:
> ~$ sudo ldconfig -v |grep libXrender
> [sudo] password for wtopa:
> ldconfig: Can't stat /lib/i486-linux-gnu: No such file or directory
> ldconfig: Can't stat /usr/lib/i486-linux-gnu: No such file or directory
> ldconfig: Can't stat /lib/x86_64-linux-gnu: No such file or directory
> ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
> ldconfig: Cannot stat /usr/lib/libfakeroot-0.so: No such file or directory
> ldconfig: Cannot stat /usr/lib/libgthumb-2.6.9.so: No such file or directory
> libXrender.so.1 -> libXrender.so.1.3.0
>
> Something looks fishy here......

Hmm ... Im not sure if this is so fishy. When ldconfig returns Can't
stat, that means the dir/file is mentioned in the config for ldconfig
(that is in one of the files in /etc/ld.so.conf.d/) but is not in the
system. When it returnes Cannot stat then the file is usually a
symlink to a file that no longer exists. But that these dirs are not
there (specially /usr/lib/i486-linux-gnu and
/usr/lib/x86_64-linux-gnu) could be a problem, not familiar with the
64 bit architecture to know if they should be there or not.

Good luck and file bug reports if you find something out of this.

Oli


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100319212643.GA4253(a)heima.gjk.dk
From: Wayne on
Ólafur Jens Sigurðsson wrote:
> On Thu, Mar 18, 2010 at 09:55:30PM -0400, Wayne wrote:
>> ~$ sudo ldconfig -v |grep libXrender
>> [sudo] password for wtopa:
>> ldconfig: Can't stat /lib/i486-linux-gnu: No such file or directory
>> ldconfig: Can't stat /usr/lib/i486-linux-gnu: No such file or directory
>> ldconfig: Can't stat /lib/x86_64-linux-gnu: No such file or directory
>> ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
>> ldconfig: Cannot stat /usr/lib/libfakeroot-0.so: No such file or directory
>> ldconfig: Cannot stat /usr/lib/libgthumb-2.6.9.so: No such file or directory
>> libXrender.so.1 -> libXrender.so.1.3.0
>>
>> Something looks fishy here......
>
> Hmm ... Im not sure if this is so fishy. When ldconfig returns Can't
> stat, that means the dir/file is mentioned in the config for ldconfig
> (that is in one of the files in /etc/ld.so.conf.d/) but is not in the
> system. When it returnes Cannot stat then the file is usually a
> symlink to a file that no longer exists. But that these dirs are not
> there (specially /usr/lib/i486-linux-gnu and
> /usr/lib/x86_64-linux-gnu) could be a problem, not familiar with the
> 64 bit architecture to know if they should be there or not.
>

Here is why I think something is fishy

root(a)dj:/home/wtopa# ls -al /usr/lib/libXrender*
-rw-r--r-- 1 root root 58K 2009-11-25 13:54 /usr/lib/libXrender.a
lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so ->
libXrender.so.1.3.0
lrwxrwxrwx 1 root root 19 2009-12-10 06:48 /usr/lib/libXrender.so.1 ->
libXrender.so.1.3.0
-rw-r--r-- 1 root root 38K 2009-11-25 13:54 /usr/lib/libXrender.so.1.3.0


The libs are here in /usr/lib but the eagle program is not looking there.

Thanks for the help anyway. will see if the DD knows what's up.
Acroread on amd64 is failing with the same errors as eagle, yet they
both work on my 686 box.

Wayne



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BA40782.1050602(a)gmail.com