bug-bash
[Top][All Lists]
Advanced

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

Re: bash 4.3.42 does not link on Solaris 2.4


From: Chet Ramey
Subject: Re: bash 4.3.42 does not link on Solaris 2.4
Date: Thu, 26 Nov 2015 12:03:59 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/13/15 2:45 PM, Klaus Ziegler - owner of sunfreeware.de wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: sparc
> OS: solaris2.4
> Compiler: cc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
> -DCONF_OSTYPE='solaris2.4' -DCONF_MACHTYPE='sparc-sun-solaris2.4'
> -DCONF_VENDOR='sun' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
> -DSHELL  -DHAVE_CONFIG_H -DSOLARIS
>   -I.  -I. -I./include -I./lib -I./lib/intl
> -I/export/home/klausz/bash-4.3.30/lib/intl  -fast -xO5 -xtarget=generic
> -xstrconst -xdepend -Xa
> uname output: SunOS campus2 5.4 Generic_101945-64 sun4m sparc
> Machine Type: sparc-sun-solaris2.4
> 
> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
> 
> Description:
> when linking bash the following linker error is displayed:
> cc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob...
> Undefined                       first referenced
>  symbol                             in file
> random                              ./lib/sh/libsh.a(tmpfile.o)
> ld: fatal: Symbol referencing errors. No output written to bash
> 
>         Solaris 2.4 needs -L/usr/ucblib -lucb to link bash
> 
> Repeat-By:
>         doing nm on all libraries in /usr/lib and looking for random:

Does it at least have rand() in the C library?


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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