1834140 Members
2642 Online
110064 Solutions
New Discussion

SIGBUS on ldd -> core

 
SOLVED
Go to solution
Joost Bijen
Occasional Contributor

SIGBUS on ldd -> core

Hi,

I created a shared library using own C code and libraries from Sybase and BEA (for HP-UX 11.11).

when I do a ldd it starts spitting out lots of lines but then stops and dumps core.

when I do a 'file core' it says:
core file from 'lddstub' - received SIGBUS

what could be wrong? Where do I start looking? The compile and link phase do not complain about anything, no errors, no warnings.

Thanks,
Joost
2 REPLIES 2
Dennis Handly
Acclaimed Contributor
Solution

Re: SIGBUS on ldd -> core

What is your intention when using ldd on a library? It shouldn't do anything except print the dependent libs. You can use chatr(1) to do that.

What version of ldd do you have? The latest ld patch is PHSS_35381. One fix is with ldd with long paths.
Joost Bijen
Occasional Contributor

Re: SIGBUS on ldd -> core

Hi,

Our sysadmin applied three patches: PHSS_33944, PHSS_35379 and PHSS_35381 which solved the problem.

Thanks,
Joost