[GiNaC-list] re uindefined reference to cln

Jens Vollinga jens.vollinga at googlemail.com
Fri Aug 26 14:24:19 CEST 2011


Hi,

On 26.08.2011 14:02, Tamas Istvan wrote:
> Attached the config.log file.

-lcln is missing from your link command because your pkg-config doesn't 
work.
In your config.log the command for pkg-config is set to /bin/true ! Not 
good.

To find the reason you can try the following things:

Issue the command

pkg-config cln --libs

and see what happens. It should give -lcln as an answer.

If the command is not found -> repair your pkg-config installation.
If the command says it doesn't know about cln -> check your 
PKG_CONFIG_PATH variable and where cln.m4 is installed. BTW, did you 
compile cln yourself or is it a binary package from your distribution?

In any case, after a new configuration of GiNaC look in config.log for 
the line PKG_CONFIG='... and if you find a path to pkg-config there, 
then everything should be fine. Otherwise, please complain again!

Regards,
Jens


More information about the GiNaC-list mailing list