Re: compiling and linking issues

Cyber Chhaya <[email protected]> Wed, 13 Apr 2005 15:32:57 -0700 (PDT)
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Thanks a lot Kathy! I'll try it out. I have both
shared and static libraries for the 3rd party stuff.
The 3rd party libraries also requires libelf-0.6.4-4
and an old version of the stdc++ library. They
distribute a renamed version of the stdc++ library.

I compiled with gcc 3.2.3 on solaris 8 and it seems to
be working with shared libraries. I will try on linux
with static libraries and gcc-compat. Hope it works! 

Thanks for your help!

Ruchi

--- Kathy Bieltz <[email protected]> wrote:
> Ruchi,
> 
> If your 3rd party libraries are statically compiled,
> The you need to install the 'gcc-compat' libraries.
> That will allow you to link in the older libraries
> with your new application.
> 
> However, if any of your 3rd party libraries are
> shared libraries then it won't work.  You'll get
> unresolved references to __ctype_b that can't
> be resolved.  The way __ctype_b is
> handled changed in the 'glibc' and so __ctype_b
> was removed to prevent conflicts in RH 9.0.
> Shared libraries built on older systems
> expect to have it defined and you'll get an
> error when you try to link them on your RH 9.0
> system.
> 
> Kathy Bieltz
> 
> Cyber Chhaya wrote:
> 
> >Hi,
> >   I am very new to Linux. I am trying to compile
> my
> >code on Red Hat 9 using gcc 3.2.3. I need to link
> to
> >3rd party libraries compiled on Red Hat 6.2 using
> gcc
> >2.95.1.
> >Is this possible if I copy over the system
> libraries
> >needed from Red Hat 6.2?
> >
> >Thanks for your help!
> >
> >Ruchi
> >
> >
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >Yahoo! Small Business - Try our new resources site!
> >http://smallbusiness.yahoo.com/resources/
> >
> >_______________________________________________
> >Redhat-devel-list mailing list
> >[email protected]
>
>https://www.redhat.com/mailman/listinfo/redhat-devel-list
> >
> >
> >
> >  
> >
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [email protected]
>
https://www.redhat.com/mailman/listinfo/redhat-devel-list
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/