Ralph,

I have incorporated the replies of Hugh Hitchcock, and Heiko Herms into the
a new version of the README.hpux (see attached), as I beleive these remarks
may be helpful to you or others.  Thanks Hugh and Heiko.

I think most of the libraries you list below should have been included when
you 
built DBD-Oracle.  Most of these libraries (all but one of them) probably 
contain REFERENCEs the symbols in question.  You need to find the library
that
DEFINEs the symbols.  This is most likely only ONE library.  And it is
possible 
that getting it to work is as simple as defining ORACLE_HOME and
LD_LIBRARY_PATH. 

You are correct in the assessment that trying to decode the MakeMaker stuff
is knarly.
It took me a while the first time... and you should not have to any more.
The
easiest thing to do (and what I did first), is to edit the resulting
Makefile, and
add the libraries needed to OTHERLDFLAGS... usually defined in several
places... to
be safe, modify them all.

The 8.1.7 oracle (client) software built very cleanly for me, and works
against an 8.1.6 database with no problems.  You might want to have your
DBAs put up the 8.1.7 software... I think it solves a lot of these problems.

Lincoln


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 7:36 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Yet another DBD::Oracle build surrender on HP-UX 11.00
64Bit


Hello Lincoln,

with the aid of nm and your shell scriplet I have identified to
which libraries on my box the unresolved symbols belong.

> According to your output below, the symbols 
> you are looking for are:
> 
>   X509ParseCertificateData
>   X509CompareDN
>   X509FreeCertificate
> 

/oracle/EU1/816_64/lib/libclntsh.sl
/oracle/EU1/816_64/lib/libnjni8.sl
/oracle/EU1/816_64/lib/libnjssl8.sl
/oracle/EU1/816_64/lib/libocijdbc8.sl
/oracle/EU1/816_64/lib/libocijdbc8_g.sl
/oracle/EU1/816_64/lib/libowm2.sl
/oracle/EU1/816_64/lib/libqsmashr.sl
/oracle/EU1/816_64/lib/libvppdc.sl
/oracle/EU1/816_64/network/lib/libnldapj8.sl
/oracle/EU1/816_64/network/lib/libnoncj8.sl
/oracle/EU1/816_64/odg/lib/svpxos.sl
/oracle/EU1/816_64/odg/lib/vpxoafnd.sl
/oracle/EU1/816_64/odg/lib/vpxodb.sl


Since I'm not so familiar with the MakeMaker tool I'm not sure
how to pass "perl Makefile.PL" a suitable parameter that contains
above libs to have it process a working Makefile.
>From what I can figure out from the existing Makefile there seems
to be a hash key value pair for this purpose.
The appropriate key seems to be 'dynamic_lib' and its value is a
hash ref containing another key 'OTHERLDFLAGS' whose value is a
string of -L and -l flags.

Could you tell me how to create a Makefile from that?

In your recipe you had the Makefile first being written with
missing additional LD flags, and afterwards spliced in additional
libs by sed.
Will I have to do the same, or would a "make realclean" and a
"perl Makefile.PL with appropriate params do the trick more the
way MakeMaker is expecting it?

Regards
Ralph

README.hpux

Reply via email to