[gobolinux-users] Error in compiling mplayer

Jonas Karlsson jonka750 at student.liu.se
Fri Jan 25 06:10:08 NZDT 2008


On Thu, 24 Jan 2008 17:29:23 +0100, Viola Zoltán <violazoli at gmail.com> wrote:

> Dear Jonas, sorry it is not succeeded! See:
>
> freetype -lz -lfontconfig  -lz -lmad  -ltheora -logg   -lxvidcore -lm
> -lpthread -ldl -rdynamic  -lm
> /usr/local/lib/libpango-1.0.so: undefined reference to
> `g_unichar_get_script'

The lines just above would be helpful in finding the error. It Should start
with 'cc -o' or similar.

-- 
/Jonas
>
>
> 2008/1/23, Jonas Karlsson <jonka750 at student.liu.se>:
>>
>> On Wed, 23 Jan 2008 17:25:29 +0100, Viola Zoltán <violazoli at gmail.com>
>> wrote:
>>
>> > Hm, I disabled the GLib 2.14.4, Symlinked the GLib 2.12.11, but not
>> > succeeded Compiling the Mplayer!
>> >
>> It's because GLib 2.12.11 is referenced directly in one of your pkg-config
>> files. This issue is fixed in later versions of our tools. To fix it
>> manually
>> run 'FixDirReferences /System/Links/Libraries/pkgconfig/*'. Then it should
>> work to switch versions of GLib without the old version being referenced.
>>
>> --
>> /Jonas
>>
>> > 2008/1/23, Viola Zoltán <violazoli at gmail.com>:
>> >>
>> >> Dear Jonas:
>> >> vz at Csiszilla ~]ls -l /Programs/GLib/2.12.11/lib/libglib-2.0.so
>> >> lrwxrwxrwx 1 pv pv 24 jan  2 01.20 /Programs/GLib/2.12.11/lib/libglib-
>> >> 2.0.so -> libglib-2.0.so.0.1200.11
>> >>
>> >> I have two GLib:
>> >>
>> >> vz at Csiszilla /Programs/GLib]ls
>> >> 2.12.11  2.14.4  Current
>> >>
>> >> The Current is to the 2.14.4
>> >>
>> >> I should change the Current link before compiling the Mplayer?
>> >>
>> >> Zoli
>> >>
>> >> 2008/1/23, Jonas Karlsson <jonka750 at student.liu.se>:
>> >> >
>> >> > On Tue, 22 Jan 2008 19:04:20 +0100, Viola Zoltán <violazoli at gmail.com
>> >
>> >> > wrote:
>> >> >
>> >> > > Hi, I Compiled the xvidcore. Succeeded. After this, I disabled the
>> >> > mplayer,
>> >> > > and try compile it. But it wrote me the following error message:
>> >> > >
>> >> > >
>> >> >
>> >> > > [...] -lgtk-x11-2.0 -lgdk-x11-2.0
>> >> > > -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -
>> >> > lgobject-2.0
>> >> > > -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0-L/Programs/Cairo/1.4.0/lib
>> >> > > -L/Programs/ATK/1.17.0/lib -L/Programs/Audiofile/0.2.6/lib
>> >> > > -L/Programs/Audiofile/0.2.6/lib -L/Programs/Esound/0.2.38/lib
>> >> > > -L/Programs/GLib/2.12.11/lib [...]
>> >> > > /usr/local/lib/libpango- 1.0.so: undefined reference to
>> >> > > `g_unichar_get_script'
>> >> > > /usr/local/lib/libgtk-x11-2.0.so: undefined reference to
>> >> > `g_sequence_new'
>> >> > [...]
>> >> > As far as I understand this should not happen. libglib-2.0 is
>> referenced
>> >> > after libpango and libgtk and therefore the linker should find those
>> >> > symbols. And the GLib version is apparantly 2.12.11, which is recent
>> >> > enough
>> >> > as far as I know. That is if it is installed and libglib-2.0 exists.
>> >> > What is the output from 'ls -l /Programs/GLib/2.12.11/lib/libglib-
>> 2.0.so
>> >> > '?
>> >> > Do you have GLib 2.12.11 installed?
>> >> >
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-users mailing list