NetBSD-Users archive

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

Re: Difference in implementation of Linux implementation or bug (ICAclient)?



On Fri, Mar 25, 2011 at 11:39 AM, Stephen Borrill
<netbsd%precedence.co.uk@localhost> wrote:
> On Thu, 24 Mar 2011, Tomas Bodzar wrote:
>>
>> I was trying to test Citrix ICAclient 11.100 for Linux in NetBSD 5.1
>> i386 under Qemu.
>
> Last time I looked v11 or later would not work because the Linux emulation
> in netbsd-5 is too old (needed new glibc). It looks like things have changed
> to some extent.

On obsd it's working without issues and they have Fedora Core 4 as
Linux emulation layer. Suse 10 is newer one for sure. But Citrix
client is not here as package or port. It was installed directly from
tar.gz installer.

>
> wfcmgr requires libXm.so.4, but wfica seems to half work (until I move a
> window and then it core dumps).
>
>> However it's not running automatically. 'ldd wfica' shows that only
>> two libraries were
>> found even when all needed libraries are available in system. Either
>> under Linux
>> emulation provided with suse package or in base Xorg.
>
> [snip]
>>
>> On NetBSD I must create symbolic links for most of them pointing to
>> /usr/lib.
>> I'm worried about future confusion for some native apps on NetBSD if I
>> start
>> with that approach as linking those libraries to /emul/linux proper
>> subdirectories
>> doesn't help with detection.
>
> You cannot mix native and Linux libraries, so make sure you have all the
> relevant Linux libraries in your /emul/linux tree. A good place to start
> would be to install citrix_ica from pkgsrc (v10.6) and work from there.

Was looking for them with locate/find and all of them are available
either in base Xorg or suse_x11

>
> I'm not sure whether you are running the native ldd or Linux ldd (the
> progname header suggests native, but the addresses at the end of each line
> suggests Linux. You need to use Linux ldd to check for libraries of a Linux
> executable. Whatever I have installed doesn't seem to like the v11 wfica

My output was from native ldd on obsd. In nbsd native ldd shows only
two libraries detected by default.

> though:
> builder# /emul/linux/usr/bin/ldd linuxx86/linuxx86.cor/wfica
>        not a dynamic executable
> builder# file linuxx86/linuxx86.cor/wfica
> linuxx86/linuxx86.cor/wfica: ELF 32-bit LSB executable, Intel 80386, version
> 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8,
> stripped
>
> The 10.6 one is OK:
> builder# /emul/linux/usr/bin/ldd /usr/pkg/lib/ICAClient/wfica
>        libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0xbbb8a000)
>        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xbbb39000)
>        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xbba3f000)
>        libdl.so.2 => /lib/libdl.so.2 (0xbba3b000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0xbb9e8000)
>        libc.so.6 => /lib/libc.so.6 (0xbb8c7000)
>        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xbb8b9000)
>        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xbb8a3000)
>        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xbb899000)
>        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xbb881000)
>        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0xbb86b000)
>        /lib/ld-linux.so.2 (0xbbbe9000)
>
> --
> Stephen
>


Home | Main Index | Thread Index | Old Index