Will look into it as soon as possible.

Thanks

Carlo


On Sat, 5 May 2007, Matej Vela wrote:

Package: pgplot5
Version: 5.2.2-9
Severity: serious
Justification: Policy 10.2

I'm trying to build wip without extraneous dependencies, as discussed in
<http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>.
Here's what I get if I remove `-lpng', which is not used by wip itself:

   gcc -O2  -o /home/mvela/deb/wip/wip-2p3/wip wipmain.o 
/home/mvela/deb/wip/wip-2p3/libwip.a  -lcpgplot -lpgplot -ledit -lm
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_set_PLTE'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_init_io'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_set_text'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_set_tRNS'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_create_info_struct'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_write_info'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_create_write_struct'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_set_IHDR'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_write_end'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_write_row'
   /usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/libpgplot.so: undefined 
reference to `png_destroy_write_struct'
   collect2: ld returned 1 exit status

This violates Policy section 10.2:

   Although not enforced by the build tools, shared libraries must be
   linked against all libraries that they use symbols from in the same
   way that binaries are.  This ensures the correct functioning of the
   shlibs system and guarantees that all libraries can be safely opened
   with `dlopen()'.  [...]

Thanks,

Matej




--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498            Fax: 312.567.3494
[EMAIL PROTECTED]    http://www.iit.edu/~segre    [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to