Try the following:
export LD_LIBRARY_PATH=/home/ray/STAF/lib/perl510:$LD_LIBRARY_PATH
STAFProc &
David Bender
STAF/STAX Development
(512-286-5315)
IBM Austin Bldg. 903-5B002
Internet: bda...@us.ibm.com
Ray Chen <chenrano2...@163.com>
03/22/2009 04:23 AM
To
David Bender/Austin/i...@ibmus
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] STAFDynamicLibraryOpen: /home/ray/STAF/lib/libPLSTAF.so:
undefined symbol: Perl_Tcurpad_ptr
在 2009-03-21六的 13:29 -0600,David Bender写道:
>
> What version of Perl are you using (what is the output of "perl -v")?
> By default, STAF will use Perl 5.8 libraries (although the
> STAF332-setup-linux-NoJVM.binwill install STAF libraries for Perl 5.6,
> 5.8, and 5.10).
>
[...@localhost ~]$ perl -v
This is perl, v5.10.0 built for i386-linux-thread-multi
and the PERLLIB environment has been set
[...@localhost ~]$ echo $PERLLIB
/home/ray/STAF/bin:/home/ray/STAF/lib/perl510:
it seems that it doesn't work, How to set to use this perl library
"/home/ray/STAF/lib/perl510/libPLSTAF.so"
>
>
> Ray Chen <chenrano2...@163.com>
>
> 03/21/2009 12:26 PM
>
>
> To
> staf-users@lists.sourceforge.net, Ray Chen <chenrano2...@163.com>
> cc
>
> Subject
> [staf-users]
> STAFDynamicLibraryOpen: /home/ray/STAF/lib/libPLSTAF.so: undefined
symbol: Perl_Tcurpad_ptr
>
>
>
>
>
>
>
>
> Hi, all,
>
> I have meet a problem when load Perl service. Based on "STAF Service
> Developer's Guide", I need a new line into STAF.cfg
>
> SERVICE Sample LIBRARY PLSTAF EXECUTE DeviceService \
> OPTION USELIB=/home/ray/STAF/services
>
> The Perl Service "DeviceService.pm" is copied from
> src/staf/services/sdg_sample directory to /home/ray/STAF/services.
> Here,
> I just want to test this STAF service written by Perl.
>
> However, I can't start STAFProc except the followng error:
> [...@localhost STAF]$ STAFProc
> Caught STAFException
> Name : STAFException
> Location
> :
/opt/dev/autobuild/build/src/staf/stafif/STAFDynamicLibraryInlImpl.cpp(29)
> Text : STAFDynamicLibraryOpen: /home/ray/STAF/lib/libPLSTAF.so:
> undefined symbol: Perl_Tcurpad_ptr
> Error code: 10
> Error reading config file
>
> In the end, a new "hs_err_pid13156.log" file is automatically
> generated.
> You can get it from the attachment.
>
> I have using the following files to setup STAF on my Fedora10
> machine(the CPU is amd64, but I install fedora-i386, not x86_64).
> STAF332-setup-linux-NoJVM.bin
> STAF332-src.tar.gz
> STAXV335.tar
>
> If the above info is enough for you to debug, please tell me to show
> more. And please reply to me directly since I'm not subscribed in this
> mailing list.
> Hope get you reply soon.
>
> Thanks,
> Ray
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users