unix: tcl.pc lacks entry for own dso
Closed / Fixed3598298fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 12 years ago
Descriptionplain2012-12-24 07:59:02
the pkgconfig file generated by tcl only contains -l entries for dependencies ( i.e. -lz ), but not to libtcl.so itself
so when someone uses pkg-config --libs tcl to get the library dependencies, one does not actually get what is required to link to tcl.
# tcl pkg-config source file
prefix=
exec_prefix=
libdir=/lib
includedir=${prefix}/include
Name: Tool Command Language
Description: Tcl is a powerful, easy-to-learn dynamic programming language, suitable for a wide range of uses.
URL: http://www.tcl.tk/
Version: 8.6
Requires:
Conflicts:
Libs: -L${libdir} -ldl -lz -lpthread
Cflags: -I${includedir}
roflzplain2012-12-24 22:34:31
https://github.com/rofl0r/ixchat/commit/49b34d80e1c0b11bbbacc9724cd0b847c424be69 all in all i spent about 3 hours to work around tcl's retardedness. i'm quite frustrated. lines of code needed to detect the correct LDFLAGS for TCL: 30 lines of code needed to detect the correct LDFLAGS for python / perl: 2
dgpplain2014-10-23 13:55:20
Appears to be fixed in 8.6.2 (and 8.5.16)
Log in (anonymous is fine) to add a comment.