Re: compiling and linking issues
- To: "Red Hat developer's list" <redhat-devel-list@xxxxxxxxxx>
- Subject: Re: compiling and linking issues
- From: Cyber Chhaya <cyber_chhaya@xxxxxxxxx>
- Date: Wed, 13 Apr 2005 15:32:57 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=MK0W9wJLDwNJx02kDMfScFulThWaeDkbKrwvDTDfwY6rjqsJjuPUsXoJQ3FN2ZfZ1Q06P26BJ3/b9y6y/Jyx4/bfv5L/7xYRCs3pi+A8akNqLMtU4KMDhUe6u9UPGANxHmAo11dOevX8QbzzARbGOd/jEOJ0rpH8qOJ5w1JpwCU= ;
- In-reply-to: 6667
- Reply-to: "Red Hat developer's list" <redhat-devel-list@xxxxxxxxxx>
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 <kbieltz@xxxxxxxxxx> 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
> >Redhat-devel-list@xxxxxxxxxx
>
>https://www.redhat.com/mailman/listinfo/redhat-devel-list
> >
> >
> >
> >
> >
>
> _______________________________________________
> Redhat-devel-list mailing list
> Redhat-devel-list@xxxxxxxxxx
>
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/
_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list
[Home]
[Kernel Newbies]
[Red Hat General]
[Fedora]
[Red Hat Install]
[Kernel List]
[Yosemite News]