pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35617: shared library (e.g., libgdal.so) not built/installed



>Number:         35617
>Category:       pkg
>Synopsis:       shared library (e.g., libgdal.so) not built/installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 15 18:55:00 +0000 2007
>Originator:     Brook Milligan
>Release:        NetBSD 3.0
>Organization:
Brook Milligan                         Internet:  brook%nmsu.edu@localhost
Department of Biology
New Mexico State University            Telephone:  (505) 646-7980
Las Cruces, New Mexico  88003  U.S.A.  FAX:        (505) 646-5665
>Environment:
        
        
System: NetBSD viola.nmsu.edu 3.0 NetBSD 3.0 (VIOLA) #0: Mon May 15 21:08:52 
MDT 2006 
root%trillium.aquilegia.com@localhost:/usr/src/sys/arch/i386/compile/VIOLA i386
Architecture: i386
Machine: i386
>Description:
        The gdal-lib package is intended to build and install the gdal
libraries for use by other packages.  Currently, the package builds
and installs libgdal.a and libgdal.la, but does not build or install
the (non-libtool) shared libraries such as libgdal.so.  Consequently,
dependent packages fail because they cannot link to the shared
library.
>How-To-Repeat:
        Install the gdal-lib package and observe that no
lib/libgdal.so file exists.  During the build, observe a warning
message from libtool stating that a shared library cannot be built
because of undefined symbols.
>Fix:
        Add the following patch to the set of patches for the package
to allow shared libraries to be built even with undefined symbols.
This enables the shared libraries to be built and installed.
Additionally, dependent packages now work fine.

$NetBSD$

--- GNUmakefile.orig    2005-09-16 09:47:29.000000000 -0600
+++ GNUmakefile 2007-02-14 10:20:15.000000000 -0700
@@ -43,7 +43,6 @@
 $(LIBGDAL):    $(GDAL_OBJ:.o=.lo)
        $(LD) $(LIBS) -o $@ $(GDAL_OBJ:.o=.lo) \
            -rpath $(INST_LIB) \
-           -no-undefined \
            -version-info $(LIBGDAL_CURRENT):$(LIBGDAL_REVISION):$(LIBGDAL_AGE)
 
 check-lib:     port-target core-target frmts-target ogr-target

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index