Re: Informix doesn't start after reboot
Posted in 2005
On Thursday 10 November 2005 15:43, mostrostro@gmail.com wrote:
> That's my libraries dependencies for oninit:
>
> ldd /opt/informix/bin/oninit
> iosm09a.so => /usr/lib/iosm09a.so (0x4001b000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x4001d000)
> ismdd09a.so => /usr/lib/ismdd09a.so (0x4006e000)
> libm.so.6 => /lib/libm.so.6 (0x40070000)
> libdl.so.2 => /lib/libdl.so.2 (0x40093000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x40096000)
> libc.so.6 => /lib/libc.so.6 (0x400c3000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> libpthread.so.0 is not under i686 or tls: does it matter? If yes, what
> can I do?
Check http://packages.debian.org/stable/libs/libc6-i686 for requirements.
The list of files indicates the libs should be loaded
from /lib/tls/i686/cmov/ . Else there went something wrong with
installation. Maybe /etc/ld.so.conf was not updated correctly or ldconfig
did not run.
For test you could try force using the i686 libc
running /lib/tls/i686/cmov/ld-linux.so.2 . Without options you should get
a usage message like following:
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library
executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file. This helper program
loads/lib/tls/i686/cmov/ld-linux.so.2
the shared libraries needed by the program executable, prepares the program
to run, and runs it. You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run. This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.
--list list all dependencies and how they are resolved
--verify verify that given object really is a dynamically
linked
object we can handle
--library-path PATH use given PATH instead of content of the
environment
variable LD_LIBRARY_PATH
--inhibit-rpath LIST ignore RUNPATH and RPATH information in object
names
in LIST
Then try '/lib/tls/i686/cmov/ld-linux.so.2 --list $INFORMIXDIR/oninit' and
check path for libpthread.so.0. If it comes from /lib/tls/i686/cmov/ then
the command '/lib/tls/i686/cmov/ld-linux.so.2 oninit' may start oninit.
Andreas
> I'm upgrading the kernel from 2.4.27-2-686 to 2.6.8-2-686.
>
> Thanks for the help!
sending to informix-list