On Wed, 10 Sep 2008 13:12:42 +0200, Owen <[EMAIL PROTECTED]> wrote:
>> I have installed distribution's 2.4 and cvs . I built cvs with
>> --preifix=/usr/local but there is some conflict with 2.4 which refuses
>> run having detected the conflicting library versions. Here the
>> of ldd for 2.4
>> bash-3.2#echo $PATH
> I think all the paths are getting mixed up
> ^^^^^^^^^^^^^^ before ^^^^^^^
>> bash-3.2#echo $LD_LIBRARY_PATH
> It is picking up /usr/local because that is what you path has first
> (or before /usr/bin )
> You are starting Gimp from a console?
> You need to set the PATH to see /usr/bin first and the same for
> LD_LIBRARY_PATH.to see /usr/lib first
> export PATH=/usr/bin:$PATH and
> export LD_LIBRARY_PATH=/usr/lib
> and when you start 2.5, do so from another console with the paths set
> to pick up the 2.5 libraries first.
> You should actually keep away from /usr/local, the various bashrc and
> profile files set up paths to include /usr and /usr/local and it can
> get confusing.
> Just build in /opt in accordance with the instructions for paths.
Yes, it's the scripts that are prepending things , I'd have though
/usr/local should come after but I'll need to dig to get the order
I still don't understand what it's picking from /usr/local/lib since
/usr/local/lib is not in path or ld_library_path and ldd shows it loading
from /usr/local/lib first no /usr/local. I must have an incomplete idea of
the loading mechanism.
Your suggestion of /opt is probably the easiest solution. Thanks. (and
>> I adapted the way I set this up last time but something did not
>> bash-3.2#which gimp4
>> bash-3.2#cat `!!`
>> cat `which gimp4`
>> #export PATH
>> export LD_LIBRARY_PATH
>> /usr/local/bin/gimp-2.5 "$@"
>> I don't see why 2.4 is pulling from /usr/local/lib
Gimp-developer mailing list