> Bob Palowoda <[EMAIL PROTECTED]> wrote:
> 
> > > i find iconv.h both in /opt/csw/lib and
> > > /usr/local/lib.
> > >     i didn't know how to add  LD_LIBRARY_PATH .
> > >    is it edit /etc/profile,add line:
> > >    LD_LIBRARY_PATH=/usr/local/lib
> > > i have add this,but no use.
> >
> >  I would advise not to set LD_LIBRARY_PATH.  Rather
> set your LDFLAGS -L and -R paths
> > before compiling.  And your going to have to make
> up your mind on a single environment
> > path you want to compile against.  Your mixing too
> many environments.
> 
> I strongly recommend not to use LDFLAGS as LDFLAGS
> overwrites any -L / -R flag 
> used inside the Makefiles.
> 
> People who did have success with LDFLAGS, tend to put
> it into their every day 
> environment. If you do this, you cannot compile any
> of my programs corectly.
> What happens in such a case is that flags like
> -L$(SRCROOT)/libs/$(ARCHDIR)/
> are overwritten and the code does not get linked
> against the recently compiled
> libs that come with the project but against old libs
> that are "installed" on 
> the system.
> 

 Developers use old libs?

---Bob
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to