Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-10-2006, 03:39 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
compiling software without libc dependency


I'm trying to compile Ffmpeg on my home box to upload it later
to a host on

The thing is, 1and1's libc version is 2.2.5, and when I run the
executable I compiled it asks for libc >= 2.3. My libc is 2.3.4.

I tried compiling Ffmpeg there and on another system that had the same
libc version (2.2.5), but then when I run the executable I get a SegFault.

So, my question is if there is a way to kind of bundle my libc to the executable
and make it use it instead of the system's one.

Would I have to get libc's source and compile it on my system to accomplish that?

I'm using Slackware 10.1 with the libc that comes with it (2.3.4).
Both my architecture and 1and1's is x86.

Thanks in advance for any help and thoughts.

Old 12-10-2006, 04:35 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Have you tried passing the options `--enable-static --disable-shared' to the configure script?
Old 12-10-2006, 05:09 PM   #3
LQ Newbie
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I was configuring Ffmpeg with ./configure ... --disable-shared,
I tried to specify --enable-static now but there was no difference.
Old 12-10-2006, 06:29 PM   #4
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
From an example of ffmpeg ebuild file. Try using "--disable-shared-pp --disable-shared --enable-static". You may also have to use --enable-gpl. Third try to include --extra-ldflags=-fomit-frame-pointer.
Old 12-10-2006, 06:52 PM   #5
LQ Newbie
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I've built lame, xvid and faad under the /home/augusto/fmpeg prefix.
The options to Ffmpeg configure script I've used were these ones:
(by the way, there is no --disable-shared-pp option)

./configure --prefix=/home/augusto/fmpeg --enable-mp3lame --enable-faad --enable-xvid --enable-gpl --disable-ffserver --disable-ffplay --disable-debug --disable-shared --enable-static --extra-cflags="-I/home/augusto/fmpeg/include -fomit-frame-pointer" --extra-ldflags=-L/home/augusto/fmpeg/lib

Then I compiled it on Slack 10.1 (glib 2.3.4) and tried to run on Slack 8.1 (glib 2.2.5). Ffmpeg complains about the glib version and quits:

./ffmpeg_static: /lib/ version `GLIBC_2.3' not found (required by ./ffmpeg_static)

I think what I'm trying to do is explained on this thread, but I having trouble understanding some steps:


ffmpeg, glibc

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
software dependency waqaskool Linux - Software 4 10-08-2006 04:05 PM
Problem compiling esmart (E17 Dependency) c_olin3404 Linux - Software 1 09-25-2005 10:20 PM
mkinitrd - Failed Dependency ( d1g1ta7 Linux - Software 3 08-15-2005 08:30 PM dependency questions giovannym Linux - Newbie 5 07-10-2004 02:12 AM
How does compiling from source stop dependency hell hyper guy Linux - Newbie 16 03-16-2004 01:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 PM.

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