Hi Tuukka,

I have tried what you suggested and this is what I get:

/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libforms.so: undefined
reference to `_xstat'
collect2: ld returned 1 exit status 


So, apparently the system can find the library files, but the files
themselves seem corrupt. I will try to find another xform library.

Thanks,

Andre.



Tuukka Toivonen wrote:
> 
> On Mon, 4 Dec 2000, Andre Juffer wrote:
> 
> > Actually, the script comes to a nice end. There is no copy of a little
> 
> You can write easily test by hand:
>         cd /tmp
>         cat >test.c
>         main() {}
> [ctrl-D]
>         gcc test.c -L/usr/X11R6/lib -lX11 -lforms -lm
> In my system the above compiles fine and I get
> s-inf-pc24 /tmp> ldd a.out
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4001c000)
>         libforms.so.0.89 => /usr/lib/libforms.so.0.89 (0x400c0000)
>         libm.so.6 => /lib/libm.so.6 (0x401a4000)
>         libc.so.6 => /lib/libc.so.6 (0x401c1000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Try if it works when you add -L/usr/local/lib to the gcc line above. If
> not, try if
>         gcc koe.c -L/usr/X11R6/lib -lX11 -lm /usr/lib/libforms.so.0.88
> works.
> 
> > lrwxrwxrwx    1 root     sys            31 Dec  4  2000 libforms.so ->
> > /usr/local/lib/libforms.so.0.88
> > -rw-r--r--    1 root     sys        536303 Dec  4  2000 libforms.so.0.88
> 
> You could try
>         ln -s libforms.so.0.88 libforms.so.0
> althought I doubt it helps anything.

-- 
Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
    the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW:
http://www.biochem.oulu.fi/research.html

Reply via email to