maserver: Dynamic libraries inside a program package
Hi,
I'm trying to package a program named maserver (
http://www.babichev.info/en/projects/maserver/index.html
), which is an audio streaming server for LAN and
internet.
The file structure resulting from install (with some
tweaks) is right now:
Configuration files:
etc/maserver/*
Binary:
usr/bin/maserver
Plugins:
usr/lib/maserver/*
Dynamic library:
usr/lib/maserver.so.1.0
Link to dynamic library:
usr/lib/maserver.so -> usr/lib/maserver.so.1.0
As well as usr/share/doc/*, usr/share/man/* and so.
When I do debuild, and lintian is run, i get the
following message:
Now running lintian...
E: maserver:
sharedobject-in-library-directory-not-actually-a-shlib
usr/lib/libmaserver.so.1.0
Finished running lintian.
I've been asking in IRC a bit, and they told me that
there shouldn't be a shared library in a program. I
can move to /usr/lib/maserver/* and that solves
lintian error, but the program wouldn't locate it in
runtime execution (unless i added a starting script
exporting where to look for dynamic libraries).
I don't think linking statically the dynamic library
is an opcion, because i feel that the plugins use it
as well as the program, and I'd finally have it in
every binary.
I've got my temporary packages in
http://156.35.156.136/inniyah/TMP/maserver/ in case
someone wants to see them, but those packages are not
functional out of the box yet, I still need to make
proper default configuration files, so please do not
try to run them yet. You can see my build results in
http://156.35.156.136/inniyah/TMP/maserver/maserver_0.8.1-1_i386.build
When I solve this problem, I'll probably have more
doubts about this package, as it is supposed to be a
daemon, but I'll go step by step. I'm trying to learn
from this.
Any suggestions? Thanks in advance for your help.
Miry
______________________________________________
Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
Reply to: