[Slackbuilds-users] pdfstudioviewer 2024.0.1 : typo in slackbuild script?
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Fri Mar 6 05:17:54 UTC 2026
>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?
The code is correct in the first place
if you put $PKG in the first part of ln, it will have a link to
temporary build directory instead of coming from root directory when
you install the package.
You can try to remove the /tmp/SBo directory and see if you have a
broken link on /usr/bin/
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260306/533b1547/attachment.asc>
More information about the SlackBuilds-users
mailing list