[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-2.0.pc misses a few dependency libraries

From: Eli Zaretskii
Subject: guile-2.0.pc misses a few dependency libraries
Date: Sat, 28 Jan 2012 13:20:21 +0200

When statically linking programs against libguile-2.0.a, I get
unresolved externals.  This is on MS-Windows, but I don't think this
is related to the problem.

I finally traced that to the contents of guile-2.0.pc file:

  Libs: -L${libdir} -lguile-2.0 -Ld:/usr/lib -lgc  
  Libs.private:  d:/usr/lib/libgmp.dll.a -Ld:/usr/lib d:/usr/lib/libltdl.dll.a 
-Ld:/usr/lib -lffi    -lregex -lcrypt -lws2_32 -lm 

However, shows more dependency libraries:

  dependency_libs=' -lgc -lffi -lunistring -liconv -lregex -lintl -liconv -lgmp 
-ltdl -lregex -lintl -lwsock32 -lole32 -luuid -lmsvcp60 -lcrypt -lws2_32'

As you see, quite a few libraries are missing from guile-2.0.pc, and
also a several libraries need to appear more than once in the link
command line.

Why doesn't the Guile build process put all of the libraries in the
.pc file?

I could easily work around this by editing guile-2.0.pc manually, but
isn't this supposed to happen automatically?

Any help would be appreciated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]