-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Monday 21 July 2003 20:25, richard@tortoise.demon.co.uk wrote:
I'm still using suse 7.2 and recently I tried installing an application that I think needs a more recent library that comes with the c compiler.
This sounds very unlikely. What library? What error do you get otherwise?
Now, gcc -v is reporting different versions, depending who I am!
If I log on as root, gcc -v reports 3.2
If I log on as an ordinary user and then su to root, gcc -v reports 2.95.3 , reading specs from a different place.
That's simply because you have a different $PATH variable depending on whether you are root or as a normal user. As your normal user, put the directory of the gcc binary as the first value in PATH. As root find out which it is by doing 'which gcc' then do something like this: galadriel:/home/chris # which gcc /usr/bin/gcc galadriel:/home/chris # su chris chris@galadriel:~> export PATH=/usr/bin:$PATH You'll probably want to make changes to /etc/profile to make it permanent. - -- Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP ID: 33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/HDlJF8Iu1zN5WiwRAprQAJ9TSbTKHnb2GnrDpErJYPobYUZQBACfT7iM GiZh+48FsfrBIvvWiHwBIxI= =P25i -----END PGP SIGNATURE-----