From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199705020258.WAA19645@avalon.harvard.edu> Date: Thu, 01 May 1997 22:58:15 +0500 From: Erik Evensen Subject: Re: linking problems 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