[poppler] rpath - was - Re: cmake CXXFLAGS
Albert Astals Cid
aacid at kde.org
Mon Sep 11 10:58:57 UTC 2017
El diumenge, 10 de setembre de 2017, a les 20:39:18 CEST, Adrian Johnson va escriure:
> One more problem I found with cmake. It does not set up the rpath for
> the install directory like autotools does. I sometimes have more than
> one version of poppler installed to different prefixes for testing
> purposes. With autotools I could just run any version without needing to
> change LD_LIBRARY_PATH for the version I want to run.
Don't touch LD_LIBRARY_PATH at all, it already does what you want.
tsdgeos at xps:~/devel/poppler/build-new:master$ ldd utils/pdfinfo | grep poppler
libpoppler.so.70 => /home/tsdgeos/devel/poppler/build-new/libpoppler.so.70 (0x00007fc473d96000)
tsdgeos at xps:~/devel/poppler/build-new:master$ cd ..
tsdgeos at xps:~/devel/poppler:master$ cd build-old/
tsdgeos at xps:~/devel/poppler/build-old:master$ ldd utils/pdfinfo | grep poppler
libpoppler.so.70 => /home/tsdgeos/devel/poppler/build-old/libpoppler.so.70 (0x00007f6d96bdd000)
Cheers,
Albert
More information about the poppler
mailing list