LinuxQuestions.org
Review your favorite Linux distribution.
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 12-12-2008, 01:31 AM   #1
JerryMega
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Two problems about gcc link share library.


I am new to linux software develop.
I met 2 prblems about shared library.
The application is developed on ubuntu,
It uses libc-2.7, it works well, no problem on ubuntu.
Now i install app on fodera.
On the fodera, There is only libc-2.3.
SO system shows error message "GLIBC_2.4 not found",
Usually , How to release this application to
different version libc system. The users have to upgrade libc?

Or I build app use static link library.

Another problem.
This application use libusb library to access USB device.

Now libusb is dynamic link library, It can be linked into my app staticlly? if not, how to release this dynamic link library.

thanks
 
Old 12-12-2008, 02:13 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I did an advanced search at rpmsearch for Fedora 10, 9, 8, 7, (since you did not mention which you are using) and found these available packages you can install with rpm install command. I would probably try the 2.4.11 version if it were me.

glibc-2.4-9.src.rpm Other 15094 kB
glibc-2.4-8.ydl.1.src.rpm Other 15089 kB
glibc-2.4-8.ydl.1.ppc64.rpm Other 5007 kB
glibc-2.4-8.ydl.1.ppc.rpm Other 5016 kB
glibc-2.4-8.i686.rpm Other 5065 kB
glibc-2.4-8.i386.rpm Other 4269 kB
glibc-2.4-5.src.rpm Other 14539 kB
glibc-2.4-5.i386.rpm Other 1001 kB
glibc-2.4-4.x86_64.rpm Other 4697 kB
glibc-2.4-4.src.rpm Other 15084 kB
glibc-2.4-4.ppc64.rpm Other 6121 kB
glibc-2.4-4.ppc.rpm Other 5004 kB
glibc-2.4-4.i686.rpm Other 5057 kB
glibc-2.4-4.i386.rpm Other 4261 kB
glibc-2.4-11.ydl.1.src.rpm Other 15148 kB
glibc-2.4-11.ydl.1.ppc64.rpm Other 5013 kB
glibc-2.4-11.ydl.1.ppc.rpm Other 5019 kB
glibc-2.4-11.x86_64.rpm Other 4702 kB
glibc-2.4-11.src.rpm Other 15149 kB
glibc-2.4-11.ppc64.rpm Other 5004 kB
glibc-2.4-11.ppc.rpm Other 5012 kB
glibc-2.4-11.i686.rpm Other 5060 kB
glibc-2.4-11.i386.rpm Other 4262 kB

I can't answer the static link question.
 
Old 12-12-2008, 02:20 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Try an advanced search for the version of Fedora you have and just put glibc in the search field. Then install the package you need using yum.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gcc link shared library against another shared library qcp Linux - Newbie 1 07-25-2008 11:15 AM
how to create a share library abd_bela Programming 2 07-16-2007 10:24 AM
How to link a library to gcc? Andrea_81 Programming 6 05-05-2005 04:22 AM
KDevelop, how to link a library?? Umanga Programming 1 01-10-2005 05:13 PM
How to share library cgifalcon Linux - Software 2 12-24-2003 02:12 AM

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

All times are GMT -5. The time now is 12:17 AM.

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