From owner-freebsd-questions@FreeBSD.ORG Fri Jun 26 00:06:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3CF10656A3 for ; Fri, 26 Jun 2009 00:06:36 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 363E68FC17 for ; Fri, 26 Jun 2009 00:06:35 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4466975.home.otenet.gr [94.71.105.15]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5Q06XMf027211; Fri, 26 Jun 2009 03:06:34 +0300 Message-ID: <4A441109.3040308@otenet.gr> Date: Fri, 26 Jun 2009 03:06:33 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Markus Hoenicka References: <19012.105.500949.723890@yeti.mininet> In-Reply-To: <19012.105.500949.723890@yeti.mininet> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: xfburn fails with 'Undefined symbol "__malloc_lock"' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 00:06:37 -0000 Markus Hoenicka wrote: > Hi, > > I've upgraded my laptop from 6.4 to 7.2-RELEASE. Essentially > everything went fine, except that for some reason xfburn no longer > works. If I install a package using "portupgrade -f -PP", I see the > following at runtime: > > markus@yeti:/usr/home/markus# xfburn & > [1] 47214 > markus@yeti:/usr/home/markus# /libexec/ld-elf.so.1: /lib/libpthread.so.2: Undefined symbol "__malloc_lock" > > If I build xfburn in the ports tree, I get the following error at > compile time: > > /usr/bin/ld: warning: libcam.so.3, needed by /usr/local/lib/libburn.so, may conflict with libcam.so.4 > /lib/libpthread.so.2: undefined reference to `__malloc_lock' > > I assume that I somehow managed to botch the 6->7 upgrade, but would > anyone know how to fix this particular problem? > > regards, > Markus > Upgrading between major versions requires all installed ports to be rebuilt, so they get linked to the new versions of the libraries. I suppose you missed this step, older apps may still work but there is a problem installing new ones. Please see the instructions at the end of section 24.2.3 (portupgrade etc): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#FREEBSDUPDATE-UPGRADE These are still applicable even if you used the traditional source-based way of upgrading the base system (instead of freebsd-update) (AFAIR, if you upgraded via source, you will also need to run make delete-old-libs in /usr/src after successfully recompiling ports)