Tomi Ollila <tomi.ollila at iki.fi> writes: > > Actually my suggestion would be that if that pkg-config line for > zlib does not work (btw why does it not work)
I guess because FreeBSD (and maybe other systems) have a distinction between the "base system" and "add on packages" and pkg-config only works for the latter > try an option > where zlib_cflags is expected to be empty and and zlib_ldflags -lz > -- and try compile and run test program with those options > then the test program is something like > > int main(void) > { > return(ZLIB_VERNUM >= 0x1252); > } OK, that sounds like it could work. Ideally, somebody on FreeBSD could check... d