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: Tue, 1 Dec 2015 17:08:48 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 11/30/15 11:57 AM, Klaus Ziegler - owner of sunfreeware.de wrote:

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

OK, I'll add something that uses rand() if random() is not available.

Chet

-- 
``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]