* Tru64 binaries
@ 2002-03-07 0:55 Paul Foster
2002-03-07 2:22 ` Manfred Plagmann
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Paul Foster @ 2002-03-07 0:55 UTC (permalink / raw)
I am trying to run the Tru64 binaries of the distributed folding
program available on www.distributedfolding.org on my UP2000+ running
RedHat 7.1. Talked to the program author and the program was
compiled under OSF1 and they don't have another Alpha machine to build
with RedHat. Here is what I get:
[XXXXX distribfold]$ ./foldit
4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
[XXXXX distribfold]$
curses is installed on this box, anything I can do to force this
binary to run under linux???
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 0:55 Tru64 binaries Paul Foster
@ 2002-03-07 2:22 ` Manfred Plagmann
2002-03-07 4:38 ` Manfred Plagmann
2002-03-07 10:21 ` Josef Kolbitsch
2002-03-07 20:06 ` Michal Jaegermann
2 siblings, 1 reply; 10+ messages in thread
From: Manfred Plagmann @ 2002-03-07 2:22 UTC (permalink / raw)
I don't think so. After all the binary was built on a different OS and
linked against libraries that are quite different from those linux got. The
mapping in the linux libs are quite different and any system call might
fail as well as Tru64 has a different kernel symbol map.
If you really need this program to run I would suggest you get Tru64 (the
non-commercial licence) and install it on your system as a second OS. Thats
easy if you dedicate a second HD to it.
Any more specific help e-mail me.
Cheers,
Manfred
Paul Foster wrote:
>
> I am trying to run the Tru64 binaries of the distributed folding
> program available on www.distributedfolding.org on my UP2000+ running
> RedHat 7.1. Talked to the program author and the program was
> compiled under OSF1 and they don't have another Alpha machine to build
> with RedHat. Here is what I get:
>
> [XXXXX distribfold]$ ./foldit
> 4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
> [XXXXX distribfold]$
>
> curses is installed on this box, anything I can do to force this
> binary to run under linux???
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 2:22 ` Manfred Plagmann
@ 2002-03-07 4:38 ` Manfred Plagmann
0 siblings, 0 replies; 10+ messages in thread
From: Manfred Plagmann @ 2002-03-07 4:38 UTC (permalink / raw)
Just a thought: you could try it with thr Tru64 libraries first. You never
know it might work. If not then you could switch OS to Tru64.
Cheers
Manfred Plagmann wrote:
> I don't think so. After all the binary was built on a different OS and
> linked against libraries that are quite different from those linux got.
> The mapping in the linux libs are quite different and any system call
> might fail as well as Tru64 has a different kernel symbol map.
>
> If you really need this program to run I would suggest you get Tru64 (the
> non-commercial licence) and install it on your system as a second OS.
> Thats easy if you dedicate a second HD to it.
>
> Any more specific help e-mail me.
> Cheers,
> Manfred
>
>
>
> Paul Foster wrote:
>
>>
>> I am trying to run the Tru64 binaries of the distributed folding
>> program available on www.distributedfolding.org on my UP2000+ running
>> RedHat 7.1. Talked to the program author and the program was
>> compiled under OSF1 and they don't have another Alpha machine to build
>> with RedHat. Here is what I get:
>>
>> [XXXXX distribfold]$ ./foldit
>> 4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
>> [XXXXX distribfold]$
>>
>> curses is installed on this box, anything I can do to force this
>> binary to run under linux???
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 0:55 Tru64 binaries Paul Foster
2002-03-07 2:22 ` Manfred Plagmann
@ 2002-03-07 10:21 ` Josef Kolbitsch
2002-03-07 15:36 ` Andrew Schultz
2002-03-07 20:06 ` Michal Jaegermann
2 siblings, 1 reply; 10+ messages in thread
From: Josef Kolbitsch @ 2002-03-07 10:21 UTC (permalink / raw)
Paul Foster <pfoster@execpc.com> wrote:
> Talked to the program author and the program was
> compiled under OSF1 and they don't have another Alpha machine to build
> with RedHat.
maybe you can make him link it statically. that should work. (see
netscape, acrobat reader, etc.)
--
---------------------------------------------------------
josef kolbitsch
> skolATsboxDOTtugrazDOTat
> http://www.sbox.tugraz.at/home/s/skol
---------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 10:21 ` Josef Kolbitsch
@ 2002-03-07 15:36 ` Andrew Schultz
2002-03-07 18:22 ` Stephen Lewis
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Schultz @ 2002-03-07 15:36 UTC (permalink / raw)
Josef Kolbitsch wrote:
> Paul Foster <pfoster@execpc.com> wrote:
>> Talked to the program author and the program was compiled under
>> OSF1 and they don't have another Alpha machine to build with
>> RedHat.
>>
>
> maybe you can make him link it statically. that should work. (see
netscape,
> acrobat reader, etc.)
Also, make sure the Tru64-compat package is installed. The most recent
version is 1.0-7. Netscape (and probably acrobat) also uses that.
--
------------------------------------------------------------------
Andrew Schultz | The views expressed might
ajschult@eos.ncsu.edu | not represent those of NCSU.
http://www4.ncsu.edu/~ajschult/ | They are however, correct.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 15:36 ` Andrew Schultz
@ 2002-03-07 18:22 ` Stephen Lewis
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Lewis @ 2002-03-07 18:22 UTC (permalink / raw)
Paul you identified the problem as 'libcurses.so'...
>> [XXXXX distribfold]$ ./foldit
>> 4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
>> [XXXXX distribfold]$
>>
>> curses is installed on this box, anything I can do to force this
>> binary to run under linux???
The binary doesn't have it and you cannot dynamically link a Tru64
binary
to the RedHat 'libcurses' that you have and libcurses is NOT in
the 'Tru64-compat' rpm. (do 'rpm -qil Tru64-compat' to see what is in
there)
You have two choices persuade them to link 'libcurses' into the binary,
or build a local libcurses from the RedHat sources and link as a
dynamically
linked shared library in COFF format ('ld' on the alpha can do this)
the RedHat libcurses is an ELF shared object. A "normal" user program
should not care where the kernel symbols are,
Netscape and Acrobat use the compatibility library to write in X
windows,
do 'man ncurses' to see what curses is all about,
Stephen Lewis
Andrew Schultz wrote:
>
> Josef Kolbitsch wrote:
> > Paul Foster <pfoster@execpc.com> wrote:
> >> Talked to the program author and the program was compiled under
> >> OSF1 and they don't have another Alpha machine to build with
> >> RedHat.
> >>
> >
> > maybe you can make him link it statically. that should work. (see
> netscape,
> > acrobat reader, etc.)
>
> Also, make sure the Tru64-compat package is installed. The most recent
> version is 1.0-7. Netscape (and probably acrobat) also uses that.
> --
> ------------------------------------------------------------------
> Andrew Schultz | The views expressed might
> ajschult@eos.ncsu.edu | not represent those of NCSU.
> http://www4.ncsu.edu/~ajschult/ | They are however, correct.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 0:55 Tru64 binaries Paul Foster
2002-03-07 2:22 ` Manfred Plagmann
2002-03-07 10:21 ` Josef Kolbitsch
@ 2002-03-07 20:06 ` Michal Jaegermann
2002-03-08 21:00 ` Paul Foster
2 siblings, 1 reply; 10+ messages in thread
From: Michal Jaegermann @ 2002-03-07 20:06 UTC (permalink / raw)
Paul Foster <pfoster@execpc.com> wrote:
> I am trying to run the Tru64 binaries
....
> [XXXXX distribfold]$ ./foldit
> 4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
> [XXXXX distribfold]$
> curses is installed on this box,
Which curses? Those from Linux? Not that OS, not this library.
You need one from Tru64.
Basically the only way, I think, you can get legally some Tru64
libraries on your Linux box is to install Tru64-compat package
which contains a bunch of libraries, released by Compaq, basically
enough to run Netscape from Tru64. This is a full list:
/etc/sia
/etc/sia/OSFC2_matrix.conf
/etc/sia/bsd_matrix.conf
/etc/sia/matrix.conf
/etc/sia/siainitgood
/etc/svc.conf
/sbin/loader
/usr/shlib
/usr/shlib/LICENSE
/usr/shlib/libICE.so
/usr/shlib/libSM.so
/usr/shlib/libX11.so
/usr/shlib/libXext.so
/usr/shlib/libXm.so
/usr/shlib/libXmu.so
/usr/shlib/libXt.so
/usr/shlib/libc.so
/usr/shlib/libcxx.so
/usr/shlib/libdnet_stub.so
/usr/shlib/libexc.so
/usr/shlib/libm.so
/usr/shlib/libots.so
and, unfortunately, libcurses.so is not there. Ask for statically
linked binaries. This is a compiler option.
> anything I can do to force this
> binary to run under linux???
Nothing to be forced. It is enough to ask gently but properly. :-)
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-07 20:06 ` Michal Jaegermann
@ 2002-03-08 21:00 ` Paul Foster
2002-03-09 20:24 ` Michal Jaegermann
2002-04-09 14:58 ` Hannes Reinecke
0 siblings, 2 replies; 10+ messages in thread
From: Paul Foster @ 2002-03-08 21:00 UTC (permalink / raw)
Michal Jaegermann wrote:
>
> Paul Foster <pfoster@execpc.com> wrote:
>
> > I am trying to run the Tru64 binaries
> ....
> > [XXXXX distribfold]$ ./foldit
> > 4320:./foldtrajlite: : Fatal Error: cannot map libcurses.so
> > [XXXXX distribfold]$
>
> > curses is installed on this box,
>
> Which curses? Those from Linux? Not that OS, not this library.
> You need one from Tru64.
>
> Basically the only way, I think, you can get legally some Tru64
> libraries on your Linux box is to install Tru64-compat package
> which contains a bunch of libraries, released by Compaq, basically
> enough to run Netscape from Tru64. This is a full list:
>
> /etc/sia
> /etc/sia/OSFC2_matrix.conf
> /etc/sia/bsd_matrix.conf
> /etc/sia/matrix.conf
> /etc/sia/siainitgood
> /etc/svc.conf
> /sbin/loader
> /usr/shlib
> /usr/shlib/LICENSE
> /usr/shlib/libICE.so
> /usr/shlib/libSM.so
> /usr/shlib/libX11.so
> /usr/shlib/libXext.so
> /usr/shlib/libXm.so
> /usr/shlib/libXmu.so
> /usr/shlib/libXt.so
> /usr/shlib/libc.so
> /usr/shlib/libcxx.so
> /usr/shlib/libdnet_stub.so
> /usr/shlib/libexc.so
> /usr/shlib/libm.so
> /usr/shlib/libots.so
>
> and, unfortunately, libcurses.so is not there. Ask for statically
> linked binaries. This is a compiler option.
>
Is this option selected under the compiler or is it from under the "ld"
command. Can you help me with wath the options are? The program author
is asking me what options he should use to get the statically linked
bins.
> > anything I can do to force this
> > binary to run under linux???
>
> Nothing to be forced. It is enough to ask gently but properly. :-)
>
> Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-08 21:00 ` Paul Foster
@ 2002-03-09 20:24 ` Michal Jaegermann
2002-04-09 14:58 ` Hannes Reinecke
1 sibling, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 2002-03-09 20:24 UTC (permalink / raw)
Paul Foster <pfoster@execpc.com> wrote:
> Michal Jaegermann wrote:
>>
>>
>> Ask for statically
>> linked binaries. This is a compiler option.
>>
> Is this option selected under the compiler or is it from under the "ld"
> command.
If I recall vaguely, and this may be incorrect because I was not using
DU for quite a long while, it is '-static' (surprise!).
> Can you help me with wath the options are?
Typing 'man cc' on a system where you doing compilation will give
you quite nice information which will not depend on my feeble memory.
There is a reason why all this documentation comes with systems.
It will be indeed passed to 'ld' but unless you worry about internals
of a compiler front-end usually you do not have to bother with such
details.
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Tru64 binaries
2002-03-08 21:00 ` Paul Foster
2002-03-09 20:24 ` Michal Jaegermann
@ 2002-04-09 14:58 ` Hannes Reinecke
1 sibling, 0 replies; 10+ messages in thread
From: Hannes Reinecke @ 2002-04-09 14:58 UTC (permalink / raw)
Paul Foster wrote:
[..]
>
> Is this option selected under the compiler or is it from under the "ld"
> command. Can you help me with wath the options are? The program author
> is asking me what options he should use to get the statically linked
> bins.
>
Hmm. I mean, if you are already in contact with the author, can't you just
ask him to compile this program under linux ?.
Otherwise, it should be an option for the 'ld' command. 'man ld' is your
friend.
Cheers,
Hannes
P.S.: Better ask the author to send you the software to compile it
yourself. Someone not knowing which option to use for static linking
probably doesn't know what 'linux' is, either :-).
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-04-09 14:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-07 0:55 Tru64 binaries Paul Foster
2002-03-07 2:22 ` Manfred Plagmann
2002-03-07 4:38 ` Manfred Plagmann
2002-03-07 10:21 ` Josef Kolbitsch
2002-03-07 15:36 ` Andrew Schultz
2002-03-07 18:22 ` Stephen Lewis
2002-03-07 20:06 ` Michal Jaegermann
2002-03-08 21:00 ` Paul Foster
2002-03-09 20:24 ` Michal Jaegermann
2002-04-09 14:58 ` Hannes Reinecke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox