I'm new not only to Perl, but to Unix as well. Sorry. To make it worse, I'm
a Mac user in a former life, so things like paths, environment variables,
etc. are foreign.
So if I've made a dumb error, covered in an FAQ or the documentation
somewhere, feel free to say so nicely.
I had an installation of Perl 5.004_05 and DBI 1.13 working with an mSQL
data base. I create scripts, which I could run from the command line as any
user (chmod 755, etc.) and which worked when invoked from the Apache server
(1.3.9). This is all running on a Solaris 2.7 system, if that matters.
Recently I upgraded to Perl 5.6, using most of the defaults (except I used
gcc as the compiler) and following closely the instructions about upgrading
and using 5.6 with an older version of Perl. After upgrading, for some
reason, I couldn't run any of the scripts that called the mSQL database and
DBI had to be reinstalled. I installed DBI 1.14 following all of the
instructions, including the recommendations to remove some older files.
Now, I can run the scripts that call the database as root without error. All
other users the script fails with an "illegal instruction" as the only error
message (tried it with -w, -d etc.)
Any ideas?
Christopher
--
http://www.pryce.net