well, i got it done just now. here is my method

export LD_LIBRARY_PATH=/home/huangde/local/lib/  (where the
libpspp-core-$VERSION.so store)

then re-complie the PSPP-Perl module again

it's working now.

thanks

On Sun, Oct 10, 2010 at 3:14 PM, 老邪 <[email protected]> wrote:

> Hi, All
>
>      I have a problem when i try to "use PSPP" in my perl script. i have
> installed the pspp (0.7.5), PSPP-Perl (0.7.5) installed
> successfully, and
> lib path of pspp is : /home/huangde/local/lib
> bin path of pspp is : /home/huangde/local/bin
> perl module path of PSPP are:
> Installing
> /home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PSPP/PSPP.bs
> Installing
> /home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PSPP/PSPP.so
> Installing
> /home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/PSPP.pm
> Installing /home/huangde/perl5/man/man3/PSPP::Examples.3pm
> Installing /home/huangde/perl5/man/man3/PSPP.3pm
>
> and other info :
> perl version : v5.10.0 built for x86_64-linux-gnu-thread-multi
> XSLoader.pm :  $VERSION = "0.10";
>
> (i have no root permission, so i have to install everything under my home
> directory)
>
> when i "use PSPP" and run the perl script, error shows:
> -----------------------------------------
> Can't load
> '/home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PSPP/PSPP.so'
> for module PSPP: libpspp-core-0.7.5.so: cannot open shared object file: No
> such file or directory at
> /home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/XSLoader.pm line
> 70.
>  at /home/huangde/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/PSPP.pm
> line 26
> -----------------------------------------
>
>      I do check the PSPP.so exists, and i can run pspp with command line.
> now i have no idea what's wrong.
> can somebody give some tips?
>
>      any help are appreciated! thank you!
>
> best regards,
>
> laoxie
>
_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to