W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

problems using libwww-config

From: Nikolaj G. <damn_you_alexis@yahoo.com>
Date: Sun, 30 Sep 2001 14:36:27 +0000
Message-ID: <3BB72DEB.11C9AC0C@yahoo.com>
To: www-lib@w3.org
Hi. I just installed libwww5.3.2. An try to compile and run one of the
first sample programs:


// test.c:

#include "WWWLib.h"

int main()
{
    HTLibInit("TestApp", "1.0");
    HTLibTerminate();
    return 0;
}


Im using libwww-config as 

  gcc -o test `libwww-config --cflags` test.c `libwww-config --libs`

, but when I run

./test: error while loading shared libraries: libwwwxml.so.0: cannot
open shared object file: No such file or directory


The --libs and --cflags:

[root@localhost bin]# libwww-config --libs
-L/usr/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp
-lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp
-lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore
-lwwwutils -lmd5 -ldl

[root@localhost bin]# libwww-config --cflags
-I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H



Thanks in advance. nikolaj, copenhagen, denmark
Received on Sunday, 30 September 2001 08:32:38 GMT

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