Compile error w/STATIC

torsten@inetw.net
Thu, 03 Jun 1999 21:16:40 -0500


Hello,

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

System:
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
/lib/libdl-2.0.7.so
/lib/libdl.so
/lib/libdl.so.1
/lib/libdl.so.1.9.9
/lib/libdl.so.2
/usr/home/torsten/.src/gs5.50/libpng/scripts/zlibdll.mak
/usr/i486-sysv4/lib/libdl.so.1
/usr/local/jdk-1.1.7/lib/i486/green_threads/linuxlibs/libdl.so.1
/usr/local/jre-1.1.7/lib/i486/green_threads/linuxlibs/libdl.so.1
bigdell:/home/torsten/abi/src/Linux_2.0.35_i386_OBJ/bin#

and from ldconfig -p:
libdl.so.2 (libc6) => /lib/libdl.so.2
libdl.so.1 (ELF) => /usr/local/lib/libdl.so.1
libdl.so.1 (libc5) => /lib/libdl.so.1
libdl.so (libc5) => /lib/libdl.so

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



This archive was generated by hypermail 1.03b2.