W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2002

Re: statically linking on Linux

From: Richard Atterer <libwww@list02.atterer.net>
Date: Mon, 30 Dec 2002 14:32:18 +0100
To: www-lib@w3.org
Message-ID: <20021230133218.GA998@nenya.lan>

On Mon, Dec 30, 2002 at 12:08:56AM +0100, Timothee Besset wrote:
> Does anyone have successful experience statically linking against libwww
> on Linux? Any particular pitfalls to avoid? I have everything working
> fine with dynamic linking, but static linking is giving me a hard time.

Well, what errors do you get? And what command do you use for linking?

Are the static libs present in the directory output by
"libwww-config --libs"?

For example, on my machine it prints out "-L/usr/lib -lwwwzip -lwwwinit 
..." and /usr/lib/libwwwzip.a etc. is present.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯
Received on Monday, 30 December 2002 09:27:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:43 GMT