Bluehost.com Web Hosting $6.95

glibc back compatibility

This is a discussion on glibc back compatibility within the Linux General forums, part of the Linux Forums category; Hi, I'm trying to run some Electronic Design Automation (EDA) tools on mandrake 9.2 but most of these ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-08-2003
Rui Pimenta
 
Posts: n/a
Default glibc back compatibility

Hi,

I'm trying to run some Electronic Design Automation (EDA) tools on mandrake
9.2 but most of these tools say that they can only run on RedHat 7.3.

Is it possible to make the program "think" that it is running in a RedHat
7.3 system. Probably the problem would be on the glibc compatibility.

Does anyone have any idea of how to sort this out? Because it wouldn't like
to have to move to RedHat 7.3.

Thanks in advance,
Pimenta
Reply With Quote
  #2 (permalink)  
Old 12-08-2003
Amanda L. Rossmiller
 
Posts: n/a
Default Re: glibc back compatibility

use ldd to find out what you need.
then install any dependencies you don't have
and as far as libraries, if it's something similar
to the same version you have installed,
(near to the version number)
i think you can usually just symlink it to that...
(someone correct me if i'm wrong)


Reply With Quote
  #3 (permalink)  
Old 12-08-2003
J.O. Aho
 
Posts: n/a
Default Re: glibc back compatibility

Rui Pimenta wrote:
> Hi,
>
> I'm trying to run some Electronic Design Automation (EDA) tools on mandrake
> 9.2 but most of these tools say that they can only run on RedHat 7.3.
>
> Is it possible to make the program "think" that it is running in a RedHat
> 7.3 system. Probably the problem would be on the glibc compatibility.
>
> Does anyone have any idea of how to sort this out? Because it wouldn't like
> to have to move to RedHat 7.3.


You will need a gcc2.96 compat libraries installed, as all the RedHat 7.x
stuff is compiled with the GCC2.96 and will not run under a GCC3.x environment.

Glibc is backwards compatible with earlier versions (there are a few 2.2.x
versions that had some backward issues).


//Aho

Reply With Quote
  #4 (permalink)  
Old 12-08-2003
Rui Pimenta
 
Posts: n/a
Default Re: glibc back compatibility

I did:

$ldd -v quartus
not a dynamic executable

so, how can I find which are the needed dependencies?

best regards,
Rui Pimenta


Amanda L. Rossmiller wrote:

> use ldd to find out what you need.
> then install any dependencies you don't have
> and as far as libraries, if it's something similar
> to the same version you have installed,
> (near to the version number)
> i think you can usually just symlink it to that...
> (someone correct me if i'm wrong)


Reply With Quote
  #5 (permalink)  
Old 12-08-2003
Rui Pimenta
 
Posts: n/a
Default Re: glibc back compatibility


> You will need a gcc2.96 compat libraries installed, as all the RedHat 7.x
> stuff is compiled with the GCC2.96 and will not run under a GCC3.x
> environment.

What is the name of the compat libraries, this because I installed a glibc
LSB package which says in the rpm description that is compatible with
previous versions. Probably it does not have the everything.

When I run the program I only get the message:

$quartus &
if: Expression Syntax.

Thanks in advance,
Pimenta

> Glibc is backwards compatible with earlier versions (there are a few 2.2.x
> versions that had some backward issues).
>
>
> //Aho


Reply With Quote
  #6 (permalink)  
Old 12-08-2003
Alex Butcher
 
Posts: n/a
Default Re: glibc back compatibility

On Mon, 08 Dec 2003 10:07:41 +0100, Rui Pimenta wrote:

> When I run the program I only get the message:
>
> $quartus &
> if: Expression Syntax.


That (probably) won't be anything to do with libraries; the error you've
given indicates that quartus is a shell script and has a bug of some kind.
You'll need to debug it.

Note that if the package you're attempting to run is commercially
supported, you may find that the vendor won't provide support unless
you're running it on the Linux distro that they've validated it against.

> Thanks in advance,
> Pimenta


Best Regards,
Alex.
--
Alex Butcher Brainbench MVP for Internet Security: www.brainbench.com
Bristol, UK Need reliable and secure network systems?
PGP/GnuPG ID:0x271fd950 <http://www.assursys.com/>

Reply With Quote
  #7 (permalink)  
Old 12-08-2003
J.O. Aho
 
Posts: n/a
Default Re: glibc back compatibility

Rui Pimenta wrote:
>>You will need a gcc2.96 compat libraries installed, as all the RedHat 7.x
>>stuff is compiled with the GCC2.96 and will not run under a GCC3.x
>>environment.

>
> What is the name of the compat libraries, this because I installed a glibc
> LSB package which says in the rpm description that is compatible with
> previous versions. Probably it does not have the everything.


The format that it's been in RedHat/Fedora, SuSe and I guess it's in Mandrake
too as it's based on the same stuff is 'compat-*', I don't remember how many
package

List from Fedora(RedHat):

compat-gcc-7.3-2.96.118.i386.rpm
compat-gcc-c++-7.3-2.96.118.i386.rpm
compat-gcc-g77-7.3-2.96.118.i386.rpm
compat-gcc-java-7.3-2.96.118.i386.rpm
compat-gcc-objc-7.3-2.96.118.i386.rpm
compat-libgcj-7.3-2.96.118.i386.rpm
compat-libgcj-devel-7.3-2.96.118.i386.rpm
compat-libstdc++-7.3-2.96.118.i386.rpm
compat-libstdc++-devel-7.3-2.96.118.i386.rpm

If you do not find similare packages on your Mandrake CDs, then download the
RedHat/Fedora sourceRPM and rebuild it (compat-gcc-7.3-2.96.118.src.rpm).

//Aho

Reply With Quote
  #8 (permalink)  
Old 12-08-2003
Robert Harris
 
Posts: n/a
Default Re: glibc back compatibility

Your "quartus" is a shell script. if you examine it ("more quartus" in
its directory) it will invoke the real binary. Then do an ldd on that.

The "if: Expression Syntax" might mean that it does not like being run
in the background, probably through a bug.

If you make a copy of "quartus" somewhere, insert the line:

set -xv

after the first line and run that, you will see what it is trying to do.

Or you could install Redhat 7.3 on a machine and use that instead. It's
free after all and it might well be easier. Because there might well be
differences in more things than library versions, e.g. files in
different places, different default configurations, etc etc.

Rui Pimenta wrote:
>>You will need a gcc2.96 compat libraries installed, as all the RedHat 7.x
>>stuff is compiled with the GCC2.96 and will not run under a GCC3.x
>>environment.

>
> What is the name of the compat libraries, this because I installed a glibc
> LSB package which says in the rpm description that is compatible with
> previous versions. Probably it does not have the everything.
>
> When I run the program I only get the message:
>
> $quartus &
> if: Expression Syntax.
>
> Thanks in advance,
> Pimenta
>
>
>>Glibc is backwards compatible with earlier versions (there are a few 2.2.x
>>versions that had some backward issues).
>>
>>
>> //Aho

>
>


Reply With Quote
  #9 (permalink)  
Old 12-08-2003
George N. White III
 
Posts: n/a
Default Re: glibc back compatibility

On Mon, 8 Dec 2003, Rui Pimenta wrote:

> I did:
>
> $ldd -v quartus
> not a dynamic executable
>
> so, how can I find which are the needed dependencies?


What do you get from 'file quartus'? From the error message in a previous
posting it may be a shell script.

--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:50 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0