Ocaml rpath issue

Richard W.M. Jones rjones at redhat.com
Fri Oct 25 10:02:46 UTC 2013


On Thu, Oct 24, 2013 at 09:28:53AM -0600, Orion Poplawski wrote:
> plplot has an OCaml interface, but I see:
> 
> plplot-ocaml.x86_64: E: binary-or-shlib-defines-rpath
> /usr/lib64/ocaml/stublibs/dllplplot_stubs.so ['/usr/lib64/ocaml',
> '/builddir/build/BUILD/plplot-5.9.9/fedora/src']
> plplot-ocaml.x86_64: E: binary-or-shlib-defines-rpath
> /usr/lib64/ocaml/stublibs/dllplcairo_stubs.so ['/usr/lib64',
> '/builddir/build/BUILD/plplot-5.9.9/fedora/src']
> 
> These files are created with:
> 
> /usr/bin/ocamlmklib -o plplot_stubs -L/usr/lib64/ocaml -lcamlidl
> -L/export/home/orion/fedora/plplot/plplot-5.9.10/fedora/src
> -lplplotd /export/home/orion/fedora/plplot/plplot-5.9.10/fedora/bindings/ocaml/plplot_core_stubs.o /export/home/orion/fedora/plplot/plplot-5.9.10/fedora/bindings/ocaml/plplot_impl.o
> 
> Should we be doing something different?

This could be a bug in one of the OCaml tools.  If you have a
simple way to reproduce it, then file a bug and I can take a look.

If you just want to work around it, run chrpath --delete on the
offending files during %install.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v


More information about the devel mailing list