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

Reply via email to