Package: libossp-uuid16
Version: 1.6.2-1.3
Severity: normal

Dear Maintainer,

I discovered that postgress configure script fails to find required functions
in libossp-uuid, because shared libraries are allowed to have unresolved
symbols,
but applications - not. So the simple test program generated by
configure failed.

On illumos libossp-uuid needs at least libsocket.

So for portability it is desirable to link *library* with all requird
system libraries.

I'm sending you a (trivial) patch doing that.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libossp-uuid16 depends on:
ii  libc6       2.13-35
ii  libgcc1     1:4.7.1-7
ii  libstdc++6  4.7.1-7

libossp-uuid16 recommends no packages.

Versions of packages libossp-uuid16 suggests:
pn  uuid  <none>

-- no debconf information
Index: ossp-uuid-1.6.2/Makefile.in
===================================================================
--- ossp-uuid-1.6.2.orig/Makefile.in	2012-09-29 20:53:08.000000000 +0400
+++ ossp-uuid-1.6.2/Makefile.in	2012-09-29 21:06:24.183005853 +0400
@@ -112,7 +112,7 @@
 	@$(LIBTOOL) --mode=compile $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $<
 
 $(LIB_NAME): $(LIB_OBJS)
-	@$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \
+	@$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) $(LIBS) -rpath $(libdir) \
 	    -version-info `$(SHTOOL) version -l c -d libtool $(S)/uuid_vers.h`
 
 $(DCE_NAME): $(DCE_OBJS)

Reply via email to