Maurizio Caloro | 26 Jul 2012 15:12
Picon
Picon

wfica search only /usr/lib


Try to use Citrix Receiver 12.x and have following question
i know that all Pakages installed in "/usr/pkg/lib".

X86_D530# ldd /usr/pkg/lib/ICAClient/wfica
/usr/pkg/lib/ICAClient/wfica:
        -ldl.2 			=> not found
        -lasound.2 		=> not found
        -lgthread-2.0.0 	         => not found
        -lrt.1			=> not found
        -lgtk-x11-2.0.0 	         => not found
        -lgdk-x11-2.0.0 	         => not found
        -latk-1.0.0 		=> not found
        -lm.6 			=> not found
        -lpango-1.0.0 		=> not found
        -lcairo.2 		=> not found
        -lgobject-2.0.0      	=> not found
        -lgmodule-2.0.0 	         => not found
        -lglib-2.0.0 		=> not found
        -lc.6 			=> not found
        -lX11.6 		         => not found
        -lXext.6 		         => not found
        -lXrender.1 		=> not found
        -lXinerama.1		=> not found
        -lpangocairo-1.0.0 	=> not found        
        -lgdk_pixbuf-2.0.0 	=> not found
        -lpthread.0 		=> /usr/lib/libpthread.so.0
        -lc.12 			=> /usr/lib/libc.so.12

found "wfica.sh" and add following
(Continue reading)

OBATA Akio | 26 Jul 2012 15:32
Picon

Re: wfica search only /usr/lib

On Thu, 26 Jul 2012 22:12:55 +0900, Maurizio Caloro <mauric <at> gmx.ch> wrote:

> X86_D530# ldd /usr/pkg/lib/ICAClient/wfica

Isn't it a Linux binary?
try to use /emul/linux/usr/bin/ldd instead.

--

-- 
OBATA Akio / obache <at> NetBSD.org

Maurizio Caloro | 26 Jul 2012 15:41
Picon
Picon

Re: wfica search only /usr/lib

> > Datum: Thu, 26 Jul 2012 22:32:08 +0900
> > Thu, 26 Jul 2012 22:12:55 +0900, mauric wrote:
> >
> > X86_D530# ldd /usr/pkg/lib/ICAClient/wfica
> 
> Isn't it a Linux binary?

linuxx86_12.1.0.203066.tar

> try to use /emul/linux/usr/bin/ldd instead.

X86_D530# /usr/pkg/emul/linux/usr/bin/ldd /usr/pkg/lib/ICAClient/wfica
        not a dynamic executable

Maurizio Caloro | 27 Jul 2012 16:16
Picon
Picon

Re: wfica search only /usr/lib


Why i don't find any "GlibC" pakage in pkgsrc ?
  - wip/pkgsrc it's any older Version available.
Can please any help me !
regards
Mauri

--
>Hello and Thanks for your answer
>i think me libc.so.6 are to old !?
>
>wfica wan't Glibc2.4 and i have libc2.3.5
>Please whats here the best turnaround?
>
>ls -la /usr/pkg/emul/linux/lib/libc*
>-rwxr-xr-x  1 root  wheel  1409643 Jul 11 11:08
>/usr/pkg/emul/linux/lib/  libc-2.3.5.so
>lrwxr-xr-x  1 root  wheel       13 Jul 11 11:08
>/usr/pkg/emul/linux/lib/        libc.so.6 -> libc-2.3.5.so
>
>after mod. "LD_PRELOAD" wfica.sh with following.
># cat /usr/pkg/lib/ICAClient/wfica.sh
>
>#!/bin/sh
>ICAROOT=/usr/pkg/lib/ICAClient
>export ICAROOT
>LD_PRELOAD=/usr/pkg/lib/libasound.so.2
>export LD_PRELOAD
>LD_PRELOAD1=/usr/pkg/emul/linux/lib/tls/libc.so.6
>export LD_PRELOAD1
(Continue reading)

Jeremy C. Reed | 27 Jul 2012 16:49

Re: wfica search only /usr/lib

On Fri, 27 Jul 2012, Maurizio Caloro wrote:

> Why i don't find any "GlibC" pakage in pkgsrc ?
>   - wip/pkgsrc it's any older Version available.
> Can please any help me !

Building and installing glibc probably wouldn't help as you are using 
Linux emulation.

Maybe you need to use a different suse* package for it.  What suse* 
packages do you have installed now? Maybe a different one has the 
libc-2.4.x.so file you need.

