Compile error w/STATIC
Thu, 03 Jun 1999 21:16:40 -0500


I checked out fresh tree from CVS a few minutes ago. I submit
this in the hopes it'll help y'all.

Slackware 3.6

Compile crapped out, could not find -ldl so I went to
/abi/src/wp/main/unix and I commented out line 56 in the
Makefile, #STATIC_LDFLAGS = $(STATIC_FLAGS) and AbiWord
built a binary. It appears both AbiWord_s and AbiWord_d
are built. I copied the dictionary and icons directories
from abidistfiles (also just checked out).

Neither binary executes. A blank, gtk-grey box pops up
on the screen and I get at console:
bigdell:/home/torsten/abi/src/Linux_2.0.35_i386_OBJ/bin# ./AbiWord_d
Segmentation fault
bigdell:/home/torsten/abi/src/Linux_2.0.35_i386_OBJ/bin# ./AbiWord_s
Segmentation fault

Hehe. I do not want to debug this right now, I have to do
some homework. But it's definitely cute. :)

I don't have a static libdl.a library. I do have .so libraries.

just for reference:
bigdell:/home/torsten/abi/src/Linux_2.0.35_i386_OBJ/bin# locate libdl

and from ldconfig -p: (libc6) => /lib/ (ELF) => /usr/local/lib/ (libc5) => /lib/ (libc5) => /lib/

and finally for completion:
bigdell:/lib# ls -l libdl*
-rwxr-xr-x 1 root root 6612 Oct 24 1998*
lrwxrwxrwx 1 root root 10 May 13 00:07 ->*
lrwxrwxrwx 1 root root 14 May 13 00:07 ->*
-rwxr-xr-x 1 root root 5796 May 31 1998*
lrwxrwxrwx 1 root root 14 May 13 00:07 ->*

This archive was generated by hypermail 1.03b2.