Unable to execute gnucash on Solaris 9

Neil Williams linux at codehelp.co.uk
Wed Dec 7 03:44:17 EST 2005


On Wednesday 07 December 2005 5:41 am, Beth Leonard wrote:
> On Tue, Dec 06, 2005 at 09:25:45PM -0500, KSGROI3 at twcny.rr.com wrote:
> > I installed Gnucash 1.4.7 on Solaris 9 (I know this is an older version
> > but it's the closest one I could find for SOlaris 9 - even though it was
> > build for Solaris 8).
> > But when I run /usr/local/bin/gnucash I get the following error:
> >
> > ./gnucash: syntax error at line 1: `(' unexpected
> >
> > I installed gnucash from GNUcash.1.4.7.Solaris.8.pkg
> > using pkgadd - am I executing the right binary to launch Gnucash once it
> > is installed?
>
> I agree that you need a newer version of gnucash, but with respect
> to your particular error, a little bird whispered in my ear that
> Solaris did not recognize your binary as a valid binary, and attempted
> to execute it as a shell script instead.  i.e. the binary you're
> using is not compatible with your OS and/or processor; you'll need a
> different binary.
>
> --Beth

(Beth: the 'gnucash' executable in /usr/bin IS a script - it loads guile 
behind the scenes.)

$ head /opt/garfield/gnucash/bin/gnucash
#!/bin/sh
PATH="/opt/garfield/gnucash/libexec/overrides:${PATH}"
export PATH

You would have similar results with $ head /usr/bin/gnucash

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20051207/326436e4/attachment.bin


More information about the gnucash-user mailing list