I am creating a debian package for a library and would like to install binary samples.
I was thinking to put them under /usr/share/libname
, but lintian complains (arch-dependent-file-in-usr-share). According FHS this correct, but where can put those files?
Asked
Active
Viewed 506 times
1

Shai
- 111,146
- 38
- 238
- 371

Dennis Guse
- 883
- 10
- 34
1 Answers
1
It's actually not correct according to the FHS; /usr/share
is quite explicitly for "architecture-independent data". /usr/lib
is the arch-dependent equivalent, and that's probably what you want (/usr/lib/libname
).
See http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA for details.

the paul
- 8,972
- 1
- 36
- 53
-
Damn - I ignored usr/lib, because the samples are no libs! Thanks again ;). – Dennis Guse Jul 24 '13 at 21:06