Jean-Marc Lasgouttes wrote:
>
> >>>>> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes:
>
> Garst> It now makes .so stuff, but lyx says it cannot find it. I can
> Garst> create a symlink libxforms.a to libforms.a and it will
> Garst> statically link, but doing the same with libforms.so does not
> Garst> work. Looks like either the .so stuff is not complete or
> Garst> configure is doing not the right test. No big deal here. Just
> Garst> FYI. Garst
>
> Did you run ldconfig after installing?
Yes
What does config.log say about
> this?
>
> JMarc
configure:2985: result: xforms
configure:11553: checking for fl_initialize in -lforms
configure:11580: g++ -o conftest -O -fno-rtti -fno-exceptions -W -Wall
-isystem
/usr/X11R6/include conftest.cc -lforms -lSM -lICE -liberty -lc -lm
-L/usr/
X11R6/lib -lX11 >&5
/usr/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData'
/usr/lib/libforms.so: undefined reference to `jpeg_read_scanlines'
/usr/lib/libforms.so: undefined reference to `XpmFreeAttributes'
/usr/lib/libforms.so: undefined reference to `jpeg_set_defaults'
/usr/lib/libforms.so: undefined reference to `glXQueryExtension'
/usr/lib/libforms.so: undefined reference to `jpeg_start_decompress'
/usr/lib/libforms.so: undefined reference to `glXMakeCurrent'
/usr/lib/libforms.so: undefined reference to `jpeg_write_marker'
/usr/lib/libforms.so: undefined reference to `jpeg_destroy_decompress'
/usr/lib/libforms.so: undefined reference to `jpeg_std_error'
/usr/lib/libforms.so: undefined reference to `jpeg_CreateDecompress'
/usr/lib/libforms.so: undefined reference to `XpmAttributesSize'
/usr/lib/libforms.so: undefined reference to `glXChooseVisual'
/usr/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
/usr/lib/libforms.so: undefined reference to `glXDestroyContext'
/usr/lib/libforms.so: undefined reference to `jpeg_set_marker_processor'
/usr/lib/libforms.so: undefined reference to `jpeg_read_header'
/usr/lib/libforms.so: undefined reference to `jpeg_start_compress'
/usr/lib/libforms.so: undefined reference to `jpeg_destroy_compress'
/usr/lib/libforms.so: undefined reference to `jpeg_finish_decompress'
/usr/lib/libforms.so: undefined reference to `jpeg_stdio_src'
/usr/lib/libforms.so: undefined reference to `jpeg_CreateCompress'
/usr/lib/libforms.so: undefined reference to `jpeg_finish_compress'
/usr/lib/libforms.so: undefined reference to `jpeg_set_quality'
/usr/lib/libforms.so: undefined reference to `jpeg_stdio_dest'
/usr/lib/libforms.so: undefined reference to `XpmLibraryVersion'
/usr/lib/libforms.so: undefined reference to `jpeg_write_scanlines'
/usr/lib/libforms.so: undefined reference to `glXCreateContext'
collect2: ld returned 1 exit status
configure:11583: $? = 1
configure: failed program was:
#line 11561 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize ();
int
main ()
{
fl_initialize ();
;
return 0;
}
configure:11600: result: no
configure:11605: checking for fl_initialize in -lxforms
configure:11632: g++ -o conftest -O -fno-rtti -fno-exceptions -W -Wall
-isystem
/usr/X11R6/include conftest.cc -lxforms -lSM -lICE -liberty -lc
-lm -L/usr
/X11R6/lib -lX11 >&5
/usr/bin/ld: cannot find -lxforms
---------------------
-bash$ cd /usr/lib
bash$ ls -l *forms*
lrwxrwxrwx 1 root root 13 Apr 8 06:00 libforms.a ->
libforms.a.99
-rw-r--r-- 1 root root 682434 Jul 22 2001 libforms.a.88
-rw-r--r-- 1 root root 971280 Jul 12 2000 libforms.a.89
-rw-r--r-- 1 root root 1080056 Apr 7 01:00 libforms.a.99
lrwxrwxrwx 1 root root 18 Apr 8 06:00 libforms.so ->
libforms.so.0.9999
lrwxrwxrwx 1 root root 18 Apr 8 06:00 libforms.so.0 ->
libforms.so.0.9999
-rw-r--r-- 1 root root 536078 Oct 14 1999 libforms.so.0.88
-rw-r--r-- 1 root root 887061 Jul 25 2001 libforms.so.0.89
-rwxr-xr-x 1 root root 910865 Apr 7 01:00
libforms.so.0.9999
------------------
bash$ cd ../include
bash$ ls -l *forms*
lrwxrwxrwx 1 root root 10 Apr 8 06:01 forms.h ->
forms.h.99
-rw-r--r-- 1 root root 100368 Jun 26 2000 forms.h.88
-rw-r--r-- 1 root root 128724 Jun 26 2000 forms.h.89
-r--r--r-- 1 root root 129586 Apr 7 01:00 forms.h.99
bash$