problems using libwww-config

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 UTC