From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public From: norman@arcady.u-net.com (NF Stevens) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/14 Message-ID: <37de8e8d.3967505@news.u-net.com>#1/1 X-Deja-AN: 525080010 References: <37D81FE1.E90C3B1F@winkinc.com> <37e21eba.355787635@news.shore.net> <37e3383f.362320439@news.shore.net> <37e6591c.370733736@news.shore.net> <7rl5b3$bnj$1@mulga.cs.mu.OZ.AU> <37df4efc.433677244@news.shore.net> X-Complaints-To: news@u-net.net X-Trace: newsr2.u-net.net 937334873 195.102.197.172 (Tue, 14 Sep 1999 19:47:53 BST) Organization: (Posted via) U-NET Internet Ltd. NNTP-Posting-Date: Tue, 14 Sep 1999 19:47:53 BST Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss sean@forget.about.it (Se�n � Donnchadha) wrote: [snip] >No offense, but what you're saying here is nonsense. If your makefile >specifies "libfoo", the linker will use "libfoo"; it won't assume that >you're using this or that naming convention and look for a file with >some other name. The name of the shared library file may be abstracted >away elegantly - with things like symbolic links, import libraries, or >pragmas - but making development tools depend on a naming convention >is gross. The linker links against libfoo.so which is a symlink to libfoo.so.1.0.3. However libfoo.so.1.0.3 has an internal name libfoo.so.1.0, which the linker puts into the created executable. Thus when the application is run it loads libfoo.so.1.0 (which may be a symlink to libfoo.so.1.0.5) rather than against libfoo.so (which by now is a symlink to libfoo.so.2.0.0). Norman