You should run
ldd your_prog
This command provide info about shared libs, that your program needs.
WBR, Sergey
Thomas David
Rivers To: [EMAIL PROTECTED]
<rivers@dignus. cc:
com> Subject: Re: Oracle on 64bit SuSE
Sent by: Linux
on 390 Port
<[EMAIL PROTECTED]
ARIST.EDU>
20.08.2002
14:21
Please respond
to Linux on 390
Port
Ulrich Weigand <[EMAIL PROTECTED]> wrote:
>
> Dave Rivers wrote:
>
> > You're right... you can't run 32-bit binaries on the 64-bit
> > system.
> >
> > It's not so much C/C++ as it is the Linux kernel... it won't
> > run 32-bit programs (at least, our ThinkBlue 64-bit one won't.)
>
> You most certainly can run 32-bit binaries on the 64-bit kernel.
> However, unless the 32-bit app is statically linked, you'll need
> the appropriate 32-bit shared libraries to go with the app.
>
> AFAIK, ThinkBlue (at least some versions) does not provide the
> 32-bit system libraries, so you can't run 32-bit apps.
>
> Both SuSE and RedHat 64-bit distros do provide those libraries.
>
Ah! Very good to know!
But - when I try this with TurboLinux-64, I don't get a
message that indicates a shared library can't be found,
I get a message that indicates the program can't be
run at all...
$ ./prog
$ sh: ./prog: No such file or directory
(maybe it should be saying some shared library is missing?)
But - I did check a static link, and you're most
definately right! Things do run if they are statically
linked.
We've been sitting here with TurboLinux so long, maybe it's
time to try out some of the others.
Many thanks!
- Dave Rivers -
--
[EMAIL PROTECTED] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com