🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.acedb
Article #84

Re: dynamically linked libraries on Mac OS X?

#84
From: Ed Griffiths
Date: Thu, 05 Feb 2004 09:34
38 lines
3413 bytes
Douglas,

> I wish to install acedb on a Mac OS X system (10.2.8). I would prefer to 
> install the "non-statically linked" version. (That is, I think I would 
> prefer it, although I'm not totally sure why. Is there an important 
> reason to do so?). To do so, I see that I need the GNU readline, GTK, 
> GDK, and  Glib libraries. Is there a way to see if I have these or if 
> they are even available for this operating system?

There are a number of reasons for using dynamically linked libraries but the 
most relevant to you is:

any libraries that acedb uses (e.g. the standard C library, glib, gtk, all the X 
Windows stuff etc. etc.) that are dynamically linked will be _shared_ between 
all copies of running acedb programs. If the libraries are statically linked 
then each running acedb program has its _own_ copy of the library code, this 
results in much greater memory use as I'm sure you can appreciate.

One way to test if you have the various libraries installed is just to try and 
run one of the dynamically linked acedb programs, if the libraries aren't there 
then the code won't run.

But actually a better way is to take a look in the appropriate directories on 
your machine, on unix systems these libraries would normally be installed in 
/usr/lib or /usr/local/lib, I would imagine that the Mac in its OS X form does 
something similar.

Hope that helps,

Ed
-- 
  ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif@sanger.ac.uk  Tel: +44-1223-494780  Fax: +44-1223-494919 |
  ------------------------------------------------------------------------
Technical Details
Message-ID: <40220E09.7080000@sanger.ac.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!server1.netnews.ja.net!hgmp.mrc.ac.uk!net.bio.net
References: <B073A668-5732-11D8-AE20-00306556953E@mail.mcgill.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6d40,fdaafa85b101e64
X-Google-Attributes: gidf6d40,public
X-Google-ArrivalTime: 2004-02-05 01:34:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!server1.netnews.ja.net!hgmp.mrc.ac.uk!net.bio.net
From: Ed Griffiths <edgrif@sanger.ac.uk>
Newsgroups: bionet.software.acedb
Subject: Re: dynamically linked libraries on Mac OS X?
Date: 5 Feb 2004 09:34:12 -0000
Organization: Sanger Institute
Lines: 39
Sender: mod-ace@hgmp.mrc.ac.uk
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
Message-ID: <40220E09.7080000@sanger.ac.uk>
References: <B073A668-5732-11D8-AE20-00306556953E@mail.mcgill.ca>
NNTP-Posting-Host: mercury.hgmp.mrc.ac.uk
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding:  7bit
X-Trace: niobium.hgmp.mrc.ac.uk 1075973653 18736 193.62.192.80 (5 Feb 2004 09:34:13 GMT)
X-Complaints-To: news@net.bio.net
NNTP-Posting-Date: Thu, 5 Feb 2004 09:34:13 +0000 (UTC)
X-Original-To: bionet-software-acedb@net.bio.net
User-Agent: Mozilla/5.0 (X11; U; OSF1 alpha; en-US; rv:1.4) Gecko/20030903
X-Accept-Language: en, en-us
X-Auth: PGPMoose V1.1 PGP bionet.software.acedb
 iQCVAwUAQCIOFKCIqsWvyF5FAQFBWgQAtxAVlKEKJrN91H2ty6TpjjTqWoehYbSH
 yUTvILvh33gW56pO45TdSepyR+q4CpCx4QDyMCCdpGMBnwlZxsQgkDO8HvFHCEXS
 BRvKgM076XU8V+9rRo6vfM1jGd3iAtyv0JJvQFVMaaavDWjHppiLN5ZYliw0zJqS
 KoPJ9yzhG8E=
 =UR/O