Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickjs: compilation using qjsc fails with gcc: error: /usr/lib/quickjs/libquickjs.a: No such file or directory #33935

Closed
ackalker opened this issue Nov 7, 2021 · 0 comments

Comments

@ackalker
Copy link
Contributor

ackalker commented Nov 7, 2021

System

  • xuname:
    Void 5.13.19_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFF
  • package:
    quickjs-2021.03.27_2

Expected behavior

qjsc <file.js> should successfully compile a JavaScript script or module into a self-contained executable

Actual behavior

Compilation fails with the following error:

gcc: error: /usr/lib/quickjs/libquickjs.a: No such file or directory

Steps to reproduce the behavior

  1. Ensure that both quickjs and quickjs-devel packages are installed
  2. Create a small JS file for testing: echo 'console.log("Hello, world!")' > hello.js
  3. Try and compile using qjsc: qjsc hello.js

Analysis

Neither the quickjs nor the quickjs-devel package contains the file mentioned in the error message. quickjs-devel does contain a file /usr/lib/libquickjs.a (note the missing intermediate directory quickjs).

@ackalker ackalker changed the title quickjs: quickjs: compilation using qjsc fails with gcc: error: /usr/lib/quickjs/libquickjs.a: No such file or directory Nov 7, 2021
atweiden added a commit to atweiden/voidpkgs that referenced this issue Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant