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

Re: file not found - hardware, fs, or driver problem?

On Tue, Dec 13, 2005 at 07:52:56PM +0000, Richard Lyons wrote:
> $ ldd qcad
>         linux-gate.so.1 =>  (0x00000000)
>         ...
>         libXcursor.so.1 => not found
>         ...
> I cannot find linux-gate on packages.debian, so I don't know about that.

That linux-gate.so is a "virtual DSO", so there is no corresponding
file (see [1] for a concise explanation of what this is about).
IOW, that should be fine -- though I'd be marginally worried about it
being mapped to 0x00000000 (I'm not entirely sure how that's supposed
to behave in a mixed arch environment...  Anyone else knows?)

Well, we'll know if that's ok, once that libXcursor thing is resolved...
(Would be kind of a pity, though, if that turned out to be the final
show stopper :)

> It looks as though libXcursor is the only other problem.  So I
> downloaded the i386  package, and did, as you suggest:
> # dpkg -X libxcursor1_1.1.3-1_i386.deb /emul/ia32-linux
> There seems to be a file in the /emul/ia32-linux/usr/lib directory,
> but the output of ldd is unchanged

Have you run ldconfig(8) to update the ld.so.cache?
(/etc/ld.so.conf should already contain the dirs /emul/ia32-linux/lib,
/emul/ia32-linux/usr/lib and /emul/ia32-linux/usr/X11R6/lib)

If all else fails, you could also try to set LD_LIBRARY_PATH to point
to /emul/ia32-linux/usr/lib -- see ld.so(8).

Good luck (actually, I think you're almost there...),


[1] http://www.trilithium.com/johan/2005/08/linux-gate/

(generally recommended read, BTW (high geek factor) -- you never
know... one day, your GF might ask how system calls are being made,
and you wouldn't want to risk leaving a bad impression... ;)

Reply to: