Operating System - HP-UX
1757090 Members
2065 Online
108858 Solutions
New Discussion юеВ

Problem with /usr/lib/dld.sl

 
SOLVED
Go to solution

Problem with /usr/lib/dld.sl

Hi,
I have a problem when I try to run a C program in HP-UX 11.11.
This program runs very well in HP-UX 10.20.
The error message showed is:
/usr/lib/dld.sl: Unresolved symbol: getccnam (code) from /usr/cognos/ib33d/lib/
gds.sl
Abort
I explain all my process in the attachment.
Thanks
Rich
21 REPLIES 21
Cheryl Griffin
Honored Contributor

Re: Problem with /usr/lib/dld.sl

Has your program been recompiled to run at 11.11?

Cheryl
"Downtime is a Crime."
Jeff Schussele
Honored Contributor

Re: Problem with /usr/lib/dld.sl

Hi Ricardo,

Not positive if this is the cause but:

11.0 => libdld.sl -> libdld.2

10.2 => libdld.sl -> libdld.1

11.0 has BOTH libdld.1 & libdld.2, but libdld.sl is linked to libdld.2
10.2 has ONLY libdld.1 & libdld.sl is linked to it.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: Problem with /usr/lib/dld.sl

Forgot to add that in 11.0
libdld.0 -> libdld.1

So maybe if you need what's in libdld.1 you should use either libdld.1 (directly) or libdld.0 on the command line.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!

Re: Problem with /usr/lib/dld.sl

Thanks for help.

I tried to use directly libdld.0 but did not result.

I'm downloading the PHSS_26263 patch, what do you thing about?

Rich.
Rich
Jeff Schussele
Honored Contributor

Re: Problem with /usr/lib/dld.sl

Certainly worth a try.
Seems to address some of the types of problem you're having.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!

Re: Problem with /usr/lib/dld.sl

Hi,

I installed the patch PHSS_26263 and when compiled the program again one of the warnings desapeard, this one:
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ejerep1.o) was detec
ted. The linked output may not run on a PA 1.x system.

But when I run the program send the same message:
/usr/lib/dld.sl: Unresolved symbol: getccnam (code) from /usr/cognos/ib33d/lib/

I tried this action:
cc -v $1.c -lcurses -L /lib/libcurses.sl /usr/cognos/ib33d/lib/gds.sl /usr/lib/
libdld.1 -o $1
like you said Jeff, but did not result. What can I do?
Rich

Re: Problem with /usr/lib/dld.sl

Now what can I do?.
I stalled the patch, but the error doesn't fix.

It's very urgent....
Rich

Re: Problem with /usr/lib/dld.sl

Michael:

The getccnam symbol isn??t in my program code it belong to the gds.sl library from Cosgnos Interbase 3.3d.

But why in 10.20 works?
Rich
Jeff Schussele
Honored Contributor

Re: Problem with /usr/lib/dld.sl

Hi (again) Ricardo,

Is the Cognos Interbase 3.3d SW specifically for HP-UX 11.11?
Remember that 10.2 is 32-bit whereas 11.11 can run 32 or 64 bit. Are you running 11.11 64 bit?
What is the model of your server?
If you haven't done so already, you may need to upgrade the Cognos SW to get 64 bit support.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!