From: Erik Evensen <erik@avalon.harvard.edu>
Subject: Re: linking problems
Date: Thu, 01 May 1997 22:58:15 +0500 [thread overview]
Message-ID: <199705020258.WAA19645@avalon.harvard.edu> (raw)
This seems to be becoming something of a FAQ. Search for relocation
in the redhat archive and you will find the answer. The short
answer is that you need break things up into shared libraries:
ld -shared -o libfoo.so --whole-archive libfoo.a --no-whole-archive
Then be sure to put the library somewhere where the loader will look
for it, or set the LD_LIBRARY_PATH env variable to include the path
to the shared lib.
Good luck!!!
--erik
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-05-01 17:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-01 17:58 Erik Evensen [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-05-01 18:45 linking problems Lee Hetherington
[not found] <3368E4E4.745383B2@sls.lcs.mit.edu>
1997-05-01 20:20 ` Richard Henderson
[not found] <199705012020.PAA15199@stommel.tamu.edu>
1997-05-01 20:44 ` Lev D Gelb
[not found] <Pine.A41.3.95.970501164416.60022D-100000@hal.cheme.cornell.edu>
1997-05-02 5:52 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox