The shared host is running on Red Hat 4.4.7-3.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The shared host is running on Red Hat 4.4.7-3.

georgesjeandenis
All these packages have successfully installed:
- presetup.sh, autoconf.sh, automake.sh, libtool.sh, libiconv.sh, libpng.sh, libjpeg.sh, zlib.sh, libwmf.sh, freetype.sh, gettext.sh, gd.sh, ruby.sh, flvtool2.sh, lame.sh, codecs.sh, libogg.sh, libvorbis.sh, vorbis-tools.sh, libtheora.sh, amrnb.sh, amrwb.sh, liba52.sh, facc.sh, faad2.sh.

That's exactly all the files just before ffmpeg itself!

I know the error has to do with a library. However, I'm not familiar with libraries. The error message says:

/usr/bin/ld: /home/xxxxx/lib/libz.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/xxxxx/lib/libz.a: could not read symbols: Bad value

BUT, when I look at my zlib log file(sharedhostffmpeg.1.0.2.log.15939), no errors show up.
Reply | Threaded
Open this post in threaded view
|

Re: The shared host is running on Red Hat 4.4.7-3.

Timothy Gu
On Apr 30, 2013 3:38 PM, "georgesjeandenis" <[hidden email]>
wrote:
>
> All these packages have successfully installed:
> - presetup.sh, autoconf.sh, automake.sh, libtool.sh, libiconv.sh,
libpng.sh,

> libjpeg.sh, zlib.sh, libwmf.sh, freetype.sh, gettext.sh, gd.sh, ruby.sh,
> flvtool2.sh, lame.sh, codecs.sh, libogg.sh, libvorbis.sh, vorbis-tools.sh,
> libtheora.sh, amrnb.sh, amrwb.sh, liba52.sh, facc.sh, faad2.sh.
>
> That's exactly all the files just before ffmpeg itself!
>
> I know the error has to do with a library. However, I'm not familiar with
> libraries. The error message says:
>
> /usr/bin/ld: /home/xxxxx/lib/libz.a(compress.o): relocation R_X86_64_32
> against `.rodata.str1.1' can not be used when making a shared object;
> recompile with -fPIC
> /home/xxxxx/lib/libz.a: could not read symbols: Bad value

You're trying to create a shared library while linking against static
library. Compiling only ffmpeg libraries statically will solve the problem.
Or if you really want to build shared ffmpeg libraries, install the shared
libraries of the dependencies.

Timothy Gu
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user