[Gambas-bugtracker] [Gambas Bug Tracker] Bug #2032: Make components relocate with $LD_LIBRARY_PATH or other variable

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Jan 12 09:18:09 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2032&from=L21haW4-

Rafael FRYER reported a new bug.

Summary
-------

Make components relocate with $LD_LIBRARY_PATH or other variable

Type             : Request
Priority         : Low
Gambas version   : 3.15
Product          : Unknown


Description
-----------

I'm trying to make my gambas application into an AppImage, which I did by exporting as an executable and then putting that in a template for making AppImages I built a while ago, however I tried to package the binary versions of gambas-runtime and the libraries I needed into the AppImage and setting the $PATH and $LD_LIBRARY_PATH variables, my "containerised" version of gbr3 executed as per the modified $PATH variable, but it was still looking for the components at /usr/lib/gambas3/ instead of the ./usr/lib/gambas3 that I told it to search in. After looking at the wiki (https://gambaswiki.org/wiki/def/component) I saw that it's supposed to follow $PREFIX, but that had no effect when setting it to ./usr/. Am I blindly missing something? If so please let me know but otherwise it would be nice if gambas components followed some variable that allowed them to be located in non /usr/ directories


System information
------------------

Manjaro Linux
Gambas 3.15.2




More information about the Bugtracker mailing list