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

[sc-users] Re: #1797829: Trouble finding libs when using PREFIX



Hello!

nescivi wrote:
> I think this is actually really another problem, namely that of not 
> de-installing properly before rebuilding.
> 
> Could you please check whether uninstalling everything with the Scons scripts 
> removes all that you have installed in the previous prefix?
> 
> scons install -c
> 
> (if necessary with sudo)

I didn't know about "sconcs install -c".  It sounds quite useful.  Since I
was installing into a PREFIX, an "rm -rf" did the job for me.

> Another problem will be that you have to configure ldconfig to include your 
> local path for the dynamic linking.

I believe that usually, it's not necessary to fiddle with ldconfig for
installations in a --prefix.  Everyone seems to respect $PREFIX/lib for
libraries.


Greetings,
Daniel