Comments (4)
Hi Martin,
You can override this behavior at compilation time by adding
'-DLIB_SUFFIX="" ' to the cmake command line. It will force davix to use
/usr/lib and not /usr/lib64
Cheers,
Adrien
Le 01/03/2016 12:02, Martin Ritter a Γ©crit :
Hi,
when compiling DAVIX on debian/ubuntu 64bit the logic to determine the
library path suffix is not correct: It checks for the existence of
/usr/lib64 but this directory does (usually) not exist on
debian/ubuntu. As such PKG_ARCH is usually set to i386 but that
doesn't seem to be a problem. However we do have some issues wen using
davix with ROOT as the ROOT compilation cannot find the library in
some cases.The official GNUInstallDirs module from cmake determines the path
differently by checking if /etc/debian_version exists and doing a
different logic in that case. Would it be possible to adapt the same
logic for davix? Or just use GNUInstallDirs?Cheers,
Martin
β
Reply to this email directly or view it on GitHub
#11.
from davix.
Dear Adrien,
thanks for the information. While this is fine for me I still think that the current behavior is not correct on debian/ubuntu. Are you planning to fix this in the future?
Cheers,
Martin
from davix.
Hi Martin,
You are right that in this case, setting PKG_ARCH to i386 is not semantically correct, but this variable isn't used anywhere else, as far I see, and the binaries produced are indeed x86_64, not x86.
A change we could make is place the library in /usr/lib/x86_64-linux-gnu
instead of /usr/lib
- is this what you are suggesting?
If not, in which cases does ROOT complain? Could you specify an example?
Thanks
from davix.
Dear Georgios,
ROOT only complained if davix was compiled automatically during root compilation as there could be a mismatch between the place davix puts the library and where root looks for it. But I think this is now solved using the -DLIB_SUFFIX and this should be more robust then the previous approach (https://sft.its.cern.ch/jira/browse/ROOT-7912).
But yes, in general I suggest putting the library in /usr/lib/x86_64-linux-gnu on platforms which use this scheme.
Cheers,
Martin
from davix.
Related Issues (20)
- Unit tests fail when run by more than one user on the same machine HOT 3
- Introspect redirections for HTTP TPC xfers HOT 1
- CVE-2022-32221 in bundled curl library HOT 2
- Wrong format for downloaded files for release 0.8.4 HOT 5
- CVE-2023-38545 in bundled curl library HOT 1
- 1 test fails, and several tests hang
- davix version 0.8.5 cannot authenticate using username and password with DAVIX_USE_LIBCURL HOT 1
- [FreeBSD] Davix build fails on FreeBSD
- Davix "master" branch fails to compile on macOS (caused by DMC-1394) HOT 1
- davix-ls fails to load certificates when using libcurl backend
- Add support for CA certificate file in addition to a CA directory
- Documentation pages missing
- Out of Date RapidJSON dependency causing compile failure HOT 1
- davix version 0.8.0 cannot authenticate using username and password HOT 14
- The role of the different branches is unclear HOT 1
- Update CMake FindPackage Python to allow Python3 on macOS HOT 7
- Missing libneon.a in 0.8.1 HOT 4
- Please add instructions how to run tests to the README
- Copyrighted song lyrics in codebase HOT 2
- Infinite loop in davix slow unit tests when using external libcurl HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from davix.