tarjei wrote:
> > $ gcc -o conftest conftest.c
> All I'm getting is "no such file or folder" :( Should I make the file
> as you stated above?
Yes, I saved the oneliner as conftest.c
> ...ok I did so :) Heres the output:
> [root@mail mod_midgard-1.4.1-5]# gcc -o conftest conftest.c -lmidgard
> /usr/bin/ld: cannot find -lmidgard
> collect2: ld returned 1 exit status
> [root@mail mod_midgard-1.4.1-5]# gcc -o conftest conftest.c
> /tmp/ccD7yS1N.o: In function `main':
> /tmp/ccD7yS1N.o(.text+0x7): undefined reference to `mgd_connect'
> collect2: ld returned 1 exit status
> [root@mail mod_midgard-1.4.1-5]#
It looks like your linker is confused somehow. I see this:
$ /sbin/ldconfig -p | grep midgard
libmidgard.so.5 (libc6) => /usr/local/lib/libmidgard.so.5
libmidgard.so (libc6) => /usr/local/lib/libmidgard.so
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]