Re: [gnet] Problem!!!



What OS are you using?  Are you using GNet 1.1.0?  Could you run
'gnet-config --cflags' and gnet-config --libs'?

CVS gnomeicu compiles fine for me.  I'm running Debian woody Linux.

David

[CC'ing Olivier since he first mentioned problems with Gnet configuration]


On Fri, 28 Dec 2001, Marcelo Taube wrote:

> I'm trying to install a programm that uses gnet. (gnomeicu)
>
> but the configure script of that programm says it cannot find gnet.
> I know it is there because I downloaded, compiled and installed gnet-1.1.0
>
> I have isolated the problem.
>
> Look what I did:
>
> I created a file test.c like this:
> --------------start of test.c -----------------
> int main() {
>
>
> }
> ---------------end of test.c -------------------
>
> then I did the following:
>
> [root marcelot /test]# gcc test.c `gnet-config --cflags --libs` -o test
> /lib/libresolv.so.2: undefined reference to `atexit'
> collect2: ld returned 1 exit status
> [root marcelot /test]#
>
>
> This is completly strange!!!!!!
> Don't ask know why but I also did the following:
>
> [root marcelot /test]# gcc test.c `gnet-config --cflags --libs` -lresolv -o
> test
> [root marcelot /test]# ./test
> ./test: error while loading shared libraries: libgnet-1.1.so.0: cannot open
> shared object file: No such file or directory
> [root marcelot /test]#
>
> WANT MORE INFORMATION:
>
> [root marcelot /test]# ldd test
>         libgnet-1.1.so.0 => not found
>         libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4002b000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40050000)
>         libc.so.6 => /lib/libc.so.6 (0x40062000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> [root marcelot /test]#
>
> [root marcelot /test]# ldconfig -p | grep "gnet"
>         libgnet.so (libc6) => /usr/local/lib/libgnet.so
>         libgnet-1.1.so.0 (libc6) => /usr/local/lib/libgnet-1.1.so.0
> [root marcelot /test]#
>
>
> HELP ME PLEASE!!!!
> why can't I complile any programm that uses gnet?
>
> Thank u for any help!!
> Marcelo
> _______________________________________________
> gnet mailing list
> gnet gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet
>

-- 
      __          _    __ David Helder - dhelder umich edu
  ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
 / _  / _ `/ |/ / / _  /  Jungle Monkey: <http://www.junglemonkey.net>
 |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>






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