tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Running tru64 unix applications under alpha linux
@ 2001-09-28 17:56 Edward J. Brash
  0 siblings, 0 replies; only message in thread
From: Edward J. Brash @ 2001-09-28 17:56 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------6B7246DCF9601BB02EEAFDF4", Size: 3577 bytes --]

This is a multi-part message in MIME format.
--------------6B7246DCF9601BB02EEAFDF4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I have an application which has been compiled on an alpha running Tru64 unix,
and of course uses shared libraries.  Here is a list of the libraries that I
believe that it needs:

regie5:$ odump -Dl ./hdgeant++


                        ***LIBRARY LIST SECTION***
        Name             Time-Stamp        CheckSum   Flags Version
./hdgeant++:
        libXm.so     May 27 10:30:24 1999 0xa55f6d32     0 motif1.2
        libSM.so     Apr  2 00:55:43 1999 0xb64c7082     0
        libICE.so    Apr  2 00:55:34 1999 0x1199be32     0
        libXt.so     Nov  3 16:24:49 1999 0x4efbddbb     0
        libX11.so    Apr  2 00:46:46 1999 0xf86afbad     0
        libm.so      Apr 12 10:14:17 1999 0xf29b0962     0 osf.1
        libdnet_stub.so Apr 12 10:18:15 1999 0x9408a36b     0 osf.1
        libXmu.so    Apr  2 00:58:34 1999 0x3bf3a33d     0
        libshpf.so   Nov  3 08:10:53 1998 0x6f383991     0 t009
        libUfor.so   Mar 29 20:35:16 2000 0xdf165667     0
        libfor.so    Mar 29 20:35:16 2000 0xcfae3688     0
        libFutil.so  Mar 29 20:35:16 2000 0xa19d96f9     0
        libots.so    Apr 12 10:16:38 1999 0x0876eb23     0
        libm_c32.so  Nov 15 08:45:32 1999 0xd20bc368     0 osf.1
        libc.so      Nov  1 15:54:34 1999 0xb1d8d691     0 osf.1

All of these libraries are either located in /usr/shlib, or are softlinked from
/usr/shlib

I would like to be able to run this application on an alpha running RH6.2.  Of
course, if I do nothing, and try to run it, it responds with

[brash@space36 HDGeant]$ ./hdgeant++
bash: ./hdgeant++: No such file or directory

and I presume it can't find one or more of these libraries, since /usr/shlib
does not exist.

So, I made a directory on the AlphaLinux machine called /usr/shlib, and then
copied every library from /usr/shlib on the Tru64 machine into it.  Of course,
any libraries which were actually softlinks are no longer so on the AlphaLinux
machine, rather they are just the actual *.so file itself.

Then, I added /usr/shlib to /etc/ld.so.conf, and did /sbin/ldconfig as root.  I
thought that this should be enough to tell the system to go look in /usr/shlib
if it needs shared libraries.

However, I still get the above message and the executable will not run.  I know
that I can compile the original application statically, but I would rather not
do that in this case for other technical reasons. I thought that this should
work.  What am I missing?

Cheers,
Ed.


--------------6B7246DCF9601BB02EEAFDF4
Content-Type: text/x-vcard; charset=us-ascii;
 name="brash.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Edward J. Brash
Content-Disposition: attachment;
 filename="brash.vcf"

begin:vcard 
n:Brash;Edward J.
tel;fax:(306) 585-5659
tel;home:(306) 525-9026
tel;work:(306) 585-4201
x-mozilla-html:TRUE
url:http://www.phys.uregina.ca/sparro/brash/
org:Department of Physics, University of Regina <p><center><a href="http://www.phys.uregina.ca"><img src="http://www.phys.uregina.ca/figs/physics_logo.jpg" height=58 width=58 border=0 alt="Physics Logo"><a href="http://www.phys.uregina.ca/sparro/"><img src="http://www.phys.uregina.ca/figs/sparro_oil_small.gif height=58 width=99 border=0 alt="Sparro Logo">
adr:;;3737 Wascana Parkway;Regina;Saskatchewan;S4S 0A2;Canada
version:2.1
email;internet:brash@uregina.ca
x-mozilla-cpt:;-24800
fn:<h3>Dr. Edward J. Brash
end:vcard

--------------6B7246DCF9601BB02EEAFDF4--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-28 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-28 17:56 Running tru64 unix applications under alpha linux Edward J. Brash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox