location of libraries etc
hello,
I am preparing mpqc-packages (see #116157, packages avaiable at
http://people.debian.org/~mbanck/debs/ )
The package features quite some libraries, I split them up
into two logical parts, but I'm hesitant where to put them, ie. under
/usr/lib or some directory /usr/lib/mpqc for example.
The problem is with the names, they look quit common, e.g. libcontainer,
libmisc, libref, liboptions...
So far, I've come across several solutions:
1. Convince upstream to rename them. Yuck, I haven't even contacted them
about this, they follow some strange file-hierachy-policies anyway, but
I could try.
2. Rename them myself to something like libsc_container, etc. This would
be very bad habit at least I guess.
3. Keep them in /usr/lib and hope that the packages get installed.
4. Dump them in /usr/lib/mpqc or perhaps /usr/lib/sc and /usr/lib/mpqc.
There is a sc-config program remotely similar to gtk-config ('sc-config
--cflags' outputs the flags libsc was compiled with rather than the flags
programs against libsc should be compiled with) which outputs the
library directory when called like 'sc-config --libs'.
Would the 'sc-config' program be sufficient or would I have to change
/etc/ld.so.conf (something I'd like to avoid)?
So, to the next matter: Should I hack sc-config to output the location
of the header files (currently under /usr/include/mpqc/*)? So far I know
of only one program that depends on mpqc and this one wants some
'target-dir' as argument to configure so I'd have to hack this one, too.
Dropping the headers directly under /usr/include would just result in
three directories: math, utils and chemistry, which wouldn't be very
beautiful either.
Oh, and another thing: dpkg-genchanges (I think) complains that the
source packages doesn't have a Section:. Is this a problem?
Thanks for any hints,
Michael
Reply to: