pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pspp on solaris


From: Sebastian Juenemann
Subject: pspp on solaris
Date: Thu, 11 Aug 2011 11:06:52 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.12) Gecko/20100917 Lightning/1.0b1 Thunderbird/3.0.8

Hi,

i've build and installed pspp-0.6.2 on solaris and it is running well but i do have on question concerning the dynamic load of the libpsppire shared object.

I just do not see why i have to set the LD_LIBRARY_PATH in order to not getting the following error:

(psppire:2791): libglade-WARNING **: Could not load support for `psppire': ld.so.1: psppire: fatal: libpsppire.so: open failed: No such file or directory

I have build psppire along with correct set LD_RUN_PATH and also giving the -L and -R options to the linker pointing to the correct location of the pspp librarys. That is also what i do see if i do the following:

>ldd ./psppire | grep pspp
        libpsppire.so.0 =>   /vol/local/lib/pspp/libpsppire.so.0
        libpsppwidgets.so.0 =>       /vol/local/lib/pspp/libpsppwidgets.so.0

So the libraries were loaded correct dynamically by the ld linker but not anymore if i'm running the psppire program with not exported LD_LIBRARY_PATH.

Since setting the LD_LIBRARY_PATH to the environment is considered bad practice i consider this not a solution. So, does anyone came across the same problem and/or can me tell why psppire is behaving so?

key parameters:
pspp-0.6.2
i386-pc-solaris2.10 (SunOS 5.10)
gcc-4.3

Thanks,

Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]