[PD] pd-extended build on 9.10 feat. gem-0.92-1 error

IOhannes zmölnig zmoelnig at iem.at
Fri Oct 30 18:09:12 CET 2009


olsen wrote:

> g++ -o Gem.pd_linux      -shared -Wl,--export-dynamic  ./Objects/*.o
> -lmpeg3 -lstdc++ -lGLU -lGL -lXext -lXext -lX11 -ldl -lz -lm   -lpthread
> -L/home/olsen/pd/pd-extended/pure-data/pd/bin -laviplay -ldts -lm -lz
> -lMagick++ -lMagickCore
> /usr/bin/ld: cannot find -ldts
> collect2: ld returned 1 exit status
> make[2]: *** [Gem.pd_linux] Error 1
> 
> same i get on make with plain gem-0.92-1
> so this was present also in this thread:
> http://lists.puredata.info/pipermail/gem-dev/2007-12/003217.html
> following the workaround by removing the -ldts flag in Make.config helps
> in gem-0.92-1
> but in the extended built the -ldts flag conjures up on make install
> after removing it from the Make.config in the
> pd-extended/pure-data/Gem/src/Make.config
> 
>

the "-ldts" flag is pulled in from avifile's pkg-config.
this means, that properly linking against libavifile requires to also
link against libdts. unfortunately libavifile-dev does not depend on
libdts thus you get the error.

the solutions are:
- install libdts
- make libavifile's pkg-config not depend on libdts if it is not needed
or make the libavifile-dev package depend on libdts if it is needed.
obviously this is a packaging bug (cf.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492040; if you feel
this is correct and you feel it might help, you could as well file a bug
report to ubuntu)


fgm,asdr
IOhannes











´

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091030/0608adee/attachment.pgp>


More information about the Pd-list mailing list