Maurizio Caloro | 27 Jul 2012 17:58
Picon
Picon

Re: wfica search only /usr/lib

Am 27.07.2012 16:49, schrieb Jeremy C. Reed:
> On Fri, 27 Jul 2012, Maurizio Caloro wrote:
>
>> Why i don't find any "GlibC" pakage in pkgsrc ?
>>   - wip/pkgsrc it's any older Version available.
>> Can please any help me !
> Building and installing glibc probably wouldn't help as you are using 
> Linux emulation.
>
> Maybe you need to use a different suse* package for it.  What suse* 
> packages do you have installed now? Maybe a different one has the 
> libc-2.4.x.so file you need.
>

here in this i found libc.so.6  - "suse_base-10.0nb5   Linux
compatibility package"

And this are the installed Suse Packages on me Machine
suse_base-10.0nb5   Linux compatibility package
suse_locale-10.0nb2 Linux compatibility package with locale files
suse_x11-10.0nb4    Linux compatibility package for X11
suse_openmotif-10.0nb2 Linux compatibility package for OpenMotif
suse_compat-10.0nb3 Linux compatibility package with old shared libraries
suse_openssl-10.0nb5 Linux compatibility package for OpenSSL
suse_libcups-10.0nb4 Linux compatibility package for CUPS
suse_expat-10.0nb2  Linux compatibility package for expat
suse_freetype2-10.0nb5 Linux compatibility package for freetype-2.x
suse_fontconfig-10.0nb7 Linux compatibility package for fontconfig
suse_libjpeg-10.0nb2 Linux compatibility package for JPEG
suse_libpng-10.0nb4 Linux compatibility package for PNG
(Continue reading)

Jeremy C. Reed | 27 Jul 2012 18:10

Re: wfica search only /usr/lib

Well I looked at a few of the suse_base packages and saw libc 2.3.x 
and libc 2.11.x and libc 2.14.x.  Maybe using 2.11.x or 2.14.x will 
work. See the suse_base-12 and suse_base-11 packages.

David Laight | 26 Jul 2012 19:39
Picon

Re: wfica search only /usr/lib

On Thu, Jul 26, 2012 at 03:12:55PM +0200, Maurizio Caloro wrote:
> 
> Try to use Citrix Receiver 12.x and have following question
> i know that all Pakages installed in "/usr/pkg/lib".
> 
> X86_D530# ldd /usr/pkg/lib/ICAClient/wfica

Run 'objdump -p /usr/pkg/lib/ICAClient/wfica' and look at the
NEEDED and RPATH entries to work out where it will be looking for
libraries.

And/or run 'ktrace /usr/pkg/lib/ICAClient/wfica; kdump' to
see exactly which filenames are tried.

	David

--

-- 
David Laight: david <at> l8s.co.uk

Maurizio Caloro | 27 Jul 2012 00:36
Picon
Picon

Re: wfica search only /usr/lib

Hello and Thanks for your answer
i think me libc.so.6 are to old !?

wfica wan't Glibc2.4 and i have libc2.3.5
Please whats here the best turnaround?

ls -la /usr/pkg/emul/linux/lib/libc*
-rwxr-xr-x  1 root  wheel  1409643 Jul 11 11:08
/usr/pkg/emul/linux/lib/  libc-2.3.5.so
lrwxr-xr-x  1 root  wheel       13 Jul 11 11:08
/usr/pkg/emul/linux/lib/        libc.so.6 -> libc-2.3.5.so

after mod. "LD_PRELOAD" wfica.sh with following.
# cat /usr/pkg/lib/ICAClient/wfica.sh

#!/bin/sh
ICAROOT=/usr/pkg/lib/ICAClient
export ICAROOT
LD_PRELOAD=/usr/pkg/lib/libasound.so.2
export LD_PRELOAD
LD_PRELOAD1=/usr/pkg/emul/linux/lib/tls/libc.so.6
export LD_PRELOAD1
$ICAROOT/wfica -log -file $1

D530# ./wfica.sh
/usr/pkg/lib/ICAClient/wfica: /lib/libc.so.6: version `GLIBC_2.4' not
found (required by /usr/pkg/lib/ICAClient/wfica)

ls -la /usr/pkg/emul/linux/lib/libc*
-rwxr-xr-x  1 root  wheel  1409643 Jul 11 11:08
(Continue reading)


Gmane