Hi! 2011/8/19 Nathan Gray <[email protected]>: > I'm trying to build liquidsoap 1.0b3 on OS X Snow Leopard. I've > installed the dependencies using homebrew, as per the installation > instructions on the website. Building works up until the point of > linking the final executable. Then I get this: > > OCAMLOPT -o liquidsoap > Undefined symbols: > "___gxx_personality_v0", referenced from: > _caml_taglib_version in libtaglib_stubs.a(taglib_version.o) > CIE in libtaglib_stubs.a(taglib_version.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > File "caml_startup", line 1, characters 0-1: > Error: Error during linking > > A little googling suggests that this problem comes up if you compile a > C++ program using gcc instead of g++. Any suggestions on solving this > problem?
Yes, this is a known issue because of taglib and its dependency on the standard c++ lib which is not recorded. It is fixed in hg now and will be fixed in the next release. The simplest solution is to edit ocaml-taglib/src/Makefile and add it to this variable: ACLIBS = -ltag_c -ltag -lstdc++ and then recompile ocaml-taglib. By the way, I have prepared a homebrew package for liquidsoap and submitted it for inclusion. In the mean time, you can grab my forked repository from there: https://github.com/toots/homebrew Romain ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
