unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile-2.0.pc misses a few dependency libraries
@ 2012-01-28 11:20 Eli Zaretskii
  2012-01-29 23:19 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2012-01-28 11:20 UTC (permalink / raw)
  To: guile-user

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, libguile-2.0.la 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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-31 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-28 11:20 guile-2.0.pc misses a few dependency libraries Eli Zaretskii
2012-01-29 23:19 ` Ludovic Courtès
2012-01-30 17:02   ` Mark H Weaver
2012-01-30 17:10     ` Ludovic Courtès
2012-01-31 16:57   ` Eli Zaretskii
2012-01-31 17:56     ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).