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

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail
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 Tue, 1 Dec 2015 17:08:48 -0500
Lines 29
Approved bug-bash@gnu.org
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>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1449007749 27460 208.118.235.17 (1 Dec 2015 22:09:09 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu
To "Klaus Ziegler - owner of sunfreeware.de" <klausz@haus-gisela.de>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
In-Reply-To <565C7FFA.9040803@haus-gisela.de>
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020203.565E1A76.0298,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id 2ec4bb8927b1ddd98f81cb583f4383bb
X-Junkmail-Whitelist YES (by domain whitelist at mpv1-2015.case.edu)
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020206.565E1A77.026E,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id b290c37d80258c6a77ff804d1fd7dc25
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.226
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11939

Show key headers only | 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