HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shared library problem - HPUX 11.0
Operating System - HP-UX
1832431
Members
3455
Online
110042
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 03:16 AM
08-06-2001 03:16 AM
shared library problem - HPUX 11.0
Hello,
I am using aC++ A03.27 version of your compiler. I am building shared libs
for our WEB application that get accessed via JNI. These are the switches I
use to build each library.
CCFLAGS = -b -v -c +z +p -AA +DAportable +DD32 -DHPUX -D_REENTRANT
-D_RWSTD_MULTI_THREAD
LDLIBS = -lPerfLib -lErrorSystem -lodbc -lpthread
LINKER = aCC
SHARED_LD_FLAGS = -v +p -AA +DAportable +DD32 -b -DHPUX -D_REENTRANT
-D_RWSTD_MULTI_THREAD
I have a test program that I run and everything works fine. However, when I
move these libraries to our application server and then try to access them
via a JNI call from a java servlet, I get the following types of errors.
aCC runtime: Error 215 from
shl_findsym(/home/wlogic1/weblogic/myserver/MarketMA
X/WEB-INF/lib/HPUX/lib/libErrorSystem.sl,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: [Vftptr]key:__dt__Q2_3std9exceptionFv
(data)
from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInter
face.sl
/usr/lib/dld.sl: Unresolved symbol:
__nullref__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocat
orXTc__ (data) from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterfac
e.sl
/usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data)
from /h
ome/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterface.
sl
/usr/lib/dld.sl: Unresolved symbol: _C_classic_table__Q2_3std5ctypeXTc_
(data)
from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterfa
ce.sl
Do you have any ideas as to what is causing this problem? I am an HPUX
newbie, so I am at quite a loss as to what is going on here.
Please HELP!!!
I am using aC++ A03.27 version of your compiler. I am building shared libs
for our WEB application that get accessed via JNI. These are the switches I
use to build each library.
CCFLAGS = -b -v -c +z +p -AA +DAportable +DD32 -DHPUX -D_REENTRANT
-D_RWSTD_MULTI_THREAD
LDLIBS = -lPerfLib -lErrorSystem -lodbc -lpthread
LINKER = aCC
SHARED_LD_FLAGS = -v +p -AA +DAportable +DD32 -b -DHPUX -D_REENTRANT
-D_RWSTD_MULTI_THREAD
I have a test program that I run and everything works fine. However, when I
move these libraries to our application server and then try to access them
via a JNI call from a java servlet, I get the following types of errors.
aCC runtime: Error 215 from
shl_findsym(/home/wlogic1/weblogic/myserver/MarketMA
X/WEB-INF/lib/HPUX/lib/libErrorSystem.sl,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: [Vftptr]key:__dt__Q2_3std9exceptionFv
(data)
from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInter
face.sl
/usr/lib/dld.sl: Unresolved symbol:
__nullref__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocat
orXTc__ (data) from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterfac
e.sl
/usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data)
from /h
ome/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterface.
sl
/usr/lib/dld.sl: Unresolved symbol: _C_classic_table__Q2_3std5ctypeXTc_
(data)
from
/home/wlogic1/weblogic/myserver/MarketMAX/WEB-INF/lib/HPUX/lib/libPEInterfa
ce.sl
Do you have any ideas as to what is causing this problem? I am an HPUX
newbie, so I am at quite a loss as to what is going on here.
Please HELP!!!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 05:43 AM
08-06-2001 05:43 AM
Re: shared library problem - HPUX 11.0
Hi there.
You might be missing the shared library path in your environment.
SHLIB_PATH=/usr/lib:/usr/lib/Motif1.2 and so on.
Rgds
Alexander M. Ermes
You might be missing the shared library path in your environment.
SHLIB_PATH=/usr/lib:/usr/lib/Motif1.2 and so on.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP