LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-16-2012, 07:44 AM   #1
gone-insane
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
configure claims "libvorbis not installed" although it is


Hi,

I'm trying to compile http://www.lysator.liu.se/~creideiki...e-san-andreas/. It fails already at ./configure, telling me:
Quote:
checking for ogg_sync_buffer in -lvorbis... no
configure: error: *** libvorbis was not found
The config.log tells me, that the failing program was:
Code:
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "radio-free-san-andreas"
#define VERSION "0.2"
#define HAVE_LIBM 1
#define HAVE_LIBCRYPTO 1
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif

char ogg_sync_buffer ();

int main ()
{
  return ogg_sync_buffer ();
  ;
  return 0;
}
I could not compile this code either using
Code:
g++ -o conftest -g -O2 conftest.cpp -lvorbis -lcrypto -lm
I'm not really into those things at all, but I think I have installed all relevant packages.

Any hints out there? :-)

I am using Ubuntu 12.04, gcc and libvorbis-dev installed via apt-get
 
Old 06-19-2012, 01:15 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

I guess it is a version problem (trying to call deprecated function), since the day you posted this two new versions of Radio Free San Andreas were released, and the previous release was way back in 2008. Does it work with 0.2.2?

Evo2.
 
1 members found this post helpful.
Old 06-19-2012, 01:51 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 2
Quote:
Does it work with 0.2.2 ?
Confirm : Version 0.2.2 : OK for Ubuntu 12.04 ..

./configure && make : No issues.
 
Old 06-19-2012, 11:45 AM   #4
gone-insane
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
yup this worked out, libvorbis doesn't seem to load logg automatically anymore in ubuntu (btw: I sent the request to the developer but I forgot closing this topic as my thread wasn't opened by mods until then)

thanks anyway!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I installed Wine and configure this at Debian 4.0 r1.I installed windows software hassancemk Linux - Software 2 04-01-2008 11:28 PM
libvorbis-1.1.0-2.i386.rpm installed but dependancies still needed zajaco0 Linux - Software 3 05-05-2006 04:22 AM
Package Claims that Installed Dependancy is AWOL Starmage187 Linux - Software 4 03-25-2005 08:22 PM
urpmi claims I already have bittorrent installed! pdmackenzie Linux - Software 1 10-21-2004 06:57 AM
rpm -q claims "installed" but rpm -ivh claims "already installed" topgunjones Linux - Software 3 01-29-2004 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration