[ale] perl 5.003 and gdbm

Eric eric at compgen.com
Fri Aug 2 12:18:33 EDT 1996

Hmm.  I have the same distribution and there is no target to compile a
shared library.

If you are using ELF libraries, then  you can make a shared library
pretty easily.  Add this target after libgdbm.a in the Makefile in that
directory (I had to do a make clean first)

libgdbm.so: $(OBJS) gdbm.h
        rm -f libgdbm.so
        gcc -shared -o libgdbm.so $(OBJS)

I believe that you can then just copy libgdbm.so to libgdbm.so.1  and
put it where you like.

If you are using a.out, you'd best find a pre-compiled version
of libgdbm somewhere.


plr10 at duts.ccc.amdahl.com writes:
 > 	I just tried to run perl 5.003 and got an error message 
 > indicating that it couldn't find libgdbm.so.1.  So, I got the gdbm 
 > package (gdbm-1.7.3.tar.gz) from prep.ai.mit.edu and installed it.  
 > However, it only created libgdbm.a.  Does anyone know what I did wrong or 
 > how I get libgdbm.so.1 generated?
 > 					thanx,
 > 					philip

More information about the Ale mailing list