question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kscript is broken on ArchLinux

See original GitHub issue

Installed from the AUR.

Error message:

$ kscript 'println("Hello world")'
/usr/bin/kscript: line 49: /usr/share/kotlin/bin/kotlin: No such file or directory

Correct path to the Kotlin binary:

$ command -v kotlin
/usr/bin/kotlin

I don’t really know what information could be of use, don’t hesitate to ask for specific information you need.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DareFoxcommented, Oct 12, 2022

Found fix, just create symlink to kotlinc in /usr/share/kotlin/bin

 sudo mkdir /usr/share/kotlin/bin
 sudo ln -s /usr/bin/kotlin /usr/share/kotlin/bin/kotlin   
 sudo ln -s /usr/bin/kotlinc /usr/share/kotlin/bin/kotlinc   

image

Maybe add this commands to PKGBUILD on Aur?

0reactions
aartiPlcommented, Dec 6, 2022

I have added information about the problem in the README file with a link to this ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AUR (en) - kscript - Arch Linux
The PKGBUILD generation has been mostly fixed. However, it still seems to generate the wrong checksum for the source file.
Read more >
Howto Restore the ownership of jscript.dll to the
Hi! I took the advice from the Trendmicro which they posted on 20th of January to prevent anyone abusing the IE vulnerability ...
Read more >
Bug with archinstall script : r/archlinux - Reddit
Tried the latest iso last night, and it seems like the script is broken on the partitioning, I tried with ext4 and btrfs...
Read more >
Room database is not working in mac book pro m1
Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64 at org.sqlite.
Read more >
Internet Explorer Security Update Causing Some Issues With ...
As a stopgap, they released a temporary fix that involved changing the owner of a certain problematic .dll file (jscript.dll) and denying access...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found