1837781 Members
4683 Online
110119 Solutions
New Discussion

Re: libcma.1

 
tony brown_3
Advisor

libcma.1

I've an application running on hp-ux 10.20 . Which when run fails with an error message of "unresolved symbol .. from /lib/libcma.1"
.I've tried applying various patches but it still fails. Also tried using the old version of libcma.1 but this produces a bus error coredump.
What can i do to correct this ?
20 REPLIES 20
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

Hi Tony,

Could you post the complete error message ?

Is this an oracle application ?

Regards,
Robert-Jan
B. Hulst
Trusted Contributor

Re: libcma.1

Hi,

Find out how many libcma.1 libraries there actually are on your system. It might be that in the library (search) path variable another incompatible libcma.1 is found.

The error message usually comes from a binaries that has a shared library that is needs at run-time. In your case it is libcma.1.

Also libcma.1 could be a wrong soft-link to a wrong version which was not produced ( or used) at compile time of the binary.

Regards,
Bob
tony brown_3
Advisor

Re: libcma.1

To compound my problems further , I managed by mistake , to move the /usr/lib directory to another location.
I canâ t logon to the system now. Even attempting , going into single user mode, does not help. At the end of the boot sequence, I get an error of â couldnâ t find /usr/lib/dld.slâ at the console and no prompt appears. I donâ t have a recovery cd to boot from. Is there some other way for me to get to the single user state besides using hpux â is at the isl
prompt?
Also , is it possible to download at copy of Ignite for 10.20 from somewhere? From what I can gather, HP no longer supplies Ignite for that version of the O/S. If I could obtain it, I could rebuild my server by copying its se
B. Hulst
Trusted Contributor

Re: libcma.1

Hi,

Did you try hpux -lm for booting in maintenance mode?


Otherwise a cdrom boot is preferred.

Regards,
Bob
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

Tony,

You should be able to boot to maintenance or single user mode.

/usr is not mounted in both modes.

start your server (power on)

as soon as you see something like "press any key to override"

at the menu:

boot pri isl

answer y to interact with ISL

hpux -is

will boot your system in single user mode.

If the above is not what you see, please post your server type.

Best regards,
Robert-Jan
tony brown_3
Advisor

Re: libcma.1

Hi ..
Iâ ve carry out the instruction you gave me but when the boot sequence is complete and the system is ready, all I get is a continuously scrolling screen with the error message â â ¦ couldnâ t open /usr/lib/dld.slâ . No command line appears.
The server is a HP Visualize workstat
tony brown_3
Advisor

Re: libcma.1

I've managed to obtain a recovery cd for 10.20 . I can boot from it and get to the ISL prompt .However , when i attempt to go into single user mode , i get an error of " cannot find /stand/vmunix or /vmunix " . Can i list the contents of the cd ? where could i find the vmunix file on the cd ?
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

Ok here are the steps as far as I can remember.

Power on your server

as soon as you see something like "press any key to override"

at the menu:

boot pri isl

answer y to interact with ISL

use the SEARCH command to find the boot option for the cdrom

ISL> sea

ISL> bo px
x is for your cdrom option

After some time the console will then display the following

Interact with IPL (Y or N)
Enter Y
"ISL>" prompt will appear
At the ISL prompt do the following:
ISL> 800support or 700support

800 for server, 700 for a workstation

You should get a HP-UX System Recovery Main Menu.

Hope this helps,
Robert-Jan
tony brown_3
Advisor

Re: libcma.1

Thanks to you all !! I've finally managed to get the system up and running .
Well back to my original problem with libcma.1 .
When i execute the nortle application on my server i get an error code

" /usr/lib/dld.sl: Unresolved symbol : fstat64 (code) from /lib/libcma.1
/usr/lib/dld.sl: Unresolved symbol : getlimit64 (code) from /lib/libcma.1
/usr/lib/dld.sl: Unresolved symbol : fstat64 (code) from /lib/libcma.1
/usr/lib/dld.sl: Unresolved symbol : _atexit from /lib/libcma.1
IOT trap "

Which means nothing to me ! :-)
How can i resolve this ?

Robert-Jan Goossens
Honored Contributor

Re: libcma.1

Could you post the output of,

# ll /usr/lib/libcma.1

# what /usr/lib/libcma.1

Regards,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

did you install DCE patch PHSS_19739 ?

Special Installation Instructions:
For this patch to take effect Stop and Start all
DCE daemons and application processes OR reboot
the machine after installing it.
*****IMPORTANT NOTE***** -- Oracle 7.3.3 and above will
need to be relinked. This patch contains changes to the
libcma library. Applications such as Oracle that use
this library and are built static will need to be
relinked. For information and help for the rebuild
please contact your Oracle support personnel.
***NOTE*** -- A new version of dce_com_utils is present
in this patch which will be installed in the directory
/opt/dce/newconfig/etc/opt/dce/. For the new version to
take effect please copy it to /etc/opt/dce/ directory.
Please save the customized /etc/opt/dce/dce_com_utils,
if necessary.
tony brown_3
Advisor

Re: libcma.1

Hi ..

Here's the output from the ll and what commands :


-r-xr-xr-x 1 bin bin 528384 Apr 24 2001 libcma.1

libcma.1:
HP DCE/9000 1.5 PHSS_23672 Module: libcma.1 (Export) Date: Apr 9 2001 10:01:06

The PHSS_19739 patch was installed .
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

So are you running oracle ? Could you relink oracle ?

Regards,
Robert-Jan
tony brown_3
Advisor

Re: libcma.1


I'm running nortel's EC-1 element controller software not oracle .
tony brown_3
Advisor

Re: libcma.1


I can't relink the application , we don't have a support contract with nortel anymore ..
tony brown_3
Advisor

Re: libcma.1

I've managed to find an old version of libcma.1 . I've altered the SHLIB_PATH to find it , but when i run the application i get a bus error and it core dumps .
Is there anything i can try to fix this ?
Stephen Keane
Honored Contributor

Re: libcma.1

Can you run chatr on whatever the binary you are trying to run.

# chatr bin_name

And post the output?

fstat64 etc are symbols defined in libc_r.sl, if that helps at all?
tony brown_3
Advisor

Re: libcma.1

Here's the application's internal attributes : -


ned:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled second
embedded path enabled first /lib:/home/sdhmsusr/sdhms/lib
internal name:
ned
shared library list:
dynamic /usr/lib/libdce.1
static /usr/lib/libdld.1
shared library binding:
immediate
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: 4K
instruction page size: 4K
tony brown_3
Advisor

Re: libcma.1


I've just been told i'm going to lose my job tomorrow , if i don't find a solution for this ..
If i don't get a chance , i'd like to thank everyone for thier kind support and advice ...
Robert-Jan Goossens
Honored Contributor

Re: libcma.1

I think this is what you need. I can't find enough information to support my theory, but below link discribes simular errors.

http://docs.hp.com/en/B3190-90072/ch02s01.html

dld: could not resolve getrlimit64 from /usr/lib/libcma.1

Obtain the original 10.20 libcma.1 file, and use it to replace the later revision of this file provided with 11.0. Make a backup copy of the 11.0 version. The original file stamp for libcma.1 on HP-UX 10.20 is

# ll /usr/lib/libcma.1
-r-xr-xr-x 1 bin bin 520192 May 30 1996 /usr/lib/libcma.1
# what /usr/lib/libcma.1/usr/lib/libcma.1:HP DCE/9000 1.5 Module: libcma.sl (Export) Date: Apr 29 1996 22:11:24
#