Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 1996 10:24:09 -0500 (EST)
From:      John Brann <jbrann@brann.org>
To:        cawood@unixg.ubc.ca (Stephen Cawood)
Cc:        questions@freebsd.org
Subject:   Re: simple library install
Message-ID:  <199612041524.KAA11505@freebie.brann.org>
In-Reply-To: <32A6C43E.3116@unixg.ubc.ca> from Stephen Cawood at "Dec 5, 96 04:46:54 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Cawood wrote...
> Thanks in advance.
> 
> I am trying to use libXpm.so.4.7 that I got in gzip form.
> 
> What do I do to install it?
> 
> When I expand it, it has no suffix (ie .o or .a) so where does it go and
> how do I use it.
> 
Er, this is the shared library ('so' is allegedly an abbreviation for 
'shared object').  A file ending in '.a' is a static library ('a' for
'archive').  The difference is that static libraries are used at link-edit
time to build static executables and shared libraries are used at run-time
by dynamically linked executables (man ld).

To end run this problem, why not install the 'pixmap' port or package, which
includes both (and you will need both, if you want to build any programs).

John

-- 
Well, that's like hypnotizing chickens.

finger jbrann@brann.org for pgp public key



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612041524.KAA11505>