[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Thu Oct 19 18:50:03 2006 
Subject:pop-forum Re: nag libraries under Linux 
From:Aaron Sloman 
Volume-ID: 

"Anthony Worrall" <Anthony.Worrall@Reading.ac.uk> writes:

> Date: Thu, 19 Oct 2006 17:46:00 +0100
> Organization: Janet Usenet Reading Service.
>
> I am trying to link in the the NAG libraries to pop11 under linux.
>
> usiing the simple exload statments below gives a waring that the shared
> library can not be opened,
> however sysopen will open it without any problems
>
>
> exload 'modnag'
>   ['/opt/NAG/fll3a21dgl/lib/libnag_nag.so']
>   (language C)
>   fo1ckf( A,B,C,N,P,M,Z,IZ,OPT,IFAIL) : void <- f01ckf_;
> endexload;
>
> Warning: can't open shared object /opt/NAG/fll3a21dgl/lib
> ;;;     /libnag_nag.so (Success)
> ;;; Error: can't find value for symbol f01ckf_

I don't use exload myself, but looking at the uses in David Young's
popvision library, e.g.
    $usepop/pop/packages/popvision/lib/lapack.p


I would guess you need to separate the directory specification

>From the file specification, e.g. something like

exload 'modnag'
  [
    '-L/opt/NAG/fll3a21dgl/lib/'
    '-lnag_nag'
  ]
  (language C)
  fo1ckf( A,B,C,N,P,M,Z,IZ,OPT,IFAIL) : void <- f01ckf_;
endexload;

===================

Just guessing.

Aaron