Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 11:32:25 -0500 (EST)
From:      "Timothy R. Geier" <tgeier@acsmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48463: Gringotts port does not build due to linker error.
Message-ID:  <200302191632.h1JGWPXS009482@phoenix.acsmail.com>

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

>Number:         48463
>Category:       ports
>Synopsis:       Gringotts port does not build due to linker error.
>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 Feb 19 08:40:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Timothy R. Geier
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD phoenix.acsmail.com 4.7-RELEASE FreeBSD 4.7-RELEASE #16: Wed Jan 8 09:30:16 EST 2003 root@phoenix.acsmail.com:/usr/src/sys/compile/PHOENIX i386

>Description:

	When building gringotts 1.2.3, the following error messages occur when attempting to link the program:

cc  -O -pipe -march=pentiumpro   -o gringotts  gringotts.o grg_widgets.o  grg_entries.o grg_list.o grg_menus.o  grg_prefs.o grg_prefs_io.o grg_pwd.o  grg_safe.o grg_recent_dox.o grg_popt.o  grg_pix.o grg_attachs.o grg_fileutils.o -lpopt -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft2 -lfreetype -lXext -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -L/usr/local/lib -lgringotts -L/usr/local/lib  -liconv
/usr/libexec/elf/ld: cannot find -lXft2
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3/src.
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3.
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3.
*** Error code 1

Stop in /usr/ports/security/gringotts.

Adding flags such as "-L/usr/local/lib/compat/pkg" have no effect.  Neither does adding directories to the environment variable LD_LIBRARY_PATH.  

ldconfig -r | grep "Xft" produces

	153:-lXft.2 => /usr/X11R6/lib/libXft.so.2
        459:-lXft2.2 => /usr/local/lib/compat/pkg/libXft2.so.2
        460:-lXft.1 => /usr/local/lib/compat/pkg/libXft.so.1

Yet, changing the -l flag to any of these produces the same results.


>How-To-Repeat:

	Attempt to build gringotts version 1.2.3 port with all other ports (including the dependencies of gringotts) updated.

>Fix:

	The makefile can be changed to link with "-lXft", which does compile an executable.  This executable, however, segfaults and core dumps upon running.  
>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?200302191632.h1JGWPXS009482>