Hi dbi-users,

I just want to share with you the solution to the famous "Solaris patch" problem
that finally worked for my system.
 
I support a production system on Solaris 2.6 which was recently upgraded to
Oracle 8.1.6, OAS 4.0.8.2, Perl 5.005_03, DBI 1.15 and DBD 1.06 (also Oracle
Developer 6i and Workflow 2.5.1).
I came across the problem described in the README.java. 3 workarounds are listed
there. The first 2 did not work for my system mainly because of OAS (and its
required java components). So I tried the 3rd one (re-building Perl linked with
the thread library) and ... success.
I simply added "-lthread" at the additional libraries of config.sh file.

There are 2 ways to do that:
1) - Edit the existing config.sh found in the perl source dir.
   - Find var libs and add the -lthread 
     (e.g. libs='-lsocket -lnsl -ldl -lm -lc -lcrypt -lthread')
   - Run: sh Configure -S
          make depend
          make
          make test 
          make install
or
2) - Run configure interactively and add the "-lthread" at the question "Any
additional libraries?".

Please note that this worked for me, but I still monitor the system for possible
side-effects from the thread linking. I would really appreciate your opinion, or
if you are aware of any problems.

Best regards,
Agis

Reply via email to