Operating System - HP-UX
1830443 Members
1920 Online
110004 Solutions
New Discussion

Shared library problems (missing bpd files)

 
Peter Kovacs 1.0rc
Frequent Advisor

Shared library problems (missing bpd files)

Hi,

This is a recurring problem with various applications (including ours :-) ).

Dynamically linked libraries fail to load due to missing *.bpd files. The shared lib*.so file itself exists, "just the *.bpd file.

This time, Oracle 10gR2 cannot find /usr/lib/hpux32/dpd/libnjni10.so.bpd.

The time before, we could not compile our own shared library so that it is loadable -- due to a similar problem of missing this mysterious *.bpd file.

Any insight is appreciated.

Thanks
Peter
6 REPLIES 6
Peter Kovacs 1.0rc
Frequent Advisor

Re: Shared library problems (missing bpd files)

Just for the record: "relink all" helped in the particular case of the Oracle upgrade problem.
whiteknight
Honored Contributor

Re: Shared library problems (missing bpd files)

Hi Peter,


1) Check whether any errors occur during a 'relink all' (and resolve them)

2). Collect tusc output by running the following command (or similar):


WK
Problem never ends, you must know how to fix it
Peter Kovacs 1.0rc
Frequent Advisor

Re: Shared library problems (missing bpd files)

"relink all" completed successfully and solved this particular problem (as pointed out in my previous mail).

It was using "tusc" that I discovered that the loading problem was actually due to missing *.bpd files.

Thanks
Peter
Dennis Handly
Acclaimed Contributor

Re: Shared library problems (missing bpd files)

>Peter: It was using "tusc" that I discovered that the loading problem was actually due to missing *.bpd files.

tusc may always show a stat on those files. If it is there, it does something special.
Peter Kovacs 1.0rc
Frequent Advisor

Re: Shared library problems (missing bpd files)

> Dennis: tusc may always show a stat on those files. If it is there, it does something special.

Interesting... The *.bpd file is still not there. So probably it is not a required part of a shared library.

The reason I am insisting on this (despite the solved Oracle upgrade problem) that we have our own shared library, which we could create and use on other operating systems (Windows, Linux, Solaris, Mac OS X), but with which we have no luck on HP-UX: we can build the library, but cannot use due to an unresolved reference problem. Using tusc, I determined that the last problematic operation involved in reference resolution was the lack of existence of a *.bpd file name similarly to our shared library.

Has anyone an idea what those *.bpd files are good for -- or why the loader is looking for them?

Thanks
Peter
Dennis Handly
Acclaimed Contributor

Re: Shared library problems (missing bpd files)

>So probably it is not a required part of a shared library.

Right. If you have one, you have a "bad" shlib. ;-)

>but with which we have no luck on HP-UX: we can build the library, but cannot use due to an unresolved reference problem.

This seems like your real problem.
What's the symbol? Where is it defined?

>Has anyone an idea what those *.bpd files are good for

I'm not sure if this is for public consumption.
(These aren't the droids you're looking for. ;-)