[pdp-discuss] Linux Problem
Brad Aisa
baisa at colorado.edu
Mon Aug 7 01:09:39 MDT 2006
Hi Reza,
Make sure the libs, ex. libpdp.so actually exist in the dir:
/usr/local/pdp++/lib/LINUX -- if they are links, make sure that
the files actually exist where they are pointing (sorry, not a
3.2 guru, and no access to a system at the moment with it.)
If they do, I'm not quite sure why the LD_LIBRARY_PATH doesn't
work. (Note: I made a mistake in my directions regarding the
.bashrc file -- don't use $CPU -- just use LINUX -- but if it
doesn't work at the console, it is not likely to work in .bashrc)
BTW, since I'm not sure of how familiar you are with Unix, I just
want to make sure that you know that if you make a change to an
environment variable, like VAR=value in the console, it only
affects that specific console session, so you can't try running
some other way. Also, when you make changes to .bashrc and other
such files, they only affect *new* console sessions.
If none of the above helps...
You could try creating symbolic links to a location where the
loader will look by default. I'm pretty sure it looks in the same
folder as the bin, so you could try:
cd /usr/local/pdp++/bin/LINUX
ln -s /usr/local/pdp++/lib/LINUX/lib* ./
(note: make sure links for all the libs appear, in case i've made
a mistake in the syntax of the wildcard command)
or, as a last resort, you could try into a system lib folder:
cd /usr/lib
ln -s /usr/local/pdp++/lib/LINUX/lib* ./
Reza wrote:
> Brad,
> Thank you but I tried this and I am still unable to launch the application.
> Reza
>
>
> On 8/2/06, Brad Aisa <baisa at colorado.edu> wrote:
>>
>> Hi Reza,
>>
>> Sorry you're having difficulties. Randy (who did the pdp v3.2
>> installer) may commment as well, but I thought I might be able
>> to help...
>>
>> Before trying to start pdp at the console, try typing this first:
>>
>> export LD_LIBRARY_PATH=/usr/local/pdp++/lib/LINUX
>>
>> If that works, then you can add this to your .bashrc file in your
>> home folder:
>>
>> export LD_LIBRARY_PATH=/usr/local/pdp++/lib/LINUX
>>
>> if you already have a LD_LIBRARY_PATH in that file, you can add
>> as follows (i.e., put the new stuff, then a colon, then the
>> existing stuff)
>>
>> export LD_LIBRARY_PATH=/usr/local/pdp++/lib/$CPU:existingstuff
>>
>>
>> On Wednesday 02 August 2006 11:34, Reza wrote:
>> > I've installed Linux (Fedora Core 5) on my lapto and have also
>> > installed the PDP++ software using the automated .rpm
>> > installer (pdp++- binext-3.1-0.i386.rpm). I am pretty sure the
>> > installation was completed properly because I was prompted to
>> > enter root password in order to continue the installation, and
>> > that the program seems to have been installed in
>> > /usr/local/pdp++, with the executables in the
>> > /usr/local/pdp++/bin/LINUX folder. the problem that I am
>> > having is that I am uanble to launch any of the executables
>> > from /usr/local/pdp++/bin/LINUX, and there seems to have been
>> > no program group created in the "Applications" drop down menu
>> > on the Panel. when I try to run any of the executables from
>> > the console, I get the following message: "error while loading
>> > shared libraries: libpdp.so: cannot open shared object file:
>> > No such file or directory"
>> > Any help/advice to overcome this problem will be greatly
>> > appreciated. Reza
>>
>> --
>> Brad Aisa <baisa at colorado dot edu>
>> Professional Research Assistant
>> Department of Psychology
>> University of Colorado - Boulder
>> _______________________________________________
>> PDP-Discuss mailing list
>> PDP-Discuss at psych.Colorado.EDU
>> http://psych.colorado.edu/mailman/listinfo/pdp-discuss
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych.Colorado.EDU
> http://psych.colorado.edu/mailman/listinfo/pdp-discuss
More information about the PDP-Discuss
mailing list