Article 5CPC6 Slic3r hiccough

Slic3r hiccough

by
business_kid
from LinuxQuestions.org on (#5CPC6)
I have Slic3r installed in /opt, but it's tripping over it's shoelaces in the startup script, /opt/Slic3r/Slic3r Code: cat /opt/Slic3r/Slic3r
#!/bin/bash
BIN=$(readlink "$0")
DIR=$(dirname "$BIN")

export LD_LIBRARY_PATH="$DIR/bin"
exec "$DIR/perl-local" -I"$DIR/local-lib/lib/perl5" "$DIR/slic3r.pl" $@It then pukes with the error Code:/opt/slic3r: line 6: /home/dec/Slic3r/perl-local: No such file or directoryRead that as 'line 5', because LQ omitted a blank line 2.

I often see lines very like the ones in bold in startup scripts, and it seems to be going wrong there. What exactly are they supposed to do?latest?d=yIl2AUoC8zA latest?i=NmsUVqgdJy8:F3r6iiUHBh4:F7zBnMy latest?i=NmsUVqgdJy8:F3r6iiUHBh4:V_sGLiP latest?d=qj6IDK7rITs latest?i=NmsUVqgdJy8:F3r6iiUHBh4:gIN9vFwNmsUVqgdJy8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments