Bug 5201

Summary: Error when using the package ocaml-gstreamer with bytecode compilation
Product: Mageia Reporter: Malo Deniélou <pmdenielou>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: blue_prawn, pmdenielou
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: ocaml-gstreamer-0.1.0-2.mga2.src.rpm CVE:
Status comment:

Description Malo Deniélou 2012-04-02 15:34:42 CEST
Description of problem:
When compiling a program with module gstreamer, I get the following error:
Error on dynamically loaded library:
Error: Error on dynamically loaded library: /usr/lib/ocaml/stublibs/dllgstreamer_stubs.so: /usr/lib/ocaml/stublibs/dllgstreamer_stubs.so: undefined symbol: camlidl_free

Version-Release number of selected component (if applicable):
ocaml-gstreamer-0.1.0-2

How reproducible:
Everytime

Steps to Reproduce:
1. Install ocaml-gstreamer
2. create a simple test file containing «print_string "hello"»
3. compile it with 
ocamlfind ocamlc -o test -thread -package gstreamer -linkpkg -g test.ml
4. It gives the error.
Malo Deniélou 2012-04-02 15:34:50 CEST

CC: (none) => blue_prawn, malo

Comment 1 Malo Deniélou 2012-04-02 18:24:15 CEST
Ok. It's a bug in camlidl, where the META file is missing.

Status: NEW => ASSIGNED
Assignee: bugsquad => malo

Comment 2 Malo Deniélou 2012-04-02 19:05:54 CEST
Ok. It's not that ... Way off. Florent, any idea?

Status: ASSIGNED => NEW
Assignee: malo => bugsquad

Comment 3 Florent Monnier 2012-04-02 22:03:09 CEST
Yes, the error desappears if we provide /usr/lib/ocaml/libcamlidl.a (where the undefined symbol: camlidl_free resides).

But we need to do it through findlib too. I will do it.
Comment 4 Malo Deniélou 2012-04-02 22:58:00 CEST
Thanks a lot.
Comment 5 Florent Monnier 2012-04-03 20:50:29 CEST
OK, it seems to be fixed. Can you check it ?

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 6 Malo Deniélou 2012-04-04 18:54:44 CEST
I confirm. Thanks a lot.