Package: ocaml-vorbis Version: 0.2.3-2 Severity: serious Problem reported on #debian-ocaml: # #load "vorbis/vorbis.cma";; Cannot load required shared library dllvorbis_stubs. Reason: /usr/lib/ocaml/3.09.2/stublibs/dllvorbis_stubs.so: undefined symbol: vorbis_info_clear.
And indeed: $ ldd /usr/lib/ocaml/3.09.2/stublibs/dllvorbis_stubs.so linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e84000) /lib/ld-linux.so.2 (0x80000000) The problem is caused by the following in src/Makefile.in: ACLIBS = @LIBS@ CLIBS = $(ACLIBS:-l%=%) LDFLAGS = @LDFLAGS@ @OGG_LIBS@ @VORBIS_LIBS@ which gives after configure: ACLIBS = CLIBS = $(ACLIBS:-l%=%) LDFLAGS = -logg -lvorbisenc -lvorbisfile -lvorbis -lm -logg OCamlMakefile then uses the CLIBS variable to find out how to link the stubs library, LDFLAGS isn't used, and you lose. Cheers, Julien -- System Information: Debian Release: lenny/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-rc7-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
signature.asc
Description: Digital signature