[semi OT] FreeBSD: undefined reference to 'environ' in libkio.so

Harri Porten porten at froglogic.com
Thu Jul 7 22:12:41 BST 2005


On Thu, 7 Jul 2005, Alexander Neundorf wrote:

> when linking libkio I get a undefined reference to 'environ' in
> kurlcompletion.cpp. This is on FreeBSD 5.4.
> I compile with -Wl,--no-undefined.
> Where should 'environ' come from ?

Should be defined in libc.

> Or is it ok, that it is undefined in a
> shared library (libkio) ?

Harri.





More information about the kde-core-devel mailing list