checking for main in -ltiff... no

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #1
I'm trying to set up a new development system with Ubuntu 12.10. All seemed to go well, but when I run:

Code:
./configure --prefix=/usr --disable-pulse --enable-vdpau

I get the error:

Code:
checking for main in -ltiff... no
configure: error: Could not find a required library. Please see the README for your platform.

I copied and pasted the various apt-get commands from README.Ubuntu, but either I've missed something or something has changed and not made it to the documentation yet. If anyone can spot my deliberate mistake I'd be most grateful.
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #2
Panic over, Google to the rescue as usual.

If anyone else runs into this problem you need:

Code:
sudo apt-get install libtiff5-dev

If you're going to use --enable-vdpau you also need libvdpau-dev
find quote
garbear Offline
Team-XBMC Developer
Posts: 425
Joined: Dec 2010
Reputation: 16
Location: gangsta's paradise
Post: #3
should these be added to README.ubuntu?

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
find quote