Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 01:46:24 GMT
From:      jimd@siu.edu
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47129: sawfish2-1.2.1_2 make fails with Shared object "libgdbm.so.2" not found
Message-ID:  <200301160146.h0G1kOAZ023720@ws180131.56kdialup.siu.edu>

next in thread | raw e-mail | index | archive | help

>Number:         47129
>Category:       ports
>Synopsis:       sawfish2-1.2.1_2 make fails with Shared object "libgdbm.so.2" not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 15 23:50:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     J.D.
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ws180131.56kdialup.siu.edu 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Fri Nov 1 13:27:39 CST 2002 jimd@ws180053.56kdialup.siu.edu:/usr/src/sys/compile/XSYSTEM i386

# New ports collection makefile for: gdbm
# Date created:         8 Apr 1996
# Whom:                 Brent J. Nordquist <bjn@visi.com>
#
# $FreeBSD: ports/databases/gdbm/Makefile,v 1.18 2003/01/03 08:16:54 ijliao Exp $
#

PORTNAME=       gdbm
PORTVERSION=    1.8.3
CATEGORIES=     databases


pkg_info|grep gdbm
gdbm-1.8.3          The GNU database manager
freebsd2/ttyp0/jimd: ldconfig -r|grep gdbm
	102:-lgdbm.3 => /usr/local/lib/libgdbm.so.3


	
>Description:
	Attempting to make port sawfish2-1.2_1,2 fails with errors about using GMAKE instead
	of MAKE, and an older GDBM library than is current.


	make
	===>  Extracting for sawfish2-1.2_1,2
	>> Checksum OK for gnome2/sawfish-1.2-gtk2.tar.bz2.
	===>   sawfish2-1.2_1,2 depends on file: /usr/X11R6/libexec/rep/i386-pc-freebsd4/gui/gtk-2/gtk.so - found
	===>   sawfish2-1.2_1,2 depends on executable: gmake - found
	===>   sawfish2-1.2_1,2 depends on shared library: rep.12 - found
	===>   sawfish2-1.2_1,2 depends on shared library: Xft2.2 - found
	===>   sawfish2-1.2_1,2 depends on shared library: X11.6 - found
	===>  Patching for sawfish2-1.2_1,2
	===>  Applying FreeBSD patches for sawfish2-1.2_1,2
	===>  Configuring for sawfish2-1.2_1,2
	creating cache ./config.cache
	checking host system type... i386-pc-freebsd4
	checking for gcc... cc
	checking whether the C compiler (cc -O -pipe  ) works... yes
	checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
	checking whether we are using GNU C... yes
	checking whether cc accepts -g... yes
	checking how to run the C preprocessor... cc -E
	checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
	checking whether ln -s works... yes
	checking whether gmake sets ${MAKE}... yes
	checking whether cc needs -traditional... no
	checking for xdr_void in -lnsl... no
	checking for bind in -lsocket... no
	checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
	checking for dnet_ntoa in -ldnet... no
	checking for dnet_ntoa in -ldnet_stub... no
	checking for gethostbyname... yes
	checking for connect... yes
	checking for remove... yes
	checking for shmat... yes
	checking for IceConnectionNumber in -lICE... yes
	checking for ANSI C header files... yes
	checking whether time.h and sys/time.h may both be included... yes
	checking for sys/wait.h that is POSIX.1 compatible... yes
	checking for fcntl.h... yes
	checking for sys/time.h... yes
	checking for sys/utsname.h... yes
	checking for unistd.h... yes
	checking for memory.h... yes
	checking for X11/SM/SMlib.h... yes
	checking for X11/extensions/Xdbe.h... yes
	checking for XineramaQueryScreens in -lXinerama... yes
	checking for X11/extensions/Xinerama.h... yes
	checking for pkg-config... /usr/local/bin/pkg-config
	checking for xft >= 1.0... yes
	checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include  
	checking XFT_LIBS... -L/usr/X11R6/lib -L/usr/local/lib -lXft2 -lfreetype -lXext -lXrender -lfontconfig  
	checking for X11/Xft/Xft.h... yes
	checking for rep - version >= 0.14... version 0.16.1
	checking for GNU msgfmt... /usr/local/bin/msgfmt
	checking for rep-gtk >= 0.17... yes
	checking for gdk_pixbuf (xlib version)... checking for gdk-pixbuf-xlib-2.0 >= 1.3.12... yes
	checking GDK_PIXBUF_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/gtk-2.0  
	checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv  
	checking for pkg-config... (cached) /usr/local/bin/pkg-config
	checking for GTK+ - version >= 1.3.12... yes (version 2.0.9)
	checking for audiofile >= 0.2.3... yes
	checking AUDIOFILE_CFLAGS... -I/usr/local/include  
	checking AUDIOFILE_LIBS... -L/usr/local/lib -laudiofile -lm  
	checking for esound >= 0.2.23... yes
	checking ESD_CFLAGS... -I/usr/local/include  
	checking ESD_LIBS... -L/usr/local/lib -lesd -laudiofile -lm  
	checking for malloc_get_state... no
	checking for malloc_set_state... no
	checking for GNOME prefix... ${prefix}
	checking for working const... yes
	checking for inline... inline
	checking whether byte ordering is bigendian... no
	checking for size_t... yes
	checking for working alloca.h... no
	checking for alloca... yes
	checking for vprintf... yes
	checking for gethostname... yes
	checking for socket... yes
	checking for snprintf... yes
	checking for getpagesize... yes
	checking for languages to install... am az be bg bs ca cs da de el en_GB es et eu fi fr ga gl hu it ja ko lv ms nl nn no pl pt pt_BR ro ru sk sl sv tr uk vi wa zh_CN zh_TW
	updating cache ./config.cache
	creating ./config.status
	creating src/Makefile
	creating lisp/Makefile
	creating scripts/Makefile
	creating themes/Makefile
	creating lisp/sawfish/ui/Makefile
	creating lisp/sawfish/gtk/Makefile
	creating sounds/Makefile
	creating man/Makefile
	creating po/Makefile
	creating Makedefs
	creating Makefile
	creating sawfish.spec
	creating capplet/Makefile
	creating config.h
	configure: warning: You need to use GNU Make when compiling sawfish
	===>  Building for sawfish2-1.2_1,2
	/bin/sh build-info i386-pc-freebsd4 1.2-gtk2 \
	  '/usr/X11R6/share/sawfish' '/usr/X11R6/share/sawfish/1.2/lisp' '/usr/X11R6/libexec/sawfish/1.2/i386-pc-freebsd4' '/usr/X11R6/share/locale'
	  repdoc DOC `find . \( -name '*.c' -o -name '*.jl' \) -print`
	  /usr/libexec/ld-elf.so.1: Shared object "libgdbm.so.2" not found
	  gmake: *** [DOC] Error 1
	  *** Error code 2

	  Stop in /usr/ports/x11-wm/sawfish2.

	
>How-To-Repeat:
	recompile
	
>Fix:
	Add manual link in library directory for "missing" libgdbm.so.2:

	ws180131/ttyp5/root: cd /usr/local/lib
	ws180131/ttyp5/root: ll *gdbm*
	-rw-r--r--  1 root  wheel  34326 Jan 12 04:06 libgdbm.a
	lrwxrwxr-x  1 root  wheel     12 Jan 12 04:06 libgdbm.so -> libgdbm.so.3
	-rwxr-xr-x  1 root  wheel  23421 Jan 12 04:06 libgdbm.so.3
	ws180131/ttyp5/root: ln -s libgdbm.so.3 libgdbm.so.2
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301160146.h0G1kOAZ023720>