Re: Compile NCARG shared libraries?

From: Mark Van Moer <mvanmoer_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 14 2011 - 09:52:00 MST

Hi Mary,
I got .so libs to build by following your suggestion below and also adding -fPIC to CcOptions and FcOptions (I use LINUX.64.INTEL as my base config file).

I have a couple of questions. All the .so names differ in style from the .a:

I was trying to figure out which ones to link against and found that ldd returns
statically linked for some of them:
$ ldd
statically linked

The ones ldd returns statically linked for are:,,,,,,,,,,

Ones where ldd returns list -,,,,

I'm guessing this means I just need to link against the second list? Is there a way to get ncargex to test against the shared libs?


----- Original Message -----
From: "Mary Haley" <>
To: "Mark Van Moer" <>
Cc: "ncl-install" <>
Sent: Thursday, February 3, 2011 5:29:17 PM
Subject: Re: Compile NCARG shared libraries?

Hi Mark,

We have some hooks in the build system to build shared libraries, but I've never
actually tried it, and I'm not sure what state it's in.

Look for this line in your config file in the $NCARG/config directory:

#define BuildShared NO

Try removing it (since I think it is YES by default), and then rerunning "make Everything".


On Feb 3, 2011, at 2:48 PM, Mark Van Moer wrote:

> Hello,
> Is it possible to create shared versions of the NCARG libs? E.g. in addition to libncl.a, etc? I don't see anything in the build instructions about this.
> Thanks,
> Mark
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
Received on Mon Feb 14 09:52:07 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 15 2011 - 09:43:44 MST