1753879 Members
7463 Online
108809 Solutions
New Discussion юеВ

Re: SM7 for HPUX

 
HWANY
Regular Advisor

SM7 for HPUX

Hi everyone..

I was installed SM7 on HPUX and configured database(oracle)

but some problem was execute sm command

============================================
# su - smuser
$ /RUN/sm
/usr/lib/dld.sl: Unresolved symbol: __text_start (data) from /opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code) from /usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: __text_start (data) from /opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code) from /usr/lib/libCsup.2
Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/ov/sm/common/core/Init

Error! initializing java in scjvm.cpp

==============================================
i don't know root cause...

i checked ldd -d or -v, it's ok
also, checked aC++ patch (PHSS_33945) is installed

* Environment
SHLIB_PATH=.:/opt/HP/sm7/Server/RUN:$ORACLE_HOME/lib32/opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server:/opt/HP/sm7/Server/RUN/jre/lib/PA_R
ISC2.0/server:/opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0

JDK 1.5 installed
HPUX 11.11
SM7 7.01



please reply...thanks

17 REPLIES 17
Dennis Handly
Acclaimed Contributor

Re: SM7 for HPUX

Is sm linked with libcl.2? Use chatr(1) or ldd(1) to check.
If not, you can't load aC++ plugins into it.

See:
http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/distributing.htm#linking
HWANY
Regular Advisor

Re: SM7 for HPUX

Dennis.. thanks..for your reply..

but i don't understand your help
i checked libcl.2 using ldd command

/opt/HP/sm7/Server/RUN>ldd -v /usr/lib/libcl.2

find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1

find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/lib/libdld.2; required by /usr/lib/libc

Dennis Handly
Acclaimed Contributor

Re: SM7 for HPUX

>i checked libcl.2 using ldd command

You need to do this on the executable and you should see libcl.2.
yang.xue-yun
Advisor

Re: SM7 for HPUX

Hi, HWANY

I have the same error like you.

Did you resolve this problem?
Dennis Handly
Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: I have the same error like you.

Can you do that ldd that I requested?
(What is the executable?)
yang.xue-yun
Advisor

Re: SM7 for HPUX

Hi Dennis,

Actually I can't feel you.

What does this "executable" mean exactly?

like this?
--------------------------------------------
$ cd /data/HP/SM7/Server/RUN
$ ldd -v /usr/lib/libcl.2

find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1

find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
--------------------------------------------


Dennis Handly
Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: What does this "executable" mean exactly?

Load modules include shlibs and executables.
Executable is the binary that you run, that's not a script.

>like this? $ ldd -v /usr/lib/libcl.2

No, probably: ldd -v sm
Have you looked at my URL above?
yang.xue-yun
Advisor

Re: SM7 for HPUX

--------------------------------------
$ ldd -v sm
ldd: Invalid file type: "sm". Shared executable or shared library expected.
--------------------------------------

we have installed HP aC++ -AA runtime libraries (aCC A.03.60)(PHSS_31221) and libc cumulative patch(PHCO_35743).

What does the document mean? Just the patches?
Dennis Handly
Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: ldd: Invalid file type: "sm". Shared executable or shared library expected.

If sm is a script, you have to find out what executable it invokes.