Solved

help with gpc

Posted on 1998-09-13
13
286 Views
Last Modified: 2013-11-13
Can someone tell me where to find a gpc that works with redhat 5.1 and help me set it up?  (I found a file  gpc-2.0-1.i386.rpm and it says ld: cannot open crtbegin.o: the file doesn't exist. I don't like to compile gpc by my self.

0
Comment
Question by:pucko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 2
13 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 1638007
Just install the libraries that are supposed to go with it.

0
 
LVL 1

Author Comment

by:pucko
ID: 1638008
Hmmm... Is it so smart to install libc-devel whan it says that it conflicts with glibc-devel ????
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638009
> libc-devel conflicts with glibc-devel
install glibc-devel in a separate directory (for example /usr/local/glib) and use environment variable LD_LIBRARY_PATH when calling gpc
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 1

Author Comment

by:pucko
ID: 1638010
How can I do that using rpm????
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638011
I'm noted used to rpm, but it should be possible to extract the files from the package without installing at the presetted place.
Probably  rpm --root /you/dir   is what you need.
    man rpm rpm2cpio
for detatils.
0
 
LVL 1

Author Comment

by:pucko
ID: 1638012
How can I do that using rpm????
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638013
1. man rpm
2. rpm --root /your/dir/where/to/install/files file.rpm


I'm not shure about 2. 'cause I only have a old rpm distribution.
0
 
LVL 2

Expert Comment

by:JYoungman
ID: 1638014
You should not install libc-devel if you have glibc-devel.  If the gpc package you are using requires libc-devel, you need to compile a newer version, perhaps from the SRPM.

0
 
LVL 1

Author Comment

by:pucko
ID: 1638015
I can't find a sourse rpm. Btw It works now. I installed the libc-devel and saved the files
crtbegin.o  
crtbeginS.o  
crtend.o    
crtendS.o

to a tem dir. Then rpm -e libc-devel and rpm -ivh glibc-devel.XXX.rpm
and then I mved the cdt* from the temp dir tu /usr/lib and now it works so thanks guy's
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638016
anybody out there to be graded, pucko ?-)
0
 
LVL 1

Author Comment

by:pucko
ID: 1638017
ahoffmann. Yes...It was youre idea that helped me out. If you mark the question as answerd I'll grade it. Just one question. When I treid to put the crt files abowe in /usr/lib/libc-devel and added it to my LD_LIBRARY_PATH It doesn't worked. But it works when I copied the files to /usr/lib. Do you know why???
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 1638018
No, not exactly. Some Linux distributions also know of

   LD_AOUT_LIBRARY_PATH

Did rpm start a compiler or linker?
0
 
LVL 1

Author Comment

by:pucko
ID: 1638019
I don't know. All I know is that I use RedHat 5.1
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question