[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with libXrender



Ó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@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@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


Reply to: