[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2901: Packages dependies (step 7 of packager)


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

Comment #25 by Benoît MINISINI:

> If on my development system I set LibTester (the application using the library) to use the one in ~/.local/share/gambas3/lib/vendorname and next cretae a .deb package for installation on a target system (no IDE) things go wrong.
> This is because I will first install the library from .deb package onto the target system, and that one will end up in /usr/lib/gambas3/vendorname.
> When next running LibTester it will want the library to be in ~/.local/share/gambas3/lib/vendorname where it will never be on a target system.
> So, the application doesn't start, although the library is installed on the system
> So, what is set in IDE apears to be a hardcode path. 

This is not the intended behaviour. 

Library are searched by name and version, but not by paths. They are searched first in the '~/.local/share/gambas3/lib/<vendor>/' local directory (actually $XDG_DATA_HOME is used as a prefix, 
and '~/.local/share' is just the default one). Then they are searched in the '/usr/lib/gambas3/<vendor>' global directory only if not found in the local path.

I will check what could behave wrongly...

Benoît MINISINI changed the state of the bug to: Working.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----