On Thu May 26 2005 16:42, you wrote:
> On Thu, May 26, 2005 at 03:43:17PM +0300, Boris Gorelik wrote:
> Not enough.
> You have a standard install of mandriva.
> In addition, you compiled gcc322 with --prefix=pref1.
Correct. 
> Up until now, nothing should have changed. Standard binaries continue
> to use the standard shared libs, and if you compile an app it will use
Theoreticaly, yes. But something went wrong, and it is broken now. Again, I 
didn't touch any environmental variable (LD_LIBRARY_PATH, PATH, etc).

> the standard compiler and shared libs.
> Now you want to compile app1 with gcc322. How do you do this? First, you
> need to get to the compiler. You can either run it with the full path,
This is exactly what I do: CC=/opt/gcc322/bin/g++322

> or add pref1/bin to your path. Any of these will allow compiling, but
> not running, and standard binaries should not be affected. To run app1,
Again, I need gcc322 only for one app, which is linked statically, so passing 
to the linker appropriate -L and -l parameters do the job.

I know that this sounds strange and funny, so I'll stress it again: installing 
gcc322 in completely isolated directory (/opt/gcc322) breaks lots of already 
existing standrd applications. Removing /opt/gcc322 (rm -fr /opt/gcc322) 
completely restores all the broken functionality.

 Furthermore, on another machine with similar setup, and with exact arguments 
to "configure" and "make", the problem does not exist

-- 
Boris Gorelik
Those who can, do; Those who can't, simulate
Thu, 26/May/2005, 18 Iyar 5765
-------------------------------------------------
! Molecular Modelling Group !
! Pharmacy School, Hadassa Faculty of medicine !
! The Hebrew University of Jerusalem !
! http: // www .md.huji.ac.il/models/group.html !
!
!------------------------------------------------

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to