SUMMARY: Compiling under 4.0x, running under 3.2 (214).

From: Thomas Leitner <tom_at_finwds01.tu-graz.ac.at>
Date: Wed, 19 Aug 1998 23:30:50 +0200 (MET DST)

Hi,

I've solved it: Under DU 3.2 (214) it is neccessary to do a

setenv _RLD_LIST DEFAULT:libots.so

before running the program, in order to include the libots.so library
explicitly in the shared library list. Under DU V4.0, the libots.so
lib. has apparently moved into libc or somesuch and thus it is not
included in the shared library list of the executable.

This works flawlessly now. Alternatively, linking under DU V4.0
with "-lots" causes libots.so to be included into the shared library
list and the executable can be started under V3.2 without the need
for the additional environment variable setting.

Tom

P.S: All tricks with _RLD_ARGS and _RLD_LIST and the like are explained
     in "man loader".

---------- original message ---------------

Hi managers,

Is there any way except for linking with "-non_shared" to develop
a piece of software under DU 4.0x and run it under DU 3.2 (214)?

Currently, when we just run the software on DU 3.2, we get lots of
unresolved symbols named _OtsDivide32 etc. etc.

What about installing the DU 3.2 libraries in a separate directory
on the V4.0x machine and trying to link with them? Has anyone done
this already?

Thanks // Tom

--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
                                            Graz University of Technology,
e-mail : tom_at_finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys_at_keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!
Received on Wed Aug 19 1998 - 21:31:46 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT