Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 13:14:43 +1100
From:      "Richard Browne" <richb@pobox.com.au>
To:        <freebsd-ports@freebsd.org>
Subject:   Ports, shared libraries, dependencies and versions
Message-ID:  <002501c0752a$ef9b1c10$0e1a24cb@scorpio>

next in thread | raw e-mail | index | archive | help
I've a couple of questions about the FreeBSD ports system. I'm new to Unix
so please excuse any misunderstanding on my part. All help/comments will be
appreciated:

1. From what I can make out, in general package dependencies are specified
using full '-x.y.z' version numbers. For example, packages that depend on
gtk require 'gtk-1.2.8'. This seems very inflexible to me. For example,
suppose a new version of gtk comes out - 'gtk-1.2.9'. I can't upgrade easily
because I have many (possible hundreds) of packages that depend on
'gtk-1.2.8'. The GNOME people's convention seems to be that their shared
libraries are installed as 'libgtk-1.2.so'. This implies that all 1.2
releases, for example, will be binary compatible. Wouldn't it make sense
then for FreeBSD ports to depend on 'gtk-1.2.*'?

2. If I compile the sources from GNOME, 'libgtk-1.2.so' is installed on my
system. Installing the gtk port/package installs 'libgtk12.so'. The naming
scheme has been changed for FreeBSD. I suppose it doesn't matter, but why go
to the effort of changing the established GNOME/Unix convention?

3. Actually, the shared libraries installed seem to be 'libgtk-1.2.so.N' or
'libgtk12.so.N'. What does the N indicate?

4. Are there any docs/resources around that discuss shared libraries on
Unix. In particular, what are the conventions for versioning etc. What does
one do to handle different apps that require different versions of the same
shared library?


Thanks in advance for any comments.

- Richard Browne



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501c0752a$ef9b1c10$0e1a24cb>