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

Re: citrix client on amd64



Hello,

Thanks for the repsonse.  On my machine, it looks like this..

/usr/lib32 -> /emul/ia32-linux/usr/lib
/lib32 -> /emul/ia32-linux/lib

These /emul* directories contain the same libraries.

I'm not running ICA 9.0 but version 10.6.

Trying to run the citrix wfcmgr from either /usr/lib/ICAClient or from
within a chroot returns an error.

>From /usr/lib/ICAClient, i.e. not from a chroot, I always receive the error

******
error while loading shared libraries: libXm.so.3: cannot open shared
object file: No such file or directory
******

As mentioned below...
ldd /usr/lib/ICAClient/wfcmgr --> returns this:

******
        linux-gate.so.1 =>  (0xffffe000)
        libXm.so.3 => not found
        libXp.so.6 => /usr/lib32/libXp.so.6 (0xf7fab000)
        libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf7f9b000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7f91000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7f79000)
        libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf7f64000)
        libdl.so.2 => /var/chroot/sid-ia32/lib/libdl.so.2 (0xf7f60000)
        libpthread.so.0 => /var/chroot/sid-ia32/lib/libpthread.so.0 (0xf7f48000)
        libc.so.6 => /var/chroot/sid-ia32/lib/libc.so.6 (0xf7e0a000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7dba000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7cce000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7cc0000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7cbd000)
        /lib/ld-linux.so.2 (0xf7fc4000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7cb8000)
****

The libXm.so.3 is in both emul/ia32-linux/lib and
emul/ia32-linux/usr/lib.  Where else do I need to put it?

When running the command from a chroot, I receive the other error, i.e.

*********
/usr/lib/ICAClient/wfcmgr: error while loading shared libraries:
libXm.so.3: wrong ELF class: ELFCLASS64
*********

Either way I don't see what is missing or incorrect.  All the
libraries seem to be in place.

Any help/idea is greatly appreciated!

Thanks
regexes

On Wed, Sep 10, 2008 at 5:32 PM, Anthony BERGER <anthony.berger@cea.fr> wrote:
> Le mercredi 10 septembre 2008 10:40, reg exes a écrit :
> |> Hello,
> |>
> |> Thanks to Gudjon for the libmotif3 package!
> |>
> |> Now I have another problem and don't know what to try next... :-)
> |>
> |> I have installeed the Citrix10 client into it's usual location, i.e.
> |> /usr/lib/ICAClient.
> |>
> |> When I try to run the client, it returns the very famous...
> |>  error while loading shared libraries: libXm.so.3: cannot open shared
> |> object file: No such file or directory
> |>
> |> If I run an "ldd /usr/lib/ICAClient", I get the following output:
> |>
> |> *******
> |> myhost:blabla:~> ldd /usr/lib/ICAClient/wfcmgr
> |>         linux-gate.so.1 =>  (0xffffe000)
> |>         libXm.so.3 => not found
> |>         libXp.so.6 => /usr/lib32/libXp.so.6 (0xf7f65000)
> |>         libXpm.so.4 => /usr/lib32/libXpm.so.4 (0xf7f55000)
> |>         libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7f4b000)
> |>         libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7f33000)
> |>         libXmu.so.6 => /usr/lib32/libXmu.so.6 (0xf7f1e000)
> |>         libdl.so.2 => /lib32/libdl.so.2 (0xf7f1a000)
> |>         libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f09000)
> |>         libc.so.6 => /lib32/libc.so.6 (0xf7dde000)
> |>         libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7d8e000)
> |>         libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7ca2000)
> |>         libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7c94000)
> |>         libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7c91000)
> |>         /lib/ld-linux.so.2 (0xf7f7c000)
> |>         libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7c8c000)
> |> *******
> |>
> |> Ok.. I've seen many questions concerning this issue and many
> |> solutions, however, none seem to work.  I must be doing something
> |> incorrectly...
> |>
> |> The file exists...
> |> myhost:blabla:~> ll /usr/lib32/libXm.so.3
> |> lrwxrwxrwx 1 root root 14 2008-09-08 19:01 /usr/lib32/libXm.so.3 ->
> |> libXm.so.3.0.2
> |>
> |> If I run "strace /usr/lib/ICAClient/wfcmgr", I receive errors stating
> |> that the above mentioned libXm cannot be found, for example...
> |>
> |> *********
> |> <snip>
> |> open("/usr/lib32/tls/i686/sse2/cmov/libXm.so.3", O_RDONLY) = -1 ENOENT
> |> (No such file or directory)
> |> stat64(0xfffbc000, 0xfffbc074)          = -1 ENOENT (No such file or
> |> directory) open("/usr/lib32/tls/i686/sse2/libXm.so.3", O_RDONLY) = -1
> |> ENOENT (No such file or directory)
> |> stat64(0xfffbc000, 0xfffbc074)          = -1 ENOENT (No such file or
> |> directory) open("/usr/lib32/tls/i686/cmov/libXm.so.3", O_RDONLY) = -1
> |> ENOENT (No such file or directory)
> |> stat64(0xfffbc000, 0xfffbc074)          = -1 ENOENT (No such file or
> |> directory) open("/usr/lib32/tls/i686/libXm.so.3", O_RDONLY) = -1 ENOENT
> |> (No such file or directory)
> |> <snip>
> |> **********
> |>
> |> I've tried linking libXm.so.3 to some of these directories but that
> |> does not help either.
> |>
> |> Any ideas?
> |>
> |> Thanks
> |> regexes
>
>
> hello
>
> if i understand, you try to install a 32 bits icaclient app on a 64  bit arch.
> You need to install the 32 bits motif library...
> try to copy the libs in /usr/lib32
> (pleiades040:~# ls -al /usr/lib32
> lrwxrwxrwx 1 root root 24 2008-08-25
> 08:46 /usr/lib32 -> /emul/ia32-linux/usr/lib)
>
> I was created my own package  for a amd64 arch that just contain the lib32
> (this package have a dependance on the amd64 libmotif3 package)
> dpkg -L lib32-libmotif3
> ...
> /emul
> /emul/ia32-linux
> /emul/ia32-linux/usr
> /emul/ia32-linux/usr/lib
> /emul/ia32-linux/usr/lib/libXm.so.3.0.2
> /emul/ia32-linux/usr/lib/libUil.so.3.0.2
> /emul/ia32-linux/usr/lib/libMrm.so.3.0.2
> /emul/ia32-linux/usr/lib/libXm.so.3
> /emul/ia32-linux/usr/lib/libUil.so.3
> /emul/ia32-linux/usr/lib/libMrm.so.3
>
>
> This is not very clean
> But icaclient works fine (ICA 9.0)
>
>
>
> Anthony
>
> --
>
> Anthony BERGER
> Administrateur Système
> Infogérance CEA Cadarache
> Tel : 04 42 25 78 46
>


Reply to: