RE: DBD-Oracle-1.12 for HP-UX 11 (B.11.00 U 9000/800) - Problem bui lding

2002-02-13 Thread Szeto, Kent

Tim,

Thank you for your reply.

Okay, I *read* the README and README.hpux and search through the archives.
Followed as much as I could in the article written by LBaxter 

http:[EMAIL PROTECTED]/msg08776.html  

but still can't get DBD to go as I don't know the equivalent compile flags
(+z) for gcc.

Finally go a copy of the HP ANSI C compiler  and all worked okay. Have
anyone out there got DBD to work compiling with gcc? 

Regards,
Kent Szeto
Capacity Management
Hosting  Internet/ISP Solution  Infrastructure Planning/Infrastructure
Management 
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-Original Message-
From:   Tim Bunce [SMTP:[EMAIL PROTECTED]]
Sent:   Saturday, 9 February 2002 12:35 am
To: Szeto, Kent
Cc: '[EMAIL PROTECTED]'
Subject:Re: DBD-Oracle-1.12  for HP-UX 11 (B.11.00 U
9000/800) -  Problem bui lding

On Fri, Feb 08, 2002 at 04:23:40PM +1100, Szeto, Kent wrote:
 Dear Dbi-users,
 
 I am having trouble building the above DBD and I have NOT a clue
what the
 error messages are telling me.

 Can't shl_load() a library containing Thread Local Storage:

It's telling you to read the README file and the archives.

Tim.



Re: DBD-Oracle-1.12 for HP-UX 11 (B.11.00 U 9000/800) - Problem bui lding

2002-02-08 Thread Tim Bunce

On Fri, Feb 08, 2002 at 04:23:40PM +1100, Szeto, Kent wrote:
 Dear Dbi-users,
 
 I am having trouble building the above DBD and I have NOT a clue what the
 error messages are telling me.

 Can't shl_load() a library containing Thread Local Storage:

It's telling you to read the README file and the archives.

Tim.



Re: DBD-Oracle-1.12 on HP-UX 11

2001-09-27 Thread Richard Allen

On Wed, Sep 26, 2001 at 07:57:48AM -0500, Jay Strauss wrote:
 Do a:
 
 $ env | sort
 
 and post the output

BASH=/usr/bin/bash
COLUMNS=80
EDITOR=vi
HOME=/
HOSTTYPE=hp9000s700
LANG=is_IS.iso88591
LC_NUMERIC=C
LINES=25
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/samba/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/audio/share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/CC/share/man:/opt/imake/man
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/8.1.7
ORACLE_USERID=scott/tiger@sudda
OSTYPE=hpux_9
PATH=/usr/sbin::/usr/sbin:/usr/bin:/sbin:/opt/perl5/bin:/usr/bin:/usr/bin/eroff:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/usr/bin/X11:/opt/hparray/bin:/opt/aCC/bin:/opt/CC/bin:/opt/langtools/bin:/opt/imake/bin:/sbin:/home/root:/usr/local/bin:/home/sigpet/notesr4:/opt/java/bin:/usr/sbin:/opt/WP8/wpbin
PS1=$LOGNAME@`hostname`:$PWD-
PWD=/
SHELL=/sbin/sh
SHLVL=1
TERM=vt100
TZ=GMT
_=/usr/bin/env

-- 
Rikki. --  HP Technical Support, RHCE, RHCX, HP-UX Certified Admin.
   --  Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.

-- 
Rikki. --  RHCE, HP-UX Certified Administrator.
   --  Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.



Re: DBD-Oracle-1.12 on HP-UX 11

2001-09-27 Thread Richard Allen

On Wed, Sep 26, 2001 at 08:21:33AM -0400, [EMAIL PROTECTED] wrote:
 It looks like there is a problem with libjava.sl
 Do does java work within oracle?
 Check the Makefile, if -ljava is referenced, try removing it, and see what
 happens?

I had already checked that. there is no -ljava in the makefile.
And on the downside, I have to admit to the fact that Im just a simple
system administrator here. My knowledge on oracle is exclusivly
on the su - c oracle ; svrgmrl ; connect internal ; shutdown immediate
level... So I cant tell if java is OK in oracle.

I know they havent complained about oracle as far as I know.

-- 
Rikki. --  RHCE, HP-UX Certified Administrator.
   --  Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.



Re: DBD-Oracle-1.12 on HP-UX 11

2001-09-27 Thread Jay Strauss

You gotta set:

export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export SHLIB_PATH=$ORACLE_HOME/lib

Here's how I do it:

cd /opt/perl/src
#
gunzip -c stable.tar.gz | tar xvf -
cd perl-5.6.1
rm Policy.sh config.sh
sh Configure -Ubincompat5005 -Dprefix=/opt/perl -Duselargfiles
#
## I answered the following questions like:
#
# What libraries to use?
[-lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt
# -lsec]
# -lcl -lpthread -lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -ls
ec
#
# Any additional cc flags? [-D_HPUX_SOURCE -Aa] +z -D_HPUX_SOURCE -Aa
#
# then did a:  -d at the next question to accept defaults
#
make
make test
make install

cd /opt/perl/src
gunzip -c DBI-1.19.tar.gz | tar xvf -
cd DBI-1.19
perl Makefile.PL
make
make test
make install
#
export ORACLE_SID=my sid
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export SHLIB_PATH=$ORACLE_HOME/lib
export ORACLE_USERID=system/manager

cd /opt/perl/src
gunzip -c DBD-Oracle-1.08.tar.gz | tar xvf -
cd DBD-Oracle-1.08
perl Makefile.PL
make test install
make test
make install

- Original Message -
From: Richard Allen [EMAIL PROTECTED]
To: Jay Strauss [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 8:54 AM
Subject: Re: DBD-Oracle-1.12 on HP-UX 11


 On Wed, Sep 26, 2001 at 07:57:48AM -0500, Jay Strauss wrote:
  Do a:
 
  $ env | sort
 
  and post the output

 BASH=/usr/bin/bash
 COLUMNS=80
 EDITOR=vi
 HOME=/
 HOSTTYPE=hp9000s700
 LANG=is_IS.iso88591
 LC_NUMERIC=C
 LINES=25
 LOGNAME=root
 MAIL=/var/mail/root

MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/ma
n:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/sh
are/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/hparra
y/share/man/%L:/opt/hparray/share/man:/opt/ignite/share/man/%L:/opt/ignite/s
hare/man:/opt/samba/man:/opt/aCC/share/man/%L:/opt/aCC/share/man:/opt/audio/
share/man:/opt/blinklink/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/
man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/CC/share/man:/
opt/imake/man
 ORACLE_BASE=/u01/app/oracle
 ORACLE_HOME=/u01/app/oracle/product/8.1.7
 ORACLE_USERID=scott/tiger@sudda
 OSTYPE=hpux_9

PATH=/usr/sbin::/usr/sbin:/usr/bin:/sbin:/opt/perl5/bin:/usr/bin:/usr/bin/er
off:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/b
in:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/usr/bin/
X11:/opt/hparray/bin:/opt/aCC/bin:/opt/CC/bin:/opt/langtools/bin:/opt/imake/
bin:/sbin:/home/root:/usr/local/bin:/home/sigpet/notesr4:/opt/java/bin:/usr/
sbin:/opt/WP8/wpbin
 PS1=$LOGNAME@`hostname`:$PWD-
 PWD=/
 SHELL=/sbin/sh
 SHLVL=1
 TERM=vt100
 TZ=GMT
 _=/usr/bin/env

 --
 Rikki. --  HP Technical Support, RHCE, RHCX, HP-UX Certified
Admin.
--  Solaris 7 Certified Systems and Network Administrator.
 Bell Labs Unix --  Reach out and grep someone.
 Those who do not understand Unix are condemned to reinvent it, poorly.

 --
 Rikki. --  RHCE, HP-UX Certified Administrator.
--  Solaris 7 Certified Systems and Network Administrator.
 Bell Labs Unix --  Reach out and grep someone.
 Those who do not understand Unix are condemned to reinvent it, poorly.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: DBD-Oracle-1.12 on HP-UX 11

2001-09-27 Thread LBaxter

The reason I asked if java is OK in oracle, is that something is causing
dld to try to load the library, with the perl Oracle.sl is loaded.  That
means that something in Oracle.sl or something IT links with is linked to
that library in question.  dld, was bitching about the format of the .sl
file that it was trying to load... so obvious that library is bad.  Perhaps
relinking oracle with solve the problem

-Original Message-
From: Richard Allen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 9:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: DBD-Oracle-1.12 on HP-UX 11


On Wed, Sep 26, 2001 at 08:21:33AM -0400, [EMAIL PROTECTED] wrote:
 It looks like there is a problem with libjava.sl
 Do does java work within oracle?
 Check the Makefile, if -ljava is referenced, try removing it, and see what
 happens?

I had already checked that. there is no -ljava in the makefile.
And on the downside, I have to admit to the fact that Im just a simple
system administrator here. My knowledge on oracle is exclusivly
on the su - c oracle ; svrgmrl ; connect internal ; shutdown immediate
level... So I cant tell if java is OK in oracle.

I know they havent complained about oracle as far as I know.

-- 
Rikki. --  RHCE, HP-UX Certified Administrator.
   --  Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.



RE: DBD-Oracle-1.12 on HP-UX 11

2001-09-26 Thread LBaxter

It looks like there is a problem with libjava.sl
Do does java work within oracle?
Check the Makefile, if -ljava is referenced, try removing it, and see what
happens?


-Original Message-
From: Richard Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 25, 2001 12:29 PM
To: [EMAIL PROTECTED]
Subject: DBD-Oracle-1.12 on HP-UX 11


Im trying to install DBD-Oracle-1.12 on a HP-UX 11 host.
The box is a PA-Risc 1.1 box with Oracle 8.1.7.

I've compiled perl 5.6.1 on it as README.hpux states and done everything
else that document specifies.

root@alda:/opt/perl5/CPAN/build/DBD-Oracle-1.12-make test
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.6.1/PA-RISC1.1 -I/opt/perl5/lib/5.6.1 -e 'use
Test::Harness qw(runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage:
/u01/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads/libjava.sl
/usr/lib/dld.sl: Exec format error
t/base..FAILED tests 4-5

Failed 2/5 tests, 60.00% okay
t/general.../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage:
/u01/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads/libjava.sl
/usr/lib/dld.sl: Exec format error


It keeps complaining over lilibjava.sl...  Does anyone have any hints for
me ?

PS: Please CC: any responces to me since Im not on this mailinglist.




-- 
Rikki. --  RHCE, HP-UX Certified Administrator.
   --  Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.



Re: DBD-Oracle-1.12 on HP-UX 11

2001-09-26 Thread Jay Strauss

Do a:

$ env | sort

and post the output

- Original Message -
From: Richard Allen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 25, 2001 11:28 AM
Subject: DBD-Oracle-1.12 on HP-UX 11


 Im trying to install DBD-Oracle-1.12 on a HP-UX 11 host.
 The box is a PA-Risc 1.1 box with Oracle 8.1.7.

 I've compiled perl 5.6.1 on it as README.hpux states and done everything
 else that document specifies.

 root@alda:/opt/perl5/CPAN/build/DBD-Oracle-1.12-make test
 PERL_DL_NONLAZY=1
/opt/perl5/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl5/lib/5.6.1/PA-RISC1.1
 -I/opt/perl5/lib/5.6.1 -e 'use Test::Harness qw(runtests $verbose);
$verbose=0; runtests @ARGV;' t/*.t
 t/base../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage:
/u01/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads/libjava.sl
 /usr/lib/dld.sl: Exec format error
 t/base..FAILED tests 4-5
 Failed 2/5 tests, 60.00% okay
 t/general.../usr/lib/dld.sl: Can't shl_load() a library containing
Thread Local Storage:
/u01/app/oracle/product/8.1.7/JRE/lib/PA_RISC/native_threads/libjava.sl
 /usr/lib/dld.sl: Exec format error


 It keeps complaining over lilibjava.sl...  Does anyone have any hints for
 me ?

 PS: Please CC: any responces to me since Im not on this mailinglist.




 --
 Rikki. --  RHCE, HP-UX Certified Administrator.
--  Solaris 7 Certified Systems and Network Administrator.
 Bell Labs Unix --  Reach out and grep someone.
 Those who do not understand Unix are condemned to reinvent it, poorly.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com