chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] dlopen on solaris


From: Sven Hartrumpf
Subject: Re: [Chicken-users] dlopen on solaris
Date: Mon, 29 Jul 2002 16:24:15 +0200 (CEST)

On 29 Jul 2002, address@hidden wrote: 
> srf:~/dev/dlopen-bug-test$ gmake
> gcc -o test-dlopen test-dlopen.c -ldl -lm
> ./test-dlopen ./test-dlopen
>         argv[1] is ./test-dlopen
>         h is ff3a14c0 for ./test-dlopen
>         foo_p is 0
> ./test-script
>         argv[1] is ./test-script
>         h is ff3a1d0c for ./test-script
above I _do_ get the desired 0!
>         foo_p is 0
> ./test-dlopen ./test-script
>         argv[1] is ./test-script
>         h is 0 for ./test-script
>         foo_p is 0

>       srf:~/dev/dlopen-bug-test$ uname -a
>       SunOS srf.g8labs.co.uk 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-60
> 
>       srf:~/dev/dlopen-bug-test$ gcc -v
>       Reading specs from 
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
>       gcc version 2.95.2 19991024 (release)
> 
>       srf:~/dev/dlopen-bug-test$ ld --version
>       GNU ld 2.10.1
GNU ld version 2.11.2 (with BFD 2.11.2)
> Sven, you haven't applied any patches to the OS that I might have
> missed, have you?
No, not that I know.

But the main problem might be the shell! I am running bash as login
shell:
> set | grep BASH
BASH=/programs/free/bin/bash
BASH_VERSINFO=([0]="2" [1]="05" [2]="0" [3]="1" [4]="release" 
[5]="sparc-sun-solaris2.7")
BASH_VERSION=$'2.05.0(1)-release'

And: I have . in my PATH. (Don't know if this matters.)

Hope this helps
Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]