Re: [foxboro] data retrieval with legacy historian

Hi all

Thanks for the suggestions on this topic,

I have tried several proposed solutions, but with no satisfying result.

The files are not found on our system, i tried libisam.so libisam.a same as
libPW.so and libPW.a.
One should expect these files on the system as they are used in the examples
given in the documentation of the historian.
Are these files installed by the system or must they be installed
separately?
The libhist.a library is in the /opt/fox/hstorian/bin/ folder.

I have also tried the other options

cc testhist.c -I/usr/include/fox -lgen -lsocket -history -lfox -lfoxlc
-lposix4 -lm
gives  Undefined symbol errors first referenced in file
/usr/lib/libhistory.so
Like:   rq_msgs, get_data etc.

The gcc option I can not test because we use the ansi c compiler from Sun



Greetings

Ronny

> -----Original Message-----
> From: Cyrus W. Taft [SMTP:cwtaft@xxxxxxxxxxxxxx]
> Sent: Monday, November 18, 2002 4:35 PM
> To:   INTERNET:foxboro@xxxxxxxxxxxxx
> Subject:      [foxboro] data retrieval with legacy historian
> 
> 
> Ronny,
> I'm not sure exactly which libraries you need to include.  The missing
> library file names are libisam.so or libPW.so I think. Try searching for
> those files and make sure their paths are included in the LIBPATH
> environment variable. Or you can put the full path name in the compiler
> command line.
> 
> Cyrus Taft
> 
> 
> Message text written by INTERNET:foxboro@xxxxxxxxxxxxx
> >cc testhist.c -L/opt/fox/hstorian/bin -I/usr/include/fox -lhist -lisam
> -lfox
> -lPW
> 
> I get the following errors
> 
> ld: fatal: library -lisam : not found
> ld: fatal: library -lPW: not found
> <
> 
>  
>  
> _______________________________________________________________________
> This mailing list is neither sponsored nor endorsed by Invensys Process
> Systems (formerly The Foxboro Company). Use the info you obtain here at
> your own risks. Read http://www.thecassandraproject.org/disclaimer.html
>  
> foxboro mailing list:             http://www.freelists.org/list/foxboro
> to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
>  
> 
> 
**************************************************************************
This e-mail and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above.Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) by persons
other than the designated recipient(s) is prohibited.Any liability for the
correct and complete transmission of the information or for any delay or
interruption of the transmission or for damages arising from the use of
reliance of the information shall be disclaimed.If you have received this
e-mail in error, please notify the sender either by telephone or by e-mail
and delete the material from any computer.
Thank you for your cooperation
**************************************************************************

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: