Re: RH AS2.1 Statically linked application gives reloc error in RH9.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 15, 2003 at 02:50:35PM +0200, Muthu_T@xxxxxxxx wrote:
> All,
> 
>    I have a statically linked application which dynamically loads the
> library. This application compiled in AS2.1 and runs fine with AS2.1 and

Don't do it, unless you are prepared to recompile against every glibc
somebody is going to run your program against.
A dynamically linked program against the basic libraries
(like lib{c,m,pthread,dl,rt}.so, maybe libX11.so too) and statically linked
only against the libraries which are not present on every system
is way more portable.
See -Bstatic/-Bdynamic options.

	Jakub


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux