[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linkimage difficulties: mixed case and multiple libraries
- Subject: Re: linkimage difficulties: mixed case and multiple libraries
- From: Nigel Wade <nmw(at)ion.le.ac.uk>
- Date: Thu, 08 Jul 1999 10:56:50 +0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: University of Leicester, UK
- References: <37837A15.D0681D93@ll.mit.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:15598
Fred Knight wrote:
> I'd appreciate hearing about solutions to these problems.
> 1. I can't get linkimage to use a mixed-case function name under Solaris 2.
> Here's a simple test:
The documentation for LINKIMAGE says, for the 5th argument (Entry) :
If Entry is not supplied, LINKIMAGE will provide a default name by
converting the value suppled for Name to lower case and adding any
special characters (leading or trailing underscores) typical of the
So, use the fifth argument:
name = 'oct__Fli'
image = '/usr/lib/libC.so.3'
type = 1 ; function
> 2. I can't get linkimage to work when symbols aren't completely resolved in one
If the DSO is dependant on another library which IDL itself does not use
must be included on the link command. This adds the library to the
dependency list. You may also need to use LD_LIBRARY_PATH to tell the
where to search for this library (on Solaris this isn't necessary as you
a runpath on the link command (-Rpath:path) which will be used).
> answers to these questions are in the "Advanced Development Guide," which I
> don't have, but I can't find any answers in the linkimage description in the
> "Reference Guide."
Are you sure you don't have the ADG?. It comes with IDL on the CD (at
least it does with
IDL 5). If you installed IDL help you should have it.
> Thanks, Fred
> Fred Knight | email@example.com | 781 981 1053 | fax: 781 981 5359
> C-490 | MIT Lincoln Laboratory | 244 Wood St. | Lexington, MA 02420-9108
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : firstname.lastname@example.org
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555