Operating System - HP-UX
1753945 Members
8333 Online
108811 Solutions
New Discussion юеВ

Using a .dll file extension for a shared library on HPUX

 
Kathy Welch
New Member

Using a .dll file extension for a shared library on HPUX

I'm supporting a partner who is doing this:
setenv LD_PRELOAD "/opt/portal/6.1/sys/dm_eai/stc_ewportaljms.dll /opt/portal/6.1/bin/dm_eai"
Note they are using a .dll file extension. Will this work? I'm trying to convince them that it won't.
The error they're getting:
/usr/lib/dld.sl: Unresolved symbol: __shlinit (code) from /opt/portal/6.1/sys/dm_eai/stc_msapi.dll
IOT trap (core dumped)

Thanks.
4 REPLIES 4
Wodisch
Honored Contributor

Re: Using a .dll file extension for a shared library on HPUX

Hello Kathy,

I do not know the answer, but is this not a question
more appropriate there:
hpux-devtools@cxx.cup.hp.com

HTH,
Wodisch
Charles Slivkoff
Respected Contributor

Re: Using a .dll file extension for a shared library on HPUX

Gordon Brown_5
Frequent Advisor

Re: Using a .dll file extension for a shared library on HPUX

There is no problem using .dll as a file extension for a SHLIB, our application works fine, but make sure that SHLIB_PATH environment variable contains a valid search path to the libraries.

Older than the 840
Kathy Welch
New Member

Re: Using a .dll file extension for a shared library on HPUX

Why are you using a .dll extension? Wouldn't this be confusing across platforms?