From owner-freebsd-hackers Sun Jan 31 12:03:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13418 for freebsd-hackers-outgoing; Sun, 31 Jan 1999 12:03:55 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13356 for ; Sun, 31 Jan 1999 12:03:48 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.56.224]) by smtp03.wxs.nl (Netscape Messaging Server 3.6) with ESMTP id AAA972; Sun, 31 Jan 1999 21:03:44 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 31 Jan 1999 21:12:28 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: John Polstra Subject: Re: ldconfig and libraries Cc: FreeBSD Hackers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 31-Jan-99 John Polstra wrote: > In article , > Jeroen Ruigrok/Asmodai wrote: >> >> are libraries in /usr/lib and /usr/local/lib tied to naming standards? > > To be recognized by ldconfig, an a.out shared library must have a > name that ends with ".so." followed by at least two version numbers, > like this: > > libfoo.so.12.0 > > To be recognized by ldconfig, an ELF shared library must have a name > that ends with ".so." followed by exactly one version number, like > this: > > libfoo.so.12 Why this change in library naming from a.out to elf? >> for example, is this an accepted name for ldconfig: >> >> libgmodule-1.1.so.12.0 > > For a.out: yes. For ELF: no. OK, this just broke a tonload of applications out there for people who like to compile stuff by themselves. E.g. Gtk+, Glib, libPropList. What would a workaround be then? Because an app depends on a certain name of a library or am I mistaken in that belief? >> Every library found by ldconfig in the specified paths should be >> reported back with ldconfig -r, right? > > Only the ones with names that fit the rules above. That explains why my previously list of a.out libs of about 185 is only 95 at the moment. *sigh* --- Jeroen Ruigrok van der Werven It's a Dance of Energy, asmodai(at)wxs.nl when the Mind goes Binary... Network/Security Specialist *BSD: Powered by Knowledge & Know-how To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message