[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Useless call to ldconfig and shared libraries issue



El Dimarts, 3 de febrer de 2015, a les 22:22:07, Paul Wise va escriure:
> On Tue, Feb 3, 2015 at 9:27 PM, Corentin Desfarges wrote:
> >   corentin@debian:~/dev1/fw4spl$ objdump -x
> > 
> > /home/corentin/dev1/fw4spl/debian/fw4spl/usr/bin/fwLauncher | grep -i
> > rpath
> > 
> >   corentin@debian:~/dev1/fw4spl$ objdump -x
> > 
> > /home/corentin/dev1/fw4spl/obj-x86_64-linux-gnu/fwLauncher/bin/fwLauncher
> > |
> > grep -i rpath
> > 
> >   RPATH
> > 
> > /usr/lib/fw4spl:/home/corentin/dev1/fw4spl/obj-x86_64-linux-
gnu/lib/fw4spl:
> So it looks like the rpath setting works but something (cmake?) strips
> it before installing the binary. As I have little experience with
> cmake I'm not sure where to go from here but hopefully this page can
> help.
> 
> http://www.cmake.org/Wiki/CMake_RPATH_handling

in the packages that I have, I pass these options to cmake:

override_dh_auto_configure:
        dh_auto_configure --                                            \
        -DLIB_INSTALL_DIR:STRING="lib/$(DEB_HOST_MULTIARCH)"            \
        -DCMAKE_SKIP_RPATH=ON \
....

Leopold



-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: