LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   configure claims "libvorbis not installed" although it is (https://www.linuxquestions.org/questions/ubuntu-63/configure-claims-libvorbis-not-installed-although-it-is-4175411776/)

gone-insane 06-16-2012 07:44 AM

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

evo2 06-19-2012 01:15 AM

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.

knudfl 06-19-2012 01:51 AM

Post # 2
Quote:

Does it work with 0.2.2 ?
Confirm : Version 0.2.2 : OK for Ubuntu 12.04 ..

./configure && make : No issues.

gone-insane 06-19-2012 11:45 AM

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! :)


All times are GMT -5. The time now is 05:39 AM.