LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2011, 06:09 AM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 546

Rep: Reputation: 37
trying to get glibc_2.4 on centos 4.x


I've got a cobalt raq4 with centos 4.9 on it (strongbolt2), I'm trying to run an app that is asking for GLIBC_2.4 and won't proceed without it. If I do:
# rpm -q glibc I get
glibc-2.3.4-2.54
I tried yum update and yum upgrade but no joy.
I tried up2date glibc but that didn't work - it said:
'The following packages you requested are already updated:
glibc'
I tried installing glibc-2.5-49.el5_5.2.i386.rpm but I got:
error: Failed dependencies:
glibc-common = 2.5-49.el5_5.2 is needed by glibc-2.5-49.el5_5.2.i386
glibc > 2.3.4 conflicts with glibc-common-2.3.4-2.54.i386
glibc = 2.3.4-2.54 is needed by (installed) glibc-headers-2.3.4-2.54.i386
glibc = 2.3.4-2.54 is needed by (installed) glibc-devel-2.3.4-2.54.i386
glibc = 2.3.4-2.54 is needed by (installed) glibc-utils-2.3.4-2.54.i386

upgrading centos is not an option with this server. Is there a way I can get GLIBC_2.4 on without breaking the system?
 
Old 10-04-2011, 06:34 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No.

Upgrade CentOS. Or install a new instance on other hardware. Do NOT continue attempting to shoehorn glibc 2.5 into CentOS 4.

Or try recompiling your app from source on the CentOS 4 box and see if it works.
 
Old 10-04-2011, 07:08 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Glibc is your system, and cannot be changed.


Which application is it about ? ?
 
Old 10-04-2011, 08:45 AM   #4
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
I'm trying to run app_loader - I got it here:
http://web.retardedrobot.com:8080/Pr...bx_downloader/
 
Old 10-04-2011, 11:41 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
OK, the complete application is "nbx-downloader".

Please type : mkdir nbx_downloader && cd nbx_downloader/ &&
wget http://web.retardedrobot.com:8080/Pr...downloader.zip EDIT : New link below ..
&& unzip nbx_downloader.zip
New link : nbx_downloader.tar.bz2 >>>
> https://docs.google.com/open?id=0B7S...EVBSDNOQ0QtZUE

Then delete the binary app_loader, and run 'make' :
A new app_loader for CentOS 4 is created !
( Other binaries : Delete, and run 'make -i'.)

Prerequisites : Libnet-1.0.2, libpcap

The CentOS 4 binaries : NBX-1.el4-i386.tar.bz2 ( 14.6 kB )
https://doc-0k-b4-docs.googleusercon...5k77ge6k1ues4o EDIT: See post #7

..

Last edited by knudfl; 04-12-2012 at 03:48 PM.
 
Old 10-04-2011, 02:06 PM   #6
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
thanks for your further feedback on this. I did what you said and:
# rpm -q shows I've got libnet-1.1.2.1-2.rf and libpcap-0.8.3-12.el4_6.1
and I deleted app_loader but when I run make I get:
# make
gcc -Wall -ggdb -I /usr/include/libnet -I /usr/include/pcap -L/home/jer/Libnet-1.0.2a/lib -o downdump downdump.c -lpcap -lnet
downdump.c: In function `main':
downdump.c:76: warning: implicit declaration of function `libnet_open_link_interface'
downdump.c:76: warning: assignment makes pointer from integer without a cast
downdump.c:77: warning: implicit declaration of function `libnet_error'
downdump.c:84: warning: implicit declaration of function `libnet_init_packet'
/tmp/ccoVSPZi.o(.text+0x177): In function `main':
/home/packages/downdump.c:76: undefined reference to `libnet_open_link_interface'
/tmp/ccoVSPZi.o(.text+0x19e):/home/packages/downdump.c:77: undefined reference to `libnet_error'
/tmp/ccoVSPZi.o(.text+0x1b7):/home/packages/downdump.c:84: undefined reference to `libnet_init_packet'
/tmp/ccoVSPZi.o(.text+0x1ce):/home/packages/downdump.c:85: undefined reference to `libnet_error'
collect2: ld returned 1 exit status
make: *** [downdump] Error 1

should I delete this 'implicit decalarations' in downdump.c?
thanks for any further pointers.

ps: also that second link you gave produces:
'Access to the webpage was denied'

Last edited by tonj; 10-04-2011 at 02:16 PM.
 
Old 10-04-2011, 07:36 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The required libnet is version 1.0.2, not the very different libnet-1.1.2.1.
# yum install libnet10-devel : Version 1.0.2a-17.el4.
→ From the EPEL.repo https://fedoraproject.org/wiki/EPEL
> > http://download.fedoraproject.org/pu...-10.noarch.rpm
(( http://download.fedora.redhat.com/pub/epel/4/i386/ ))
And : # yum install libpcap-devel EDIT : No libpcap-devel, just libpcap.


Google docs has changed, not quite sure how it should work now,
but here is a different link, NBX-1.el4-i386.tar.bz2
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

If it fails, please send an "LQ email" with your email adress,
and I will attach the 14 kB package to a return mail.
http://www.linuxquestions.org/questi...ember&u=386037

..

Last edited by knudfl; 10-05-2011 at 03:42 AM.
 
Old 10-05-2011, 03:35 AM   #8
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
I managed to get libnet10-1.0.2a-17.el4 installed but yum wouldn't install libpcap-devel, I got:
'No Match for argument: libpcap-devel
Nothing to do'
I also tried a google search but all the rpm's are for centos 5 and above. I tried one of the centos 5 rpm's but I got failed dependencies

ps: I did get NBX-1.el4-i386.tar.bz2 from your link thanks.

Last edited by tonj; 10-05-2011 at 03:37 AM.
 
Old 10-05-2011, 03:43 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sorry, my bad.

The package 'libpcap' also includes all development files.
There is no package 'libpcap-devel' for CentOS 4.


The required libnet is : libnet10-devel

.

Last edited by knudfl; 10-05-2011 at 03:49 AM.
 
Old 10-06-2011, 11:27 AM   #10
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
doesn't matter, those binaries I got from NBX-1.el4-i386.tar.bz2 worked just great so thanks for your help on this knudfl.
 
Old 10-25-2011, 11:31 PM   #11
sajithg
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
./downserv error

hi

I have copied cento 4 binaries from your post (NBX-....)
app_loader is working fine but when I run ./downserv throw errow

libpcap.so.0.8.3: cannot open shared object file:No such file or directory?

May I know why?

How Do I fix it.
 
Old 10-26-2011, 05:00 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 11, @ sajithg : Welcome to LQ.

The binaries in NBX-1.el4-i386.tar.bz2 are for RHEL4, CentOS4 only.

And libpcap must be installed. Like # yum install libpcap



If you have another OS, then please recompile, see post # 5.

.
 
Old 04-03-2012, 09:03 AM   #13
Nightman_Vem
LQ Newbie
 
Registered: Apr 2012
Location: Ukraine, Kiev
Posts: 5

Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by knudfl View Post
OK, the complete application is "nbx-downloader".
hxxp://web.retardedrobot.com:8080/Projects/nbx_downloader/nbx-downloader.zip

..
Link dead (((((

Last edited by Nightman_Vem; 04-03-2012 at 09:08 AM.
 
Old 04-03-2012, 09:17 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#13

NBX : The valid link is the one in post # 7

https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

.
 
Old 04-03-2012, 09:20 AM   #15
Nightman_Vem
LQ Newbie
 
Registered: Apr 2012
Location: Ukraine, Kiev
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
#13

NBX : The valid link is the one in post # 7

https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

.
how install in Ubuntu?
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[For Help] 'GLIBC_2.3' not found eNsEmpire Linux - Software 0 03-13-2007 09:39 PM
GLIBC_2.3.2 missing divali Slackware 3 02-26-2006 09:16 AM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM
RH 7.3 and GLIBC_2.3 tied2 Linux - Software 0 11-30-2003 08:09 PM
Glibc_2.3 ??? Asificare Linux - Software 11 07-13-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration