uclibc hint

Stephan Raue sraue at inonet.com
Fri Dec 2 05:23:42 PST 2005


Robert Connolly wrote:

>Hi. I made a hint for uclibc, so people can install uclibc without HLFS or 
>buildroot. It covers two examples, either building a new LFS linked to 
>uclibc, or installing to /ulib beside an existing system. Installing uClibc++ 
>is also covered.
>
>robert
>  
>
Hi Robert,

thanks for the great hint. This works very good but I have the follow 
problem: I want to compile mythtv (www.mythtv.org) on uclibc.  With 
patches it compiles fine but when i start mythtv i have follow error:

Can't modify 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythavformat-0.18.so.0's 
text section. Use GCC option -fPIC for shared objects, please.

uclibc's ldd says:
ldd ../../build/_stagingdir/bin/mythfrontend
        libmythtv-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythtv-0.18.so.0 
(0xb7744000)
Can't modify 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythavformat-0.18.so.0's 
text section. Use GCC option -fPIC for shared objects, please.
        libmythtv-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythtv-0.18.so.0 
(0x00000000)
        libmythavformat-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythavformat-0.18.so.0 
(0x00000000)
        libmythavutil-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythavutil-0.18.so.0 
(0x00000000)
        libmythavcodec-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmythavcodec-0.18.so.0 
(0x00000000)
        libmyth-0.18.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmyth-0.18.so.0 
(0x00000000)
        libfreetype.so.6 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libfreetype.so.6 
(0x00000000)
        libmp3lame.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libmp3lame.so.0 
(0x00000000)
        libasound.so.2 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libasound.so.2 
(0x00000000)
        libdirectfb-0.9.so.22 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libdirectfb-0.9.so.22 
(0x00000000)
        libfusion-0.9.so.22 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libfusion-0.9.so.22 
(0x00000000)
        libdirect-0.9.so.22 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libdirect-0.9.so.22 
(0x00000000)
        libz.so.1 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libz.so.1 (0x00000000)
        libdl.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libdl.so.0 (0x00000000)
        libqte-mt.so.3 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libqte-mt.so.3 
(0x00000000)
        libpthread.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libpthread.so.0 
(0x00000000)
        libstdc++.so.6 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libstdc++.so.6 
(0x00000000)
        libm.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libm.so.0 (0x00000000)
        libgcc_s.so.1 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libgcc_s.so.1 
(0x00000000)
        libc.so.0 => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libc.so.0 (0x00000000)
        libavcodec.so => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libavcodec.so 
(0x00000000)
        libavutil.so => 
/media/ieee1394disk/toolchain/build/_stagingdir/lib/libavutil.so 
(0x00000000)


libmythavformat.so is ffmpeg's libavformat.so. I cant find any solution 
or tip for that in google etc.... This problem i had with qt-embedded, 
when i compile it with systems libmng. When i use included libmng qt/e 
works. Most other packages (mysql, samba etc) works when i compile it 
like BLFS.

Can you send me any tips?

Stephan
 



More information about the hlfs-dev mailing list