"R. Lahaye" wrote:
> 
> : In lib/Makefile, I had to add "-ljpeg -L/usr/X11R6/lib -lXpm" to the
> : shared library build, otherwise libforms.so had missing symbols:
> :
> :       (cd .; $(CC) -o ./$@~ $(SHLIBLDFLAGS) -Wl,-soname,$$SONAME $(OBJS)
> $(REQUIREDLIBS) -lc -ljpeg -L/usr/X11R6/lib -lXpm); \

I had to add -lGL also.
I made the demos shared, and they now work that way.
LyX now gets through configure OK.

> :
> : Similarly, fdesign and fd2ps builds had to link to the new libforms.so
> : library by adding "-L../lib" :
> :
> :       $(CCLINK) -o $@ -L../lib $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES)
> $(LDLIBS)  $(EXTRA_LOAD_FLAGS)
> :
> : There are probably cleaner ways to accomplish this.
I'm sure the xforms folks will get it right eventually.
Garst

Reply via email to