Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11939

Re: bash 4.3.42 does not link on Solaris 2.4

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: bash 4.3.42 does not link on Solaris 2.4
Date 2015-12-01 17:08 -0500
Message-ID <mailman.1135.1449007748.31583.bug-bash@gnu.org> (permalink)
References <56463DD3.5060006@haus-gisela.de> <56573B7F.40708@case.edu> <565C7FFA.9040803@haus-gisela.de>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bash 4.3.42 does not link on Solaris 2.4 Chet Ramey <chet.ramey@case.edu> - 2015-12-01 17:08 -0500

csiph-web