> On 17 Mar 2017, at 04:46, Ben Coman <[email protected]> wrote:
> 
> On Thu, Mar 16, 2017 at 6:11 PM, Esteban Lorenzano <[email protected]> 
> wrote:
>> 
>> Hi,
>> 
>> Last weeks I was fighting with library dependency problems on linux 
>> distributions and at the end I came to the conclusion that the only way to 
>> guarantee that our own dependencies will be found first than OS versions 
>> (which can have problems for us when we choose to distribute a library by 
>> our own) is to add library directory to LD_LIBRARY_PATH before the execution.
>> 
>> Now, I added that  to zeroconf and that’s working fine, but now we have the 
>> problem of the “non zeroconf” distributions.
>> 
>> I checked how to add this and well, turns out that “old way” of 
>> distributions, from the standard builds of os-vm (we changed it like 5 years 
>> ago) already have something like that. The osvm for linux has this structure:
>> 
>> ./pharo
>> ./lib
>> ./lib/5.0-201703221605
>> ./lib/5.0-201703221605/* //All binaries and libraries here
>> ./bin
>> ./bin/pharo
>> 
>> thing is: here ./pharo is an script who mades all we need.
>> 
>> So, instead reinventing the wheel I want to go back to this structure… I do 
>> not think it will imply anything to anyone, but I wanted to let you know :)
>> 
>> cheers,
>> Esteban
> 
> 
> Can you consider this for our startup script...
>  Generalise determination of LD_LIBRARY_PATH in squeak run script
>  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/15 
> <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/15>

this is already merged, isn’t? 
then is already in “my script” (what I was proposing is to use the osvm script) 
:)

> 
> Last time I downloaded Squeak this hadn't filtered through to their packaging
> and their startup script bombed on my 32-bit Debian 8 Jessie.
> 
> cheers -ben
> 
> 
> P.S if time permits, could you also action out this..
>  Download PharoXXX.sources if its not found in the usual location.
>  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/79
> 

Reply via email to