Skip to content

Linking when installing on Arch via AUR #1042

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

Open
ccooper1982 opened this issue May 2, 2025 · 0 comments
Open

Linking when installing on Arch via AUR #1042

ccooper1982 opened this issue May 2, 2025 · 0 comments

Comments

@ccooper1982
Copy link

ccooper1982 commented May 2, 2025

This may be my misuse, but:

  • I installed ftxui via the AUR
  • Building with meson
  • It complained about undefined references

Long story, short:

  • When running makepkg , by default it strips symbols from executables and libraries
  • I had to edit the PKGBUILD to prevent this
  • I could then link

I added the following line to PKGBUILD:

options=("!strip")

Am I misusing this? I don't see how other users can link without doing similar if on Arch and installing via the AUR (and I don't want to change the default behaviour of makepkg by editing its config).

References:

  • pkgbuild then scroll down to options (array)
@ccooper1982 ccooper1982 changed the title Linking to ftxui on Arch Linking when installing on Arch via AUR May 2, 2025
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