bug-bash
[Top][All Lists]
Advanced

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

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8


From: Mark Reis
Subject: Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8
Date: Wed, 26 Apr 2006 17:05:36 -0400
User-agent: Thunderbird 1.5.0.2 (X11/20060424)

Oh, I'm not sure if this would be worthy of the build notes - if you
compile in libnsl statically on Solaris 9, bash will segfault when you
try to run it on Solaris 10 with:

# exec bash
ld.so.1: bash: fatal: relocation error: file bash: symbol
_register_forkhandler: referenced symbol not found

If I changed the recommended make statement to:

make STATIC_LD= LOCAL_LIBS='-B dynamic -R/usr/lib -lnsl -ldl -B static'.

It works on both Sol 9 and Sol 10 now.

Cheers,
Mark

Chet Ramey wrote:
> Mark Reis wrote:
>   
>>  I'm attempting to build a static version of Bash 3.1 on Solaris 9 using
>> Sun's cc version
>> 5.8 2005/10/13. It fails during make when compiling
>>   (I'm attempting to install to the /usr/cs directory). Any help would
>> be appreciated.
>>     
>
> Well, the compiler's not finding <dirent.h>, that much is clear.
>
> Chet
>   




reply via email to

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