[Gambas-user] External library location

Gianluigi bagonergi at gmail.com
Tue Sep 4 23:38:20 CEST 2018


As far as I know tmp is a directory open to the world.
In all unix filesystems, this is the default setting: drwxrwxrwt.
That said, the administrator is free to do what he wants.

Regards & Goodnight
Gianluigi

Il giorno mar 4 set 2018 alle ore 23:12 Jussi Lahtinen <
jussi.lahtinen at gmail.com> ha scritto:

> Yes, tmp is short for temporary, but as I said, it doesn't necessarily
> have execution permissions. Thus it should be used only for temporary data,
> not for executables.
>
> Jussi
>
> On Tue, Sep 4, 2018 at 11:36 PM Gianluigi <bagonergi at gmail.com> wrote:
>
>> Hi Jussi,
>> what you say about /tmp doesn't convince me and I don't know.
>> I think it's normal to use /tmp for examples, so it doesn't get dirty on
>> the filesystem.
>> There are many programs that "park" their temporary files in tmp.
>>
>> Regards
>> Gianluigi
>>
>> Il giorno mar 4 set 2018 alle ore 21:18 Jussi Lahtinen <
>> jussi.lahtinen at gmail.com> ha scritto:
>>
>>> Using library keyword is good idea, but using /tmp is not, because in
>>> some systems it doesn't have executing permissions.
>>> "/home/<user>/.local/" is better option.
>>>
>>> Jussi
>>>
>>>
>>> On Tue, Sep 4, 2018 at 9:17 PM Gianluigi <bagonergi at gmail.com> wrote:
>>>
>>>> A link to what writes vuott, he of these things is master.
>>>> http://www.gambas-it.org/smf/index.php?topic=6543.msg44330#msg44330
>>>>
>>>> Regards
>>>> Gianluigi
>>>>
>>>> Il giorno mar 4 set 2018 alle ore 19:12 Gianluigi <bagonergi at gmail.com>
>>>> ha scritto:
>>>>
>>>>> It is actually explained.
>>>>> However if the question is "I can indicate the Data folder with
>>>>> Application.Path" the answer is as always *no*.
>>>>> Copy the library from Data to a real folder such as */tmp* as
>>>>> explained in a lesson.
>>>>>
>>>>> Regards
>>>>> Gianluigi
>>>>>
>>>>> Il giorno mar 4 set 2018 alle ore 17:53 PICCORO McKAY Lenz <
>>>>> mckaygerhard at gmail.com> ha scritto:
>>>>>
>>>>>> err no one of the links answer the question of Martin
>>>>>>
>>>>>> he ask for path not "how to implement"
>>>>>>
>>>>>> i research at the two links and the wiki, *and (apart of the very
>>>>>> dense redaction without separations pauses or  paragraphs) *there's
>>>>>> no such related info about path loading of so external libraryes
>>>>>>
>>>>>>
>>>>>> Lenz McKAY Gerardo (PICCORO)
>>>>>> http://qgqlochekone.blogspot.com
>>>>>>
>>>>>> 2018-09-04 9:36 GMT-04:00 Gianluigi <bagonergi at gmail.com>:
>>>>>>
>>>>>>> Certainly, I don't know how to do it because I don't know C, but
>>>>>>> here [0] is explained how to do it.
>>>>>>> Regards
>>>>>>> Gianluigi
>>>>>>> [0] http://gambaswiki.org/wiki/howto/extern
>>>>>>> [1]
>>>>>>> http://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Interfacciare_Gambas_con_librerie_dinamiche_esterne_.so
>>>>>>>
>>>>>>> Il giorno mar 4 set 2018 alle ore 14:53 Martin Cristia <
>>>>>>> tercoide at hotmail.com> ha scritto:
>>>>>>>
>>>>>>>> Hi:
>>>>>>>>
>>>>>>>> It is possible to use a .so file located at Application.path
>>>>>>>> instead of
>>>>>>>> usr/lib/ ?
>>>>>>>>
>>>>>>>> How to set that up?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Saludos
>>>>>>>>
>>>>>>>> Ing. Martin P Cristia
>>>>>>>>
>>>>>>>>
>>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>>>>>> ]----
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>>>>> ]----
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>>>> ]----
>>>>>>
>>>>>
>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>> ]----
>>>>
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180904/f04de2bb/attachment-0001.html>


More information about the User mailing list