On Wed, 10 Sep 2008 13:12:42 +0200, Owen <rcook@xxxxxxxxxxx> wrote: >> Hi, >> >> 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 >> to >> run having detected the conflicting library versions. Here the >> beginning >> of ldd for 2.4 > > <snip> > >> bash-3.2#echo $PATH >> > > I think all the paths are getting mixed up > > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin > ^^^^^^^^^^^^^^ before ^^^^^^^ > > >> bash-3.2#echo $LD_LIBRARY_PATH >> /usr/qt/3/lib > > 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 corrected. 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 Micheal too) regards. > > >> I adapted the way I set this up last time but something did not >> follow. >> >> bash-3.2#which gimp4 >> /usr/local/bin/gimp4 >> bash-3.2#cat `!!` >> cat `which gimp4` >> #!/bin/sh >> >> #PATH=/usr/local/bin:$PATH >> #export PATH >> LD_LIBRARY_PATH=/usr/local/lib >> export LD_LIBRARY_PATH >> >> /usr/local/bin/gimp-2.5 "$@" >> >> >> I don't see why 2.4 is pulling from /usr/local/lib > > > -- .*. /V\ (/ \) ( ) ^^_^^ _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer