Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Find out about Online Training
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 11 Professional
Maple 11 Academic
Maple 11 Student Use
Recorded Online Seminars
FREE Training Resources


MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

View Maple 10 in Action
Product Comparison Chart

Latest Information

New Features: Professional
New Features: Academic
The Maple Reporter
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple 10 Training Videos
MaplePrimes, blogs, forums
Elite Maintenance Program
Application Centre
Powertools
Maple User Group (MUG)
Join the Maple User Group
(MUG)

Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] help! maple won't link external library

Search email archive for  

[MUG] help! maple won't link external library
Author: Richard Kaye    Posted: Wed, 11 Dec 2002 17:24:11 +0000

>> From: Richard Kaye "R.W.Kaye"

Hi,

I am suffering the error message

Error, external linking: ld.so.1: lks: fatal: mwrap_hello.so: open failed: No
such file or directory

given by Maple 6 when I run

test := define_external('hello', 'n'::integer[4], 'RETURN'::integer[4],
LIB="libtestprg.so");

The libtestprg.so has been compiled and is being read correctly from the
current directory, the types are correct. I'm running Maple 6 under
solaris.

When I check the current directory, maple's define_external function
has successfully written its wrapper code mwrap_hello.c and compiled it.
(The file mwrap_hello.so is sitting in the current directory ready for use.)
But unfortunately this is as far as it gets: maple seems unable to read this
file and spits out an error message saying it doesn't exist.

I am using Maple 6 as I want to integrate my work with a large
suite of maple code that might not work as advertized
without a re-write on a later version of maple. I've looked all over
for documentation, but can't see anything, nor anything I have done
wrong, or any notes of any environment variables to set or anything
like that.

Any ideas? I'd be most grateful if anyone could help!

Thanks

Richard Kaye

[MUG] Re: help! maple won't link external library
Author: Allan Wittkopf    Posted: Thu, 19 Dec 2002 10:05:51 -0800

>> From: Allan Wittkopf "awittkop"

Hello Richard,

I'm not certain this will do the trick, but you may need to have your
LD_LIBRARY_PATH set to include the current directory.

If this does not help, I'd suggest you a gzipped copy of your external library
to MUG so I can see if I can repeat the problem.

Could you also send the output of:

ldd mwrap_hello.so

for the wrapper built by Maple - just to verify that it is indeed linked to
libtestprg.so.

Sincerely,
Allan Wittkopf

> >> From: Richard Kaye "R.W.Kaye"
> I am suffering the error message
>
> Error, external linking: ld.so.1: lks: fatal: mwrap_hello.so: open failed: No
> such file or directory
>
> given by Maple 6 when I run
>
> test := define_external('hello', 'n'::integer[4], 'RETURN'::integer[4],
> LIB="libtestprg.so");
>
> The libtestprg.so has been compiled and is being read correctly from the
> current directory, the types are correct. I'm running Maple 6 under
> solaris.
>
> When I check the current directory, maple's define_external function
> has successfully written its wrapper code mwrap_hello.c and compiled it.
> (The file mwrap_hello.so is sitting in the current directory ready for use.)
> But unfortunately this is as far as it gets: maple seems unable to read this
> file and spits out an error message saying it doesn't exist.
>
> I am using Maple 6 as I want to integrate my work with a large
> suite of maple code that might not work as advertized
> without a re-write on a later version of maple. I've looked all over
> for documentation, but can't see anything, nor anything I have done
> wrong, or any notes of any environment variables to set or anything
> like that.
>
> Any ideas? I'd be most grateful if anyone could help!
>
> Thanks
>
> Richard Kaye

Previous by date: [MUG] Re: Integration problem, Maple User Group
Next by date: [MUG] Re: Curious simplification, Carl Devore
Previous thread: [MUG] system of differential equations :(, Eugene Makarov
Next thread: [MUG] Curious simplification,  Greg Gamble



Ready to buy?

Maple - single user licence
Add to shopping basket
$ 1,895.00
Upgrade to Maple 12 from v11
Add to shopping basket
$ 995.00
Upgrade to Maple 12 from v10 & below
Add to shopping basket
$ 1,395.00

Featured Downloads

What's New in Maple 11 for Professionals
Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055