Bug#453118: FTBFS: samples/simple/obj_linux_x86_n/simpleopal: error while loading shared libraries: libopal.so.2.2: cannot open shared object file: No such file or directory

Loïc Minier lool at dooz.org
Tue Nov 27 14:13:32 UTC 2007


Package: opal
Version: 2.2.11~dfsg1-3
Severity: serious
Tags: patch

        Hi there,

 While building opal in a pbuilder, I got:
...
make[2]: Entering directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
g++ -D_REENTRANT -Wall  -g -D_DEBUG -DNDEBUG -I/usr/share/pwlib/include
-DPTRACING -I/tmp/buildd/opal-2.2.11~dfsg1/include  -g  -c main.cxx -o
obj_linux_x86_d/main.o
g++ -o obj_linux_x86_d/simpleopal -g   -L/usr/lib
-L/tmp/buildd/opal-2.2.11~dfsg1/lib/debug   ./obj_linux_x86_d/main.o
-lopal -lpt -lspeex -lldap -llber -lldap_r  -lpthread -lsasl2 -lssl
-lcrypto -lexpat -lresolv -ldl 
make[2]: Leaving directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
make[1]: Leaving directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
samples/simple/obj_*_n/simpleopal --help >/dev/null
samples/simple/obj_linux_x86_n/simpleopal: error while loading shared
libraries: libopal.so.2.2: cannot open shared object file: No such file
or directory

 It seems the simpleopal binaries need libopal to run, adding
 "LD_LIBRARY_PATH=$PWD/lib/opt:$LD_LIBRARY_PATH" in front of these fixed
 the FTBFS for me.

 Patch attached.

   Thanks!
-- 
Loïc Minier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opal-ftbfs-library-path.patch
Type: text/x-diff
Size: 1751 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20071127/9db6beaa/attachment.patch 


More information about the Pkg-voip-maintainers mailing list