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 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.

wfcmgr requires, 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.
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
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.

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 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 => /usr/X11R6/lib/ (0xbbb8a000) => /usr/X11R6/lib/ (0xbbb39000) => /usr/X11R6/lib/ (0xbba3f000) => /lib/ (0xbba3b000) => /lib/ (0xbb9e8000) => /lib/ (0xbb8c7000) => /usr/X11R6/lib/ (0xbb8b9000) => /usr/X11R6/lib/ (0xbb8a3000) => /usr/X11R6/lib/ (0xbb899000) => /usr/X11R6/lib/ (0xbb881000) => /usr/X11R6/lib/ (0xbb86b000)
        /lib/ (0xbbbe9000)


Home | Main Index | Thread Index | Old Index