Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

install bash on solaris 10?

807557Mar 2 2008 — edited Mar 3 2008
I finally could not take dealing with the pathetic default sh in solaris 10.

I would love to install a modern version of bash--has anyone had success doing this?

I found an old but nice tutorial here:
[http://everythingsolaris.org/articles/mtbays/frameset.html]
and followed its instructions exactly except that I used modern versions of stuff.

Here is exactly what I did:
download bash-3.2.17-sol10-x86-local.gz from http://www.sunfreeware.com/programlistintel10.html
gunzip bash-3.2.17-sol10-sparc-local.gz
pkgadd -d bash-3.2.17-sol10-sparc-local
(then answer y to create /usr/local)
(pkgadd claimed that the installation was a success)
pkginfo -l SMCbash (to confirm the installation)

similar procedure for libiconv-1.11-sol10-x86-local.gz, which is somethign that bash on solaris is dependent on

I then tried running
/usr/local/bin/bash
but I get the error
ld.so.1: bash: fatal: /usr/local/lib/libiconv.so.2: wrong ELF data format: ELFDATA2LSB
Does anyone have any idea what went wrong and how to cure?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2008
Added on Mar 2 2008
4 comments
2,617 views