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

Bug#610592: Resolve unresolved symbols in shared libraries



notfound 610592   1.0.6-1
found    610592 2:1.0.6-1
thanks

Matthias Klose <doko@ubuntu.com> (20/01/2011):
> Package: libxvmc
> Version: 1.0.6-1

Please file bugs with a proper version next time.

Attached, patch based on the current discussion about -ldl upstream:
  http://lists.x.org/archives/xorg-devel/2011-February/019469.html

KiBi.
From f433261aebfa1c96846c7c7ff410070c90dd79e3 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <kibi@debian.org>
Date: Sun, 6 Mar 2011 04:18:06 +0100
Subject: [PATCH] Fix missing linking dependency on -ldl.

Signed-off-by: Cyril Brulebois <kibi@debian.org>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6a904dd..743f0f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,9 @@ AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions]))
 		  
 XORG_CHECK_MALLOC_ZERO
 
+# Function dl() comes from the C library or -ldl
+AC_SEARCH_LIBS([dlopen], [dl])
+
 dnl Allow checking code with lint, sparse, etc.
 XORG_WITH_LINT
 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
-- 
1.7.4.1

Attachment: signature.asc
Description: Digital signature


Reply to: