1834637 Members
2518 Online
110069 Solutions
New Discussion

Re: oratcl4.3 problem

 
Laszlo Pap
Occasional Advisor

oratcl4.3 problem

I have a HP L2000 server,
-hp-ux 11i version 1 op. system 2004. december release
-Oracle 10G
-gcc 3.4.3 compiler from HP official site
-AnsiC from Application CD
-tcltk 8.4.9 64bit from HP archive center
-Oratcl 4.3 source code

After the command

./configure --with-tcl=/usr/local/src/tcltk-8.4.9/tcl/unix --enable-shared --with-tclinclude=/usr/local/src/tcltk8.4.9/tcl/generic --prefix=/usr/local/lib --exec-prefix=/usr/local/lib --enable-64bit

make, make install was succesfull.

When I start the usr/local/bin/tclsh and load the oratcl package I get the following messages:

/usr/lib/dld.sl: Bad magic number for shared library: /usr/local/lib/Oratcl4.3/libOratcl4.3.sl

/usr/lib/dld.sl: Exec format error

couldn't load file "/usr/local/lib/Oratcl4.3/libOratcl4.3.sl": exec format error

**********
chatr says for libOratcl4.3.sl:

64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/local/lib
shared vtable support disabled
explicit unloading enabled
segments:
index type address flags size
5 text 4000000000000000 z---c- D (default)
6 data 8000000100000000 ---m-- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled

What is wrong.

Thanks for your help in advance.

Laszlo


1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: oratcl4.3 problem

Make sure SHLIB_PATH includes the appropriate directories of the oracle binaries. This should be okay if the install guide was followed closely.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com