#305 Linux start script fails to find library directories.

none
done
None
bug
normal
None
app support
False
False
2015-01-10
2014-08-31
No

On Linux Mint 17 32 bit the viewer does not find libraries.
The start script (kokua) needs changed as follows.


About line 125 # denote commented out old code
if [ "${BINARY_TYPE}" == "ELF 32-bit LSB executable" ]; then

#export SL_ENV='LD_LIBRARY_PATH="`pwd`"/lib:"${LD_LIBRARY_PATH}"'
    export LD_LIBRARY_PATH="$PWD/lib:${LD_LIBRARY_PATH}"

else
export LD_LIBRARY_PATH="$PWD/lib:$PWD/lib64:$PWD/lib32:${LD_LIBRARY_PATH}"
#export SL_ENV='LD_LIBRARY_PATH="pwd"/lib64:"pwd"/lib32:"${LD_LIBRARY_PATH}"'
fi


This change will be included in the viewer soon.

1 Attachments

Discussion

  • Nicky Perian

    Nicky Perian - 2014-09-01

    Queued for weekly build
    [Linux] Issue #305. Found on Linux Mint 17 32 bit that the load library path was
    not set correctly.Changed the instruction for 64 bit also.
    Tested on 32 and 64 bit linux. Changed some branding text while in the file.

     
  • Nicky Perian

    Nicky Perian - 2014-09-01
    • status: new --> ready-to-merge
     
  • Nicky Perian

    Nicky Perian - 2014-09-06

    Actually upload the file that has the Slackware fix and the Linux Mint fix.

     
    Last edit: Nicky Perian 2014-09-07
  • Nicky Perian

    Nicky Perian - 2014-09-06
     
  • Nicky Perian

    Nicky Perian - 2014-09-11
    • status: ready-to-merge --> done
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks