Bug 5201 - Error when using the package ocaml-gstreamer with bytecode compilation
Summary: Error when using the package ocaml-gstreamer with bytecode compilation
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 15:34 CEST by Malo Deniélou
Modified: 2012-04-04 18:54 CEST (History)
2 users (show)

See Also:
Source RPM: ocaml-gstreamer-0.1.0-2.mga2.src.rpm
CVE:
Status comment:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.