Date: Thu, 06 Jul 2000 18:05:50 -0700 From: Peter Wemm <peter@netplex.com.au> To: Kris Kennaway <kris@FreeBSD.ORG> Cc: current@FreeBSD.ORG Subject: Re: HEADS UP: cvs commit: src/lib/libftpio Makefile (fwd) Message-ID: <200007070105.SAA03414@netplex.com.au> In-Reply-To: Message from Kris Kennaway <kris@FreeBSD.ORG> of "Thu, 06 Jul 2000 13:54:30 PDT." <Pine.BSF.4.21.0007061352450.67873-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > If anyone has done a make world within the past few days you should remove > your libftpio.6 since the version bump was made in error. It's now back to > libftpio.5. It actually does not matter. Which major version new programs are linked against is controlled by which file the symlinks point to. peter@t8000[6:01pm]/usr/lib-113> ls -l libftpio.so* lrwxr-xr-x 1 root wheel 13 Jun 28 12:49 libftpio.so@ -> libftpio.so.5 -r--r--r-- 1 root wheel 14680 Jun 10 20:14 libftpio.so.5 -r--r--r-- 1 root wheel 17244 Jun 5 19:43 libftpio.so.6 -lftpio will follow the symlink, and read the headers in libftpio.so.5: 8000# objdump --all-headers /usr/lib/libftpio.so | grep SONAME SONAME libftpio.so.5 As a result, all programs linked with '-lftpio' will end up linking against libftpio.so.5 explicitly. This is *not* the same as the a.out behavior which searched directories to find the largest number. ELF uses the symlinks and no searching, which is why ld and ld-elf.so is faster when locating directories and does not need ldconfig or the ld.so.cache. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007070105.SAA03414>