/opt/sourcetrail/bin/sourcetrail: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Looks like we need to add a dependency libglvnd
Git Clone URL: | https://aur.archlinux.org/sourcetrail.git (read-only, click to copy) |
---|---|
Package Base: | sourcetrail |
Description: | Interactive source explorer for C/C++ and Java |
Upstream URL: | https://github.com/petermost/Sourcetrail |
Keywords: | c c++ cross-platform explorer java source |
Licenses: | GPL-3.0-only |
Submitter: | jetm |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2017-04-12 15:18 (UTC) |
Last Updated: | 2024-03-15 08:42 (UTC) |
/opt/sourcetrail/bin/sourcetrail: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Looks like we need to add a dependency libglvnd
Is there a reason that the package makes only the .desktop
file easily available and not a link to the binary itself?
I have zero experience with writing pkgbuilds, but after browsing a little I believe putting something like below last in package()
will do it (not tested):
install -m 755 "$srcdir/opt/bin/$pkgname" "$pkgdir/usr/bin"
@lightning1141: the link on GitHub is not equivalent to what it was before. When all the issues to build in Arch Linux from scratch are solved. I will change it to GitHub link.
Could you please use github link for download? Sourcetrail is now free and open-source software. source: https://www.sourcetrail.com/blog/open_source/ .
Gosh, there're some other problems building with C++ support. refer to https://github.com/CoatiSoftware/Sourcetrail/pull/762 for the change.
This patch is ok to build the tar source: https://paste.debian.net/1116965/ But there's some problem in installing the app.
Currently I need a patch like this to build the git source: https://paste.debian.net/1116964/
The tar source also needs VERSION_YEAR, VERSION_MINOR, VERSION_COMMIT set.
@pfischbeck: I tried but building from source has some issues. Need time to figure it out. Meanwhile, I created sourcetrail-bin to build from binary. Thanks for the suggestion
@pfischbeck :+1:
Pinned Comments