Re: Building mplayer problems : solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2010 09:05 AM, stan wrote:
> On Wed, 17 Nov 2010 08:30:39 -0800
> JD<jd1008@xxxxxxxxx>  wrote:
>
>> I tried to build mplayer from source rpm.
>> mplayer-1.0-0.117.20100703svn.fc13.src.rpm
>>
>> The build seems to die at the last step of linking all
>> the objects to produce the binary mplayer.
>> The failure is:
>>
>> /usr/bin/ld: osdep/getch2.o: undefined reference to symbol 'tgetnum'
>> /usr/bin/ld: note: 'tgetnum' is defined in DSO /lib/libtinfo.so.5 so
>> try adding it to the linker command line
>> /lib/libtinfo.so.5: could not read symbols: Invalid operation
> I am able to build successfully mplayer on F14 x86_64 using the source
> from subversion at the mplayer website.
>
> When building from source, their README requires running ./configure,
> though they say that they aren't actually running the autoconf version
> but an emulation they wrote.  This discovers all the libraries and adds
> them to the linker line.
>
> I noticed that your linker line had no -ltinfo in it, so compiling from
> the source RPM didn't perform this step, it seems.  Maybe the
> maintainer doesn't have this library installed.  I *think* there is a
> config include that with this information, so you could add it manually
> and it should work.
>
> Probably a good thing to document this with a bugzilla.
Hi Stan,
Turns out problem was not in the mplayer source code, but
in my rpmbuild command options.
Once I issued the correct --with args (for the libs I wanted enabled
that are not normally enabled in the released rpm), all went well.
My apologies for the noise!


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux