[Slackbuilds-users] pdfstudioviewer 2024.0.1 : typo in slackbuild script?

Douglas Guptill dguptill at accesswave.ca
Fri Mar 6 04:17:00 UTC 2026


Hello:

I was looking for something to edit a fillable pdf file, and came
across pdfstudioviwer.  Downloaded the SBo and tried it.

The build output included

  ...<snip>..
  opt/pdfstudioviewer2024/updater
  chmod: cannot operate on dangling symlink './usr/bin/pdfstudioviewer'

  [Note: this part of the build was not running as user root.
   My SlackBuilds are split into 2 parts; everything up to makepkg,
   which runs as a normal user, and the makepkg, which runs as root.
  ]

which I concluded came from line 67 in the SlackBuild script

  ln -s /opt/$PRGNAM$YEAR/$PRGNAM$YEAR $PKG/usr/bin/$PRGNAM

So I inserted a "$PKG" in that line

  ln -s $PKG/opt/$PRGNAM$YEAR/$PRGNAM$YEAR $PKG/usr/bin/$PRGNAM

and all went well.  I now have a working pdfstudioviewer.

Is there anything further I can do to help?

Regards,
Douglas.
-- 
Bold character derived from stubborn patience and adversity.
==
Douglas Guptill, B.Sc., CCP, M.Comp.Sci., THB


More information about the SlackBuilds-users mailing